on 04-27-2006 7:43 AM
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)
Hi Apurva,
Have you added sapjco.jar into the classpath??
If so then, remove it and try adding it to external jar interface of Netbeans.
Also put sapjcorfc.dll into system32 folder!
Abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.