on 04-27-2006 6:02 AM
Hi all,
I am getting the following error:
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [C:\j2sdk1.4.2_11\bin;.;C:\WINNT\system32;C:\WINNT;c:\Program Files\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\OpenAFS\Common;C:\Program Files\OpenAFS\Client\Program;c:\Program Files\Resource Pro Kit\;d\AdminStudio\6.0\ConflictSolver;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;c:\ORACLE\ORA92;c:\ORACLE;c:\ORACLE\ORA92\bin;C:\Program Files\UltraEdit;C:\ABAQUS\Commands;C:\Program Files\Perl\bin;%%%C:\WINNT%%%\system32;%%%C:\WINNT%%%;%%%C:\WINNT%%%\System32\Wbem;c:\PROGRA1\IBM\AFS\Client\Program;c:\PROGRA1\IBM\AFS\DOCUME1;c:\PROGRA1\IBM\AFS\Common;C:\Program Files\Resource Pro Kit;C:\Progra~1\Matlab7\bin\win32;%%%%TEC100HOME%%%%\BIN;c:\Program Files\Common Files\Adaptec Shared\System;ed\DLLShared; c:\sapjco]
com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
display_vend.doPost(display_vend.java:32)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
I have set Path and class path in enviornment variables.
please suggest.
Thanks,
Apurv
hi
please check whether you have added the JCO related Dll's in the system 32 folder
hope this helps
regards
rajesh kr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey Guys,
thanks for the suggestion. but i had solved the problem immediately after posting this
I have having another problem. I am using net beans 5 to write java programs. i have included sapjco.jar file in the library of my project. but it runs only once and the next time i run i gives me error saying Native Library C:\WINNT\system32\sapjcorfc.dll already loaded in another classloader
how do i define global library in Netbeans?
complete Error:
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [Native Library C:\WINNT\system32\sapjcorfc.dll already loaded in another classloader]. java.library.path [C:\j2sdk1.4.2_11\bin;.;C:\WINNT\system32;C:\WINNT;c:\Program Files\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\OpenAFS\Common;C:\Program Files\OpenAFS\Client\Program;c:\Program Files\Resource Pro Kit\;d\AdminStudio\6.0\ConflictSolver;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;c:\ORACLE\ORA92;c:\ORACLE;c:\ORACLE\ORA92\bin;C:\Program Files\UltraEdit;C:\ABAQUS\Commands;C:\Program Files\Perl\bin;%%%C:\WINNT%%%\system32;%%%C:\WINNT%%%;%%%C:\WINNT%%%\System32\Wbem;c:\PROGRA1\IBM\AFS\Client\Program;c:\PROGRA1\IBM\AFS\DOCUME1;c:\PROGRA1\IBM\AFS\Common;C:\Program Files\Resource Pro Kit;C:\Progra~1\Matlab7\bin\win32;%%%%TEC100HOME%%%%\BIN;c:\Program Files\Common Files\Adaptec Shared\System;ed\DLLShared; c:\sapjco;]
com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
display_vend.doPost(display_vend.java:32)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
I am using NetBeans 5. In that i have added libraries. do i have to define the class path seperately?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.