cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WebSphere 5.1 and JCO

0 Kudos

I developed an application that connects to a SAP-System.

The code usually works fine.

When I stop and start the application in Websphere, the following error message appears:


WARNING) java.lang.ExceptionInInitializerError: JCO.classInitialize(): 
Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

Native Library C:WINNTsystem32sapjcorfc.dll already loaded in another classloader

at com.sap.mw.jco.JCO.<clinit>(Unknown Source).null(Unknown Source)

If anybody came across this problem before, please let me know.

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Andreas,

Please have a look at SAP Note 542175.

Best regards,

Vladimir

0 Kudos

After my collegue gave me acces to that note we could solve the problem

(put sapjco.jar in to the servers classpath instead of the application)

Thanx and best regards

Andreas

Message was edited by: Andreas Schmidt

Former Member
0 Kudos

Hi

I am facing the same probelm.

can you tell me which is the servers classpath starting from usr/sap/.....

Thanks & regards

Ashutosh

Vlado
Advisor
Advisor
0 Kudos

Hi Ashutosh,

See and also the other posts in that thread.

HTH,

Vladimir

Answers (0)