on 11-16-2006 3:24 PM
Hi everybody I tried to figure out what the error could be but I can't find the answer yet.
I'm getting the dollowing error while using the sapJCO connector in my java j2ee application:
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 D:\usr\sap\sapJCO\sapjcorfc.dll already loaded in another classloader]. java.library.path [K:\j2sdk1.4.2_12\jre\bin\server;K:\j2sdk1.4.2_12\jre\bin;K:\j2sdk1.4.2_12\bin;L:\usr\sap\NWD\DVEBMGS01\j2ee\os_libs;D:\Program Files\Windows Resource Kits\Tools\;D:\Program Files\Support Tools\;D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;C:\PROGRA1\CA\SHARED1\CAM\bin;D:\usr\sap\sapJCO;L:\usr\sap\NWD\SYS\exe\uc\NTI386]
Exception id: [000D609C5EFB005C000000A700000E700004225EAD7172B8]
I am using NW DS and deploying my app in a remote WAS
First I tried using the variable com.sap.mw.sapjco.jar, and then an external jar sapjco.jar but I still have the same error.
Is there any problem in the WAS?
The configuration of the sapjco is correct.
I tried deploying my app in a WebSphere Application Server and it ran well.
I hope you can help me guys
Regards
Gino Arias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gino,
This exceptions typically occur when different versions of sapjcorfc.dll and sapjco.jar have been installed. Make sure that you are using same version of librfc32.dll, sapjcorfc.dll, and sapjco.jar files. Generally these dll files are copied to <Windowsinstall dir>\windows\system32 folder.
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.