cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Issue

Former Member
0 Kudos

Hi All,

I am using JCO API for my J2EE Application development. I am using a scheduler which is invoked using servlets. When I try to run the application after restarting.It works fine. But if deploy the same application after some changes(server is not restarted here) I am getting the following exception

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 G:\usr\sap\E04\JC00\j2ee\os_libs\sapjcorfc.dll already loaded in another classloader]. java.library.path [F:\j2sdk1.4.2_07\jre\bin\server;F:\j2sdk1.4.2_07\jre\bin;F:\j2sdk1.4.2_07\bin;G:\usr\sap\E04\JC00\j2ee\os_libs;D:\Program Files\CA\Dcs\DMScripting\;D:\Program Files\CA\DCS\CAWIN\;F:\j2sdk1.4.2_07\bin;F:\oracle\ora92\bin;D:\Program Files\Oracle\jre\1.3.1\bin;;D:\Program Files\CA\Unicenter Software Delivery\BIN;D:\PROGRA1\CA\SHARED1\SCANEN1;D:\Program Files\CA\SharedComponents\ScanEngine;D:\Program Files\CA\SharedComponents\CAUpdate\;D:\Program Files\CA\SharedComponents\ThirdParty\;D:\Program Files\CA\SharedComponents\SubscriptionLicense\;D:\PROGRA1\CA\eTrustITM;;G:\usr\sap\E04\SCS01\exe;G:\usr\sap\E04\JC00\exe;G:\usr\sap\E04\SYS\exe\run]

DEBUG 2006-12-12 15:24:00,218 com.boc.ced.presentation.common.servlet.SchedulerServlet

can anybody tell me how can I resolve this issue.

I am using WAS 6.40 for the development.

Regards

Bidhudas

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Bidhudas,

Welcome on SDN!

Please have a look at thread which deals with exactly the same issue as yours, and also describes the solution.

Regards,

Vladimir

PS: I'm now moving this topic to the more general Java Programming forum as it is not related to Java EE 5.

Answers (0)