[Q]rfc c library compile error
Hello!
I am establishing the IVR call to the SAP.
The IVR machine is SUNOS 5.6.
IVR should use the library, librfc.a,
but when I compile with this library,
I got the compile error like below.
The error message is
undefined first reference
symbol in file
select_large_fdset ./lib/librfc.a(cpictlib.o)
ld: fatal: Symbol referencing errors. No output written to saprfccl
I compiled with the below option,
/opt/SUNWspro/bin/cc -Xc -xcg92 -I ./include -L ./lib
saprfccl.c -o saprfccl -lrfc -lsocket -lnsl -ldl -lm -lw.
librfc.a is the library referencing the function, select_large_fdset.
but I don't have the program source because it is only provided as .a by the SAP.
It looks that the standard library in this OS version does not have this function, select_large_fdset,
according to my company technical support investigation.
Are there any ways to get the library with this function without server upgrades?
Thanks
Myoung Ju Youm
Thanks for your help.
librfc.a is provided by SAP.
I put this library in ./lib directory.
and used the -L option to link with it.
Anyway I put this path to LD_LIBRARY_PATH,
but it is same.
The problem is
that librfc.a is referencing the function, select_large_fdset.
This function is normally in the standard c library, libc.so.
But because the SUNOS that I am using is so low, ver.5.6,
libc.so in the standard c library does not have this function, select_large_fdset.
So my question is how can I use this library, librfc.a without the server upgrade to the upper version
that has the standard library that has function,select_large_fdset.
Is it not possible?
Please tell me yes.
Myoung Ju Youm
Similar Messages
-
Hello. I downloaded the RFC SDK for Windows (RFC_23-20000056.SAR) and I am attempting to compile some example code I found out on the Web. I am NOT a C+/C person so I am new to the build process and requirements for linking, etc.. I am using Bloodshed Dev-C+ to edit, compile and build and I am running into the following errors with 'undefined references' to RFC methods:
++++++++++ LOG OUTPUT ++++++++++++++++++++++++++++++
Compiler: Default compiler
Building Makefile: "C:\DEV\RFC_Test_console\Makefile.win"
Executing make...
make.exe -f "C:\DEV\RFC_Test_console\Makefile.win" all
g+.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c/3.4.2/backward" -I"C:/Dev-Cpp/include/c/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c+/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/DEV/RFC_Test_console/rfcsdk/include"
g++.exe main.o -o "RFC_Test_console.exe" -L"C:/Dev-Cpp/lib" -L"C:/DEV/RFC_Test_console/rfcsdk/lib" rfcsdk/bin/librfc32.dll
main.o(.text+0x1ad):main.cpp: undefined reference to `ItCreate@16'
main.o(.text+0x203):main.cpp: undefined reference to `RfcOpen@4'
main.o(.text+0x23e):main.cpp: undefined reference to `RfcCall@16'
collect2: ld returned 1 exit status
make.exe: *** [RFC_Test_console.exe] Error 1
Execution terminated
+++++++++++++ END LOG OUTPUT +++++++++++++++++++++++++
I have my Dev-C++ project include directory set to ..\rfcsdk\include and my project lib directory set to ..\rfcsdk\lib.
Here is my code:
#include <cstdlib>
#include <iostream>
#include <vector>
#include "saprfc.h"
#include "sapitab.h"
using namespace std;
int main(int argc, char *argv[])
static RFC_ENV new_env;
static RFC_OPTIONS rfc_opt;
static RFC_CONNOPT_R3ONLY rfc_connopt_r3only;
static RFC_PARAMETER exporting[1];
static RFC_PARAMETER importing[1];
static RFC_TABLE tables[1];
RFC_HANDLE handle;
RFC_RC rc;
char * exception_ptr;
ITAB_H ltab;
char lst[100];
char * lpt;
int line, lnr, len;
//Objects for data retrieval
struct apr_rule
int product_key_1;
int product_key_2;
double alpha_1;
double alpha_2;
double gamma;
std::string operation;
//std:: vector<apr_rule> APR_VEC;
rfc_opt.client = "003";
rfc_opt.user = "FRESINA";
rfc_opt.language = "EN";
rfc_opt.password = "init21";
rfc_opt.trace = 0;
rfc_opt.mode = RFC_MODE_R3ONLY;
rfc_opt.connopt = &rfc_connopt_r3only;
rfc_connopt_r3only.hostname = "ld1051.wdf.sap.corp";
rfc_connopt_r3only.sysnr = 9;
ltab = ItCreate( "BARMI", 100, 0, 0 );
importing[0].name = NULL;
exporting[0].name = NULL;
tables[0].name = "A";
tables[0].nlen = 1;
tables[0].type = TYPC;
tables[0].ithandle = ltab;
tables[0].leng = 100;
handle = RfcOpen( &rfc_opt );
if( handle == RFC_HANDLE_NULL )
return 1;
Install error handler
//new_env.allocate = NULL;
//new_env.errorhandler = rfc_error;
//RfcEnvironment (&new_env);
rc = RfcCall (handle,
cU("RFC_SYSTEM_INFO"),
exporting,
tables);
if (rc != RFC_OK)
//rfc_error (cU("RfcCall"));
return EXIT_SUCCESS;
Any ideas why this won't compile? I have also tried the sample code in the SDK (sapinfo.c) and this will not compile as it has an issue with the printfU() macro and a statement around '_MSC_VER'.
Thanks.
AnthonyHi,
This problem usually occurs when you are installing from an ISO build for a different architecture.
Windows SDK now have different ISO’s for different architectures. Please download the correct ISO based on your system platform and architecture type.
Karen Hu
TechNet Community Support -
When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
Compile error:
Object library invalid or contains references to object definitions that could not be found
Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)Hi Kwlee324,
Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
https://support.microsoft.com/kb/2703186
http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
TRIM() not found? Compile error: Can't find project or library in Excel 2007
I am preparing to make a few alterations to a spreadsheet that another person built. I have NOT made any changes to it yet.
They put in a button that allows portions of the worksheet to print. I am now using Excel 2007. Their code ran fine in 2003.
The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
TRIM is highlighted in the following code: (See below for the whole sub)
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
Analysis Toolpak and Analysis Toolpak-VBA. The sheet "Measurements" is present.
1) Are these the right packages for the TRIM function?
2) Is there a different Add-in that is needed?
3) Is there an additional step I must use to actually add in these packages?
4) Is there something else I should do?
Thanks-
Loralee
P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine. This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
Private Sub BtnPrint_Click()
Dim RowStarter As Integer 'Where to start checking rows for content
Dim RowCounter As Integer 'The current row being checked
Dim ColumnCounter As Integer 'The current column being checked
Dim PrintRowMarker As Long 'The last row with data
Dim PrintColumnMarker As Long 'The last column with data
Dim NoMoreData As Boolean 'Look for a blank record
Dim RangeValue As String 'Define the range string value
Dim EndRangeValue As String
PrintColumnMarker = 0
PrintRowMarker = 0 'Initialize the row printing marker
RowStarter = 5 'Print Starting Point
For RowCounter = 2005 To RowStarter Step -1
For ColumnCounter = 50 To 2 Step -1
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
Next ColumnCounter
If PrintRowMarker > 0 Then
End If
Next RowCounter
EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
RangeValue = "$A$1:" & EndRangeValue
Worksheets("Measurements").PageSetup.PrintArea = RangeValue
Worksheets("Measurements").PageSetup.PrintGridlines = True 'Turn on gridlines
Worksheets("Measurements").PrintPreview 'PRINT THAT PUPPY!
End SubAppears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
In VBA select menu item Tools - References.
Ensure that the following are checked:-
Visual Basic for Applications
Microsoft Excel 12.0 Object Library
OLE Automation
Microsoft Office 12.0 Object Library
It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
Regards, OssieMac -
Office Online 365 installed today January 20 on brand new HP Envy. Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.
Hi Jaime,
>> Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.
>> Compile error: Object library invalid or contains references to object definitions that could not be found
According to the error message, it seems some ActiveX control is not registered successfully on the new machine.
Would you mind telling us which ActiveX controls you used in the workbook?
>> For my applications Excel from Office 365 is now useless. Should I just let my subscription run out and purchase another version?
According to my experience, this issue is not related to the subscription.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Warning: Library created with compilation errors.
I am trying to run the following in SQLPlus logged in as
Portal30_SSO on the portal database server:
create or replace library auth_ext as 'C:\oracle\ora81
\bin\ssoxldap.dll';
commit;
When I run this it gives me the error:
Warning: Library created with compilation errors.
I am following the instructions from "Configuring Oracle9iAS
Portal for LDAP Authentication". I am running Oracle 8.1.7 and
OID on one W2K server and 9iAS on another W2K server. Any
suggestions on how to resolve this problem?Is there any solution about how to compile XDB.DBMS_XDBUTIL_INT package?
My XDB.DBMS_XDBUTIL_INT package gives the following error when compiled:
How can I recreate "XDB.DBMS_XDBUTIL_INT". Currently it does not compile, giving error :
LINE/COL ERROR
33/7 PL/SQL: SQL Statement ignored
34/14 PL/SQL: ORA-00942: table or view does not exist -
Compiler error: Missing JSP library?
Hi All,
I am really new at this, and I know that I'm making some sort of simple mistake.
I have an existing application running on a 9i middle tier. I want to make a couple of simple changes to a .JSP. So I downloaded the EAR file, loaded it into JDeveloper (10.1.3.0.4 SU4), made my changes and tried to run it locally. I got 241 compiler errors. So I reverted to the original EAR, and I still get 241 compiler errors.
The errors are:
Error(1,5): illegal forward reference
Error(1,14): duplicate definition of class _index
Error(1,48): HttpJsp not found in class _index
Error(1,62): method getPageContext(_index, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, null, boolean, int, boolean) not found in class javax.servlet.jsp.JspFactory
The code is:
<sample>
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public class _index extends oracle.jsp.runtime.HttpJsp {
public final String _globalsClassName = null;
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
response.setContentType( "text/html;charset=windows-1252");
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
return;
</sample>
So, I read the forums, etc and decided that I need ojsp.jar included in my project libraries. So I went to libraries under project properties, and I already have "Jsp Runtime" as my first library and it claims to include ojsp.jar. I've tried removing and re-adding the library, adding other libraries ("J2EE","Servlet Runtime","OC4J Deployment Plugin"...), and a dozen other things, none of which have allowed my to compile.
Any ideas on what I should do?
Stevenyou might need to post more code, but basically the
compiler is complaining because you do not have a
return statement at the end of your method.
if you do not have a return statement (with a matching
return type) then the compiler will complain. If you
don't understand this then post the code to your
method and we can get it fixed.
public String[] read(InputStream list) throws
Exception {
String[] stringArray;
return stringArray;
The code is the most complex I have written so far but here is some of it. (the begining and the end)
public String[] read(InputStream list) throws Exception {
if (list != null) {
String[] stringArray = null;
try {
while {
//add strings to string array
}//end of while
return stringArray;
}// end try
catch{
}//end of method -
Hello,
RFC SAP-OSS shows this error....
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: partner 'SAP-SOLMAN:sapdp99' not reached
Error Details LOCATION: SAP-Server SAP-SOLMAN_SOL_00 on host SAP-SOLMAN (wp 1)
Error Details DETAIL: NiPConnect2
Error Details CALL: connect
Error Details COMPONENT: NI (network interface)
Error Details COUNTER: 104
Error Details ERROR NUMBER: 10061
Error Details ERROR TEXT: WSAECONNREFUSED: Connection refused
Error Details MODULE: nixxi.cpp
Error Details LINE: 2845
Error Details RETURN CODE: -10
Error Details SUBRC: 0
Error Details RELEASE: 701
Error Details TIME: Fri Aug 26 10:25:45 2011
Error Details VERSION: 38
RFC SAPOSS shows this error...
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: partner '192.168.0.147:sapdp99' not reached
Error Details LOCATION: SAP-Server SAP-SOLMAN_SOL_00 on host SAP-SOLMAN (wp 1)
Error Details DETAIL: NiPConnect2
Error Details CALL: connect
Error Details COMPONENT: NI (network interface)
Error Details COUNTER: 112
Error Details ERROR NUMBER: 10061
Error Details ERROR TEXT: WSAECONNREFUSED: Connection refused
Error Details MODULE: nixxi.cpp
Error Details LINE: 2845
Error Details RETURN CODE: -10
Error Details SUBRC: 0
Error Details RELEASE: 701
Error Details TIME: Fri Aug 26 10:29:14 2011
Error Details VERSION: 38
We have done add these entries in saprouttab...
#SNC-connection to SAP
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
SNC-connection from SAP to local R/3-System for Support
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 203.123.135.84 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 203.123.135.84 3389
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.2 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.2 3389
outbound connections to <sapserv2> will use SNC
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 203.123.135.84 3299
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 3299
permission entries to check if connection is allowed at all
P 192.168.0.2 194.39.131.34 *
P 192.168.0.147 194.39.131.34 *
But Still not able to resolve this isse....
Please help
Thanks,
AbhaHi All,
SAPRouter is working fine but dev_rout files shows this
nihsl-init: alloc host/serv bufs (200/200 entries)
NiIInit: allocated nitab (811 entries at 01530048)
NiIInit: host-/servbuffer alreay initialized
SAP Network Interface Router, Version 37.11
Compiled Dec 5 2005 23:28:45
command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -V
command line arg 3: 2
command line arg 4: -K
command line arg 5: p:CN=SCLSAPDEV-SOL, OU=0001193985, OU=SAProuter, O=SAP, C=DE
service : 3299
routtab : ./saprouttab
plug-in : no plug-in
-argument: 'no argument'
clients : 800
max servers : 1
quelength : 1
maxheap : 20000000
timeoutL : 5000
tracefile : dev_rout
logfile : no logging active
portrange : no portrange active
local address : default address
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "C:\saprouter\ntintel\sapcrypto.dll".
load shared library (C:\saprouter\ntintel\sapcrypto.dll), hdl 0
using "C:\saprouter\ntintel\sapcrypto.dll"
File "C:\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
<<- SncInit()==SAP_O_K
sec_avail = "true"
<<- SncSetMyName()==SAP_O_K
in: myname = "p:CN=SCLSAPDEV-SOL, OU=0001193985, OU=SAProuter, O=SAP, C=DE"
NiSetParamEx: switch NIP_CONNLOCAL off
NiSetParamEx: Set UDS path to /tmp/.sapstream%d
NiIMyHostName: hostname = 'SCLSAPDEV-SOL'
main(): pid = 15960, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a SAProuter)
NiIInitSocket: set default settings for socket 360
NiCreateHandle: state hdl 1 / socket 360 NI_INITIAL
NiPBind: set option SOL_SOCKET-SO_REUSEADDR of socket 360 TRUE
NiSetStat: state hdl 1 NI_LISTEN
NiBufHdlInit: BufInit for hdl 1
NiIListen: listen for client requests on hdl 1
reading routtab: ./saprouttab
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '5631' = port 15.FF/5631
nihsi-getServNo: servicename '5631' = port 15.FF/5631
nihsi-getServNo: servicename '23' = port 00.17/0023
nihsi-getServNo: servicename '23' = port 00.17/0023
nihsi-getServNo: servicename '1503' = port 05.DF/1503
nihsi-getServNo: servicename '1503' = port 05.DF/1503
nihsi-getServNo: servicename '3389' = port 0D.3D/3389
ERROR => invalid token (168*) in IPadr-string, skip line 25 [nirout.cpp 8451]
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '3389' = port 0D.3D/3389
nihsi-getServNo: servicename '3200' = port 0C.80/3200
nihsi-getServNo: servicename '3389' = port 0D.3D/3389
nihsi-getServNo: servicename '3299' = port 0C.E3/3299
nihsi-getServNo: servicename '3299' = port 0C.E3/3299
Thanks,
Abha -
Compilation error while generating the form in linux
Hello everyone,
I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
$> frmcmp.sh userid=odin/odin@ontw10g module_ty
pe=form compile_all=yes module=LOGIN_SCHERM
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
FRM-18108: Failed to load the following objects.
Source Module:ofgwebol.olb
Source Object: CGSO$CHAR_DO
Source Module:ofgwebol.olb
Source Object: CGSO$CHAR_DO
Source Module:ofgwebol.olb
Source Object: CGSO$BLOCK
Source Module:ofgwebol.olb
Source Object: CGSO$CANVAS
Source Module:ofgwebol.olb
Source Object: CGSO$WINDOW
Compiling function CGTE$CHECK_CONSTRAINT_VIO...
No compilation errors.
Compiling procedure CGTE$INLOGGEN_ERRORS...
No compilation errors.
L/SQL ERROR 0 at line 17, column 3
Statement ignored
PL/SQL ERROR 201 at line 36, column 3
identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
PL/SQL ERROR 0 at line 36, column 3
Statement ignored
PL/SQL ERROR 201 at line 37, column 3
identifier 'CGNV$.NAV_OPENING_WND' must be declared
PL/SQL ERROR 0 at line 37, column 3
Statement ignored
Compiling KEY-HELP trigger on form...
No compilation errors.
Compiling WHEN-WINDOW-ACTIVATED trigger on form...
Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
PL/SQL ERROR 201 at line 6, column 8
identifier 'CGNV$GET_ITEM_WINDOW' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling POST-TEXT-ITEM trigger on form...
Compilation error on POST-TEXT-ITEM trigger on form:
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$.STORE_WND_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling WHEN-WINDOW-CLOSED trigger on form...
Compilation error on WHEN-WINDOW-CLOSED trigger on form:
PL/SQL ERROR 201 at line 5, column 3
identifier 'CGNV$.TERMINATE_WINDOW' must be declared
PL/SQL ERROR 0 at line 5, column 3
Statement ignored
Compiling WHEN-FORM-NAVIGATE trigger on form...
Compilation error on WHEN-FORM-NAVIGATE trigger on form:
PL/SQL ERROR 201 at line 3, column 3
identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
PL/SQL ERROR 0 at line 3, column 3
Statement ignored
Compiling KEY-EXIT trigger on form...
Compilation error on KEY-EXIT trigger on form:
PL/SQL ERROR 201 at line 5, column 3
identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
PL/SQL ERROR 0 at line 5, column 3
Statement ignored
PL/SQL ERROR 201 at line 9, column 5
identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
PL/SQL ERROR 0 at line 9, column 5
Statement ignored
Compiling KEY-CLRFRM trigger on form...
No compilation errors.
Compiling ON-ERROR trigger on INLOGGEN data block...
No compilation errors.
Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$GO_PREV_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
ck:
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$GO_NEXT_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compilation errors have occurred.
Form not created
I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
Thanking you all much in advance.
Edited by: Deepank on Dec 2, 2008 1:49 AMDeepank-
When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
Hope this helps,
Dan -
Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N -
Compilation Error: "class or interface expected" for simple EAR???
Dear all,
I have access to the customers NW CE 7.1 SP07 and of course I am using the corresponding NWDS 7.1 SP07 that comes with this CE installation. I am trying to study JEE 5 @ SAP and I have created a very simple Application (from the Book http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1480).
In NWDS I have created the following 4 projects:
1. Dictionary Project
Describes 2 Tables (TMP_EMPLOYEES and TMP_ID_GEN)
2. EJB 5 Project
Contains a stateless EJB + local business interface + Entity class.
The EJB accesses the entity class, which is mapped to a simple table (TMP_EMPLOYEES).
3. Dynamic Web Project
Contains actually only one JSP (index.jsp) which allows to the local business interface for creating a new Entity.
4. Enterprise Application Project (EAR)
Creates a package from 2. and 3.
I have successfully deployed both the Dictionary Project and the EAR (all to the same server).
But If I call the corresponding URL via web browser I get the following error:
500 Internal Server Error
"Error in compiling [/EmployeeWeb/index.jsp] in application [sap.com/EmployeeEar]."
Details: "The WebApplicationException log ID is [005056841108002A00000070000007AC0139C8D8862D3EED]."
In the "Log Viewer" of the "SAP NetWeaver Administrator" (via browser...) I have found the following:
Message: Processing HTTP request to servlet [jsp] finished with error.
The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error in executing the compilation process: [ Compilation Failed! Exit Code=1
Command line executed: D:\usr\sap\CED\J00\exe\sapjvm_5\bin\\javac -source 1.5 -target 1.5 -encoding UTF-8 -d "D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work" -sourcepath "D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\;" -classpath ".;D:\usr\sap\CED\J00\exe\jstartup.jar;D:\usr\sap\CED\J00\exe\sapjvm_5\lib\jvmx.jar;D:\usr\sap\CED\J00\exe\jre\lib\iqlib.jar;D:\usr\sap\CED\J00\exe\sapjvm_5\lib\tools.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\sap.com~tc~bl~jkernel_boot~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\jaas.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\memoryanalyzer.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\jperflib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\jta.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~cache_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~frame~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~gui~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~iqlib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jdsr~jdsr.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_cache~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_classload~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_cluster~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_configuration~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_database~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_licensing~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_locking~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_log~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_pool~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_service~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_thread~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_util~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~opensqlkernel~implOpenSQLFrame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~exception~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~je~sessionmgmt~api_assembly.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~logging~java~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~logging~java~implPerf.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\vmc_storage_provider.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\timeout\sap.com~tc~je~timeout~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\servlet\servlet.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\cross_api\sap.com~tc~je~cross_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~antlr~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~config~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~cpt~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~jarm~jarm.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQLPort.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~je~bootstrap_core_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~sec~secstorefs~java~core.jar;D:\usr\sap\CED\J00\exe\mssjdbc\sqljdbc.jar;D:\usr\sap\CED\SYS\global\security\lib\engine\iaik_jce.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\log\sap.com~tc~je~log_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\mail.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\sap.com~tc~je~javamail_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\activation.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_jsse.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_smime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_ssl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\w3c_http.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.api.sda\sap.com~tc~sec~ume~api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.api.sda\sap.com~tc~sec~ume~perm~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\security_api\sap.com~tc~je~security_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\shell\sap.com~tc~je~shell_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\cross\sap.com~tc~je~cross~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\visual_administration\sap.com~tc~bl~visual_administration~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\shell\sap.com~tc~je~shell~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\p4\sap.com~tc~je~p4~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sapxmltoolkit\sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jts\jts.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~jmx\sap.com~tc~bl~pj_jmx~Impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~mmodel~lib\sap.com~tc~je~mmodel~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\appcontext_api\sap.com~tc~je~appcontext_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\naming\sap.com~tc~je~naming~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\j2eeca\connector.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\idl\idl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\resourceset_api\sap.com~tc~bl~resourceset~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\resourcecontext_api\sap.com~tc~bl~resourcecontext~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~txmanager~plb\sap.com~tc~bl~txmanagerimpl~plb~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\transactionext_api\sap.com~tc~bl~transactionext~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\ts\sap.com~tc~je~ts~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\csiv2_api\sap.com~tc~bl~csiv2~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\iiop\sap.com~tc~je~iiop~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\file\sap.com~tc~je~file~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.tc.Logging\sap.com~tc~logging~standard~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~bcanalysis\sap.com~tc~je~bcanalysis~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~reference_graph\lib\tc~bl~reference_graph_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\container_api\sap.com~tc~je~container_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\webservices\sap.com~tc~je~webservices_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.util.monitor.jarm\sap.com~tc~bl~jarmsat~jarmsat.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~verify~intf\sap.com~tc~i18n~verify~intf~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~cp\sap.com~tc~i18n~cp~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~decfloat\sap.com~tc~i18n~decfloat~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~com.sap.conn.jco\sap.com~tc~bl~jco_sapj2ee~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.mw.jco\sap.com~tc~bl~jrfc~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\keystore_api\sap.com~tc~je~keystore_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~sec~certrevoc~interface\sap.com~tc~sec~certrevoc~interface~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~https~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~compat~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~ssf~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~jaas~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~saml~toolkit~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~csi~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~util0~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~userstore~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~xmlbind~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~destinations~lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.guid\sap.com~tc~bl~guidgenerator~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\stax_api\jsr173_1.0_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\stax_api\sjsxp.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-xjc.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\saaj13\saaj-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\saaj13\saaj-impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxws_api\jaxws-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jws_api\jsr181-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\javax~annotation~api\annotation-api-1.0.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\compilation_lib\sap.com~tc~bl~compilation~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\sap.com~tc~bl~base_webservices_lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxm-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxrpc-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxr-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxws-rt.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxws-tools.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~j2eedescriptors~lib\sap.com~tc~je~j2eedescriptors~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~ejb~metadata~model\lib\sap.com~tc~bl~ejb~metadata~model.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\javax~persistence~api\persistence-api-1.0.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\ejbormapping_api\sap.com~tc~je~ejbormapping_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~orpersistence~metadata~model\sap.com~tc~bl~orpersistence~metadata~model.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~util.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlin~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~ear.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~connector.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~web.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~ejb.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~appclient.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~orpersistence.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\deploy\sap.com~tc~je~deploy~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx_notification\sap.com~tc~je~jmx_notification~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\runtimeinfo\sap.com~tc~je~runtimeinfo~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx\sap.com~tc~je~jmx~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx\sap.com~tc~je~jmx~impl~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\http\sap.com~tc~je~httpserver~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~exprlang~plb\jee5_el.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jstl\jstl-1_2.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~injection~lib\lib\private\tc~je~injection.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\ec~java~jsf_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\ec~java~jsf~tld.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-beanutils.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-collections.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-digester.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-logging-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\ec~java~jsf_core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jacc~plb\jacc-1_1-fr-class.zip;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\classpath_resolver\sap.com~tc~je~classpath_resolver~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.ip.basecomps\sap.com~tc~bl~basecomps~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo~api~extension.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejb_api\ejb-3_0-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\webservices_lib\sap.com~tc~je~webservices_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~saptimezone\sap.com~tc~i18n~saptimezone~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~cpbase\sap.com~tc~i18n~cpbase~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.core.sda\sap.com~tc~sec~ume~core~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.core.sda\sap.com~tc~sec~ume~tpd~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jms\jms.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jms\jmsclient.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\com.sap~tc~je~jmsapi\sap.com~tc~je~jmsapi~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\userstore\sap.com~tc~je~userstore~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~SL~utility\sap.com~tc~bl~sl~utility~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.exception\sap.com~tc~exception~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~jarsap~sda\sap.com~tc~bl~jarsap~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~bl~deploy_api\sap.com~tc~bl~deploy~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc.httpclient\sap.com~tc~clients~http~all.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~sec~destinations~interface\sap.com~tc~sec~destinations~interface_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\endpoint_api\sap.com~tc~bl~endpoint~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\connector\sap.com~tc~je~connector~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\antlr\sap.com~tc~antlr~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\dbpool\sap.com~tc~je~dbpool~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\tc~sec~destinations~provider\sap.com~tc~sec~destinations~provider~java~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\com.sap.security.core.ume.service\sap.com~tc~sec~ume~service~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sap.com~tc~je~constants~lib\lib\tc~je~constants.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\schemaprocessor~srv\sap.com~tc~je~schemaprocessor.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~je~webcontainer~api\sap.com~tc~je~webcontainer~webcontainer_api_impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\servlet_jsp\sap.com~tc~je~webcontainer~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\objectProfiler\sap.com~tc~bl~objectProfiler~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\tc~je~cachemgmt~srv\sap.com~tc~je~cachemgmt~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\locking\sap.com~tc~je~locking~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\configuration\sap.com~tc~je~configuration~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\sap.com~tc~je~basicadmin~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\jstartupapi.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\jstartupimpl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\adminadapter\sap.com~tc~je~adminadapter~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\security\sap.com~tc~je~security~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\applocking\sap.com~tc~je~applocking~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejb20\ejb20.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejbqlparser\sap.com~tc~bl~ejbqlparser~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejbqlparser\sap.com~tc~bl~ejbqlparser_3_0~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sqlmapper\sap.com~tc~bl~ejbsqlmapper~implCommonSQLMapper.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sqlmapper\sap.com~tc~bl~ejbsqlmapper~implSQLMapperAPI.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\ejbmonitor_api\sap.com~tc~bl~ejbmonitor~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\ejb\sap.com~tc~je~ejb~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\orpersistence_client_lib\lib\orpersistence_client_lib_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\orpersistence\jars\EmployeeEjb.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\EJBContainer\applicationjars\EmployeeEjb.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work;;" -nowarn -g ["D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java"]
Error stream contains:"D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:16: 'class' or 'interface' expected
import javax.servlet.*;
^
D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:17: 'class' or 'interface' expected
import javax.servlet.http.*;
^
D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:18: 'class' or 'interface' expected
import javax.servlet.jsp.*;
^
3 errors
"].005056841108002A00000070000007AC0139C8D8862D3EED Date: 2009-01-09 Time: 23:00:45:042 Category: /System/Server/WebRequests Location: com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl Application: sap.com/EmployeeEar Thread: HTTP Worker [4] Data Source: j2ee\cluster\server0\log\system\server_00.log Correlator ID: 88322500000038637 Argument Objects: Arguments: DSR Component: n.a. DSR Transaction: 10c493a0de9311dd9631005056841108 DSR User: Message Code: Session: 979 Transaction: User: Guest Host: IMGNWCED System: CED Instance: J00 Node: server0
As you can see there is some compilation error, it says 3 times "'class' or 'interface' expected". If i remove all the relevant EJB java code from my index.jsp everything works fine. So I guess there must be some problem with finding the resources. Unfortunately this "logging" is not helpful at all (thank you SAP!). In NWDS everything is fine no problems at all!!!
Who can help me here with this?
Thanks in AdvanceI have found the issue.
in the index.jsp I have the following lines:
<!-- Import Statements -->
<%@ page import="javax.naming.InitialContext" %>
<%@ page import="com.sap.demo.session.EmployeeServicesLocal;" %>
Now check the end of the second import ==> ;
Removing the semicolon solves the issue. But the SAP error message is still not very helpful to me. -
Webutil form compilation error
Hi all
I configured webutil on Application server 10g on linux. but when i compile the demo form on application server using
/u01/app/oracle/OraHome_2/bin/frmcmp.sh module=$ORACLE_HOME/forms/WU_TEST_106.fmb userid=webutil/webutil@orant module_type=form compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/WU_TEST_106.fmx
it give me the errors
FRM-18108: Failed to load the following objects.
Source Module:webutil.olb
Source Object: WEBUTIL
Compiling procedure GET_CLIENTINFO...
Compilation error on procedure GET_CLIENTINFO:
PL/SQL ERROR 201 at line 3, column 35
identifier 'WEBUTIL_CLIENTINFO.GET_USER_NAME' must be declared
PL/SQL ERROR 0 at line 3, column 3
Statement ignored
PL/SQL ERROR 201 at line 4, column 35
identifier 'WEBUTIL_CLIENTINFO.GET_IP_ADDRESS' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compilation errors have occurred.
Form not created
==========================================
i search a lot but failed ..
any solution regarding this plz thanks in advance.[oracle@appserver ~]$ /u01/app/oracle/OraHome_2/bin/frmcmp_batch.sh module=$ORACLE_HOME/forms/webutil.pll userid=webutil/webutil@orant module_type=library compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/webutil.plx
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
Compiling library WEBUTIL...
Invalidating Package Spec CLIENT_IMAGE......
Invalidating Package Spec CLIENT_OLE2......
Invalidating Package Spec CLIENT_TEXT_IO......
Invalidating Package Spec CLIENT_TOOL_ENV......
Invalidating Package Spec CLIENT_WIN_API_DEBUG......
Invalidating Package Spec CLIENT_WIN_API......
Invalidating Package Spec CLIENT_WIN_API_ENVIRONMENT......
Invalidating Package Spec CLIENT_WIN_API_PRELOAD......
Invalidating Package Spec JAVA_EXCEPTION......
Invalidating Package Spec WEBUTIL_BROWSER......
Invalidating Package Spec WEBUTIL_CLIENTINFO......
Invalidating Package Spec WEBUTIL_C_API......
Invalidating Package Spec JAVA_SYSTEM......
Invalidating Package Spec JAVA_APPSERV_READER......
Invalidating Package Spec DELIMSTR......
Invalidating Package Spec WEBUTIL_FILE......
Invalidating Package Spec JAVA_APPSERV_WRITER......
Invalidating Package Spec WEBUTIL_DB_LOCAL......
Invalidating Package Spec JAVA_FILE......
Invalidating Package Spec WEBUTIL_FILE_TRANSFER......
Invalidating Package Spec WEBUTIL_HOST......
Invalidating Package Spec WEBUTIL_SEPARATEFRAME......
Invalidating Package Spec WEBUTIL_CORE......
Invalidating Package Spec WEBUTIL_SESSION......
Invalidating Package Spec WEBUTIL_UTIL......
Invalidating Package Body WEBUTIL_UTIL......
Invalidating Package Body WEBUTIL_SESSION......
Invalidating Package Body WEBUTIL_SEPARATEFRAME......
Invalidating Package Body WEBUTIL_HOST......
Invalidating Package Body WEBUTIL_FILE_TRANSFER......
Invalidating Package Body WEBUTIL_FILE......
Invalidating Package Body WEBUTIL_DB_LOCAL......
Invalidating Package Body WEBUTIL_C_API......
Invalidating Package Body WEBUTIL_CORE......
Invalidating Package Body WEBUTIL_CLIENTINFO......
Invalidating Package Body WEBUTIL_BROWSER......
Invalidating Procedure Body SHOW_WEBUTIL_INFORMATION......
Invalidating Package Body JAVA_SYSTEM......
Invalidating Package Body JAVA_FILE......
Invalidating Package Body JAVA_EXCEPTION......
Invalidating Package Body JAVA_APPSERV_WRITER......
Invalidating Package Body JAVA_APPSERV_READER......
Invalidating Package Body DELIMSTR......
Invalidating Package Body CLIENT_WIN_API_PRELOAD......
Invalidating Package Body CLIENT_WIN_API_ENVIRONMENT......
Invalidating Package Body CLIENT_WIN_API_DEBUG......
Invalidating Package Body CLIENT_WIN_API......
Invalidating Package Body CLIENT_TOOL_ENV......
Invalidating Package Body CLIENT_TEXT_IO......
Invalidating Package Body CLIENT_OLE2......
Invalidating Package Body CLIENT_IMAGE......
Invalidating Procedure Body CLIENT_HOST......
Invalidating Function Body CLIENT_GET_FILE_NAME......
Compiling Package Spec CLIENT_IMAGE......
Compiling Package Spec CLIENT_OLE2......
Compiling Package Spec CLIENT_TEXT_IO......
Compiling Package Spec CLIENT_TOOL_ENV......
Compiling Package Spec CLIENT_WIN_API_DEBUG......
Compiling Package Spec CLIENT_WIN_API......
Compiling Package Spec CLIENT_WIN_API_ENVIRONMENT......
Compiling Package Spec CLIENT_WIN_API_PRELOAD......
Compiling Package Spec JAVA_EXCEPTION......
Compiling Package Spec WEBUTIL_BROWSER......
Compiling Package Spec WEBUTIL_CLIENTINFO......
Compiling Package Spec JAVA_SYSTEM......
Compiling Package Spec JAVA_APPSERV_READER......
Compiling Package Spec DELIMSTR......
Compiling Package Spec WEBUTIL_FILE......
Compiling Package Spec JAVA_APPSERV_WRITER......
Compiling Package Spec WEBUTIL_DB_LOCAL......
Compiling Package Spec JAVA_FILE......
Compiling Package Spec WEBUTIL_FILE_TRANSFER......
Compiling Package Spec WEBUTIL_HOST......
Compiling Package Spec WEBUTIL_SEPARATEFRAME......
Compiling Package Spec WEBUTIL_CORE......
Compiling Package Spec WEBUTIL_SESSION......
Compiling Package Spec WEBUTIL_UTIL......
Compiling Package Body WEBUTIL_UTIL......
Compiling Package Body WEBUTIL_SESSION......
Compiling Package Body WEBUTIL_SEPARATEFRAME......
Compiling Package Body WEBUTIL_HOST......
Compiling Package Body WEBUTIL_FILE_TRANSFER......
Compiling Package Body WEBUTIL_FILE......
Compiling Package Body WEBUTIL_DB_LOCAL......
Compiling Package Body WEBUTIL_C_API......
Compiling Package Body WEBUTIL_CORE......
Compiling Package Body WEBUTIL_CLIENTINFO......
Compiling Package Body WEBUTIL_BROWSER......
Compiling Procedure Body SHOW_WEBUTIL_INFORMATION......
Compiling Package Body JAVA_SYSTEM......
Compiling Package Body JAVA_FILE......
Compiling Package Body JAVA_EXCEPTION......
Compiling Package Body JAVA_APPSERV_WRITER......
Compiling Package Body JAVA_APPSERV_READER......
Compiling Package Body DELIMSTR......
Compiling Package Body CLIENT_WIN_API_PRELOAD......
Compiling Package Body CLIENT_WIN_API_ENVIRONMENT......
Compiling Package Body CLIENT_WIN_API_DEBUG......
Compiling Package Body CLIENT_WIN_API......
Compiling Package Body CLIENT_TOOL_ENV......
Compiling Package Body CLIENT_TEXT_IO......
Compiling Package Body CLIENT_OLE2......
Compiling Package Body CLIENT_IMAGE......
Compiling Procedure Body CLIENT_HOST......
Compiling Function Body CLIENT_GET_FILE_NAME......
Done.
[oracle@appserver ~]$
here is the code how i compile webutil.. its done sucessfully. -
Compilation Error for import classes not found in generated Proxy Class
Hi,
We are generating java classes for the COM dll using JCOM com2java compiler.
We are getting a compilation error for import class not found when compiling the
generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
library.
I added weblogic.jar to my class path and the only Dispatch class i found inside
the weblogic.jar is com.linar.jintegra.Dispatch;
We have com objects for which we want to develop an EJB client to interface with
the COM object using JCOM with Native Mode disabled.
Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
but the other errors are still there.
To begin with, I think the generated code should not refer to any of the COM data
types.
Any help please.
Thank you in advance,
Regards,
Rahul Srivastava
[email protected]Hi,
I resolved the other errors by changing all references from com.bea.jcom.Variant
etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
package.
Thank you all anyways,
Regards,
rahul
"Rahul Srivastava" <[email protected]> wrote:
>
Hi,
We are generating java classes for the COM dll using JCOM com2java compiler.
We are getting a compilation error for import class not found when compiling
the
generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
class that
the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
or com.bea.jcom.Param. These are interfaces or data types or classes used
by COM
library.
I added weblogic.jar to my class path and the only Dispatch class i found
inside
the weblogic.jar is com.linar.jintegra.Dispatch;
We have com objects for which we want to develop an EJB client to interface
with
the COM object using JCOM with Native Mode disabled.
Any help on the compilation error..I tried changing the extends for Dispatch
to com.linar.jintegra.Dispatch
but the other errors are still there.
To begin with, I think the generated code should not refer to any of the
COM data
types.
Any help please.
Thank you in advance,
Regards,
Rahul Srivastava
[email protected] -
FPGA Compile error - Actual of formal out port cout cannot be an expression
Details:
ERROR:HDLCompiler:192 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd" Line 1408: Actual of formal out port cout cannot be an expression
ERROR:HDLCompiler:854 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd" Line 69: Unit <vhdl_labview> ignored due to previous errors.
VHDL file C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd ignored due to errors
-->
The compilation gets to the "Estimated device utilisation" stage but then stops shortly after with a compilation error.
The Line in question (1408) relates to the output of a "Reinterpret FXP" node with the text
cOut => (others => '0'),
in the port map portion of the code. This corresponds to the output of the FXP reinterpret node being directly connected to an indicator in a sub VI whose output is then input directly to a high thoughput multiply node. The code is part of a sinus cosinus LUT I have programmed. It used to compile no problem but I think I know where the problem is. In one instance I only utilise the Sinus output of the algorithm and theoretically, Xilinx can optimise away the Cosinus part. I have two instances of this VI in my code and looking at the one NOT generating errors, the output is associated with a Cosinus indicator.
cOut => s_Cosine_2434,
It would seem that the pathway is essentially optimised away but the Xilinx compiler has a problem with the indicator being present on the sub-VI but the idnicator not being utilised anywhere. As such, the cOut gets set to an invalid value. I assume the immediate proximity of the FXP Reinterpret to the output of the sub-VI is an important aspect of this problem.
I think I know enough now to fix this problem (manually remove the path by duplicating the sub-vi) but this is perhaps a useful feedback for future bugfixes in the FPGA module. This isn't the first time this kind of incorrect code removal has given me problems but it's the first time I've been able to clearly locate the problem.
Shane
Say hello to my little friend.
RFC 2323 FHE-Compliant
Solved!
Go to Solution.I am currently attempting a compile after changing some things.
Just a side question. Is this particular to the Reinterpret node or are other "pink nodes" also affected by this? If I don't connect the output of a high throughput add, will it result in the same behaviour?
PS OK, it seems to be compiling now. I managed to juggle around the nodes a bit in my sub-VI to make sure the "reinterpret" is not the last node before the indicator. It seems to be compiling now. A question which is in my head at this time is: Does the "reinterpret" node prevent anything before it from being optimised away by the Xilinx compiler? Are there other nodes which cannot be removed, even if the outputs are not being used? This would immediately seem to suggest to me that such nodes need to be as close to the source as possible in order to reduce the amount of code which cannot be removed as "dead code" during the Xilinx compile process.
Say hello to my little friend.
RFC 2323 FHE-Compliant -
Flash limitations, Invisible Compiler Errors, swc files...
This question is for expert users of Flash CS4/CS5 and actionscript. Please do not comment or offer suggestions if you have no experience with these errors or their causes.
===================================================
Question:
=======
Publishing an extremely complex file can sometimes result in a blank swf being created, and no compiler errors being shown even though some may exist. Are there any suggested methods for dealing with this?
=======
Details:
=======
Those who have written flash files with large actionscript components will be familiar with needing to set the JAVA_TOOL_OPTIONS evinronment variable in order to prevent the Flash compiler from crashing due to memory limits. The majority of the files in question require this as a bare minimum in order to be compiled at all.
The project in question involves several main "launcher" components, in addition to hundreds of "modules". The modules themselves are being developed in a distributed manner by several programmers. Each module can be executed as a standalone swf, for testing and production purposes. Each module has a companion swc file which holds its assets and exports them. All of the modules make use of a shared custom code library that sits on top of actionscript.
The launcher program also uses the shared library code, and runs the modules (never more than one at a time, and clearing previously loaded ones before loading a new one) inside of itself. The launcher contains a reference file(the class names typed in an include file, referencing all of the available exported assets from the swcs) that makes all the necessary assets available to the modules, such that any module can be run at any time.
===========
The Error:
===========
Seemingly random in occurence, every now and then a file will "compile blank". Essentially, the compile time is very short, the swf pops up as a blank white box, and there is absolutely nothing listed in the "Compiler Errors" tab, nor in the output tab. Sometimes closing flash and relaunching it will bring the Compiler Error messages back, though usually not. More often opening the file on another computer in a different copy of flash and compiling it again will show the errors. The original computer will still not show anything, but the other computer can be used to fix the error, and then the file will start reporting errors again properly.
However, sometimes, the file will "compile blank" on all computers, and all copies of flash. Then the only resort to find the hidden errors and fix them, is to comment out the entire file, and slowly uncomment out sections one at a time. In this manner, the area where the hidden errors are occuring can be determined, and the error found manually.
Obviously this is an extremely frustrating situation, but one that can be "worked around".
However, there are two more serious incarnations of this which cannot be as easily side stepped.
1.) Sometimes certain computers/copies of flash will "compile blank" a file that doesnt actually have errors in it. The same file will compile and work perfectly on one machine, and not on another.
2.) The most severe of all...The two more complex components compile fine in cs4, but always "compile blank" on cs5, no matter what. The module files all compile much faster on cs5 and work great. However, the shared code library and the launcher program cannot be compiled in cs5, though they compile fine in cs4. Both compile blank every single time on cs5, with no errors reported.
--Just as a side note here are the compile times on two different types of computers, for cs4 and cs5, for the three types of compiled files:
=====================
CS4 Compile time averages:
=====================
Dual Core - Pentium 4:
Module File = 1-4 minutes
Shared Code Library = 10+ minutes
Launcher Program = Unusable
6 Core AMD w 16 GBs of RAM:
Module File = less than 10 seconds
Shared Code Library = approx. 1 minute
Launcher Program = 15-25 minutes
=====================
CS5 Compile time averages:
=====================
Dual Core - Pentium 4:
Module File = less than 20 seconds
Shared Code Library = 2-4 minutes
Launcher Program = Compiles blank
6 Core AMD w 16 GBs of RAM:
Module File = less than 10 seconds
Shared Code Library = less than 30 seconds
Launcher Program = Compiles blank
========================================
Summary:
========================================
1.) Large and complex files in cs4 or cs5 can sometimes false compile, showing a blank swf, and no errors.
2.) Large interlinked projects containing many swcs that can compile on cs4 always compile blank on cs5
The issues involved "appear" to deal with interlinked swcs and swfs, memory, and compiler messages.
The best solution i can think of would be some sort of verbose mode setting, where the cs4/cs5 compilers can be set to trace all the actions they are taking, either to a log file, or to the screen. Rather than simply giving a summary of the results, a real-time display of what is occuring might lead to the actual bugs/issues.
Eisley79For the future people who come searching this forum and find my thread.
http://kb2.adobe.com/cps/405/kb405257.html
Above is a link to adobe's official version of admitting this situation exists(and its true for cs5 as well).
If you are reading this, and simply have a single large file that won't compile. Attempt their solutions suggested. Also, click the link in the comments by the user refering to a blog that helped him.
That will explain the JAVA_TOOL_OPTIONS memory issue (which you can find many explanations on google as well).
If however, you are working with a large number of separate swf's that load each other, and share assets and are getting the REAL problem, neither adobe's solutions, nor the JAVA_TOOL_OPTIONS will correct the problem for you. My best suggestion to you is, have one SWF launch the next one, and break your project into pieces. Whatever the parent SWF needed to have, can be either copied into all the children SWFs, or into several "brother" SWFs which share the loaded children SWFs, (and can actually be successfully compiled). Then as you move from brother to brother, they can be made to appear as if they were actually ONE file, loading the children, instead of several launching each other, and sharing the loading duties.
and as far as adobe is concerned, if i told you what i thought of you, i would get this post deleted...and myself banned.
Anyone considering doing Enterprise level projects in Flash, DONT. I wanted to use JAVA, but my company went with flash. I am stuck working around it constantly, and would have been better off coding foundation classes to mimic whatever functionality we needed from flash into java.
Maybe when actionscript 4 comes along, it will magically bring with it true object oriented programming, and Adobe will spend the time and money to make a real working compiler. Somehow i doubt it.
Maybe you are looking for
-
Printing to acrobat pdf locks up computer
I have Acrobat 8 with Win XP. Has worked fine in the past, but lately when I try to print a document to Acrobat PDF it jsut locks up my computer and never prints. It seems to stay in the spooler forever. I tried turning off background printing, updat
-
Employee overview and enhancing personal data
Hello, at the moment I am testing the ESS and Portal KM. I would like to have an overview over all employees with enhanced informations about them. This could vary from favorite books to a complete consultant's profile with and overview about all the
-
How to count the total lines of code in Java project in NWDS
Hi, I have created a simple web application in java using NWDS. For audit purposes, I need to know the total lines of java code in this project. We use Netweaver Development Studio (NWDS) to build & deploy the Java applications Is there any tool avai
-
Why are my icons flashing off and on?
My I icons flash off and come back is about a second. This repeats about every minute as if it is stuck in a loop.
-
I've installed Reports 9i (9.0.2.0.1) on Windows XP Professional on a Dell Dimension 8200. I've encountered a number of bugs. For example, in Query Builder tring to set the sort order causes Reports to crash every time. I also crashed while trying to