Skip to Content
0
Former Member
Dec 12, 2006 at 10:39 AM

JCO Related issue

28 Views

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