cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.UnsatisfiedLinkError: nativeSAP_CMLISTEN - Error

Former Member
0 Kudos

Hi All,

We are in process of upgrading SRM Java from 7.01 to 7.02. While JSPM was running 250GB of trace files (around 29317 files) have been written under D:\usr\sap\SJ7\JC01\j2ee\cluster\server0 and we are forced to stop JSPM and complete SAP instance.

As soon as we start the instance with minutes 1GB trace files are written. All these files are dev_jrfc_xxxxx.trc.

All these files have single error repeated continuously, kindly let us know how to resolve this issue.

        • Error file opened at 20110706 102426 Eastern Daylight Time Rel 7.01.3 (2008-10-28) [710.234]

Error thrown [Wed Jul 06

10:26:12,128]:Error in RequestDispatcher.DispatcherWorker.run() java.lang.UnsatisfiedLinkError: nativeSAP_CMLISTEN

at com.sap.mw.rfc.driver.CpicDriver.nativeSAP_CMLISTEN(Native Method)

at com.sap.mw.rfc.driver.CpicDriver.SAP_CMLISTEN(CpicDriver.java:1137)

at com.sap.mw.rfc.driver.RfcTypeRegisterCpic.waitForRequest(RfcTypeRegisterCpic.java:593)

at com.sap.mw.rfc.api.RfcApi.RfcWaitForCpicRequest(RfcApi.java:1262)

at com.sap.mw.jco.MiddlewareJRfc.waitForRequest(MiddlewareJRfc.java:641)

at com.sap.mw.jco.RequestDispatcher$DispatcherWorker.run(RequestDispatcher.java:159)

at java.lang.Thread.run(Thread.java:534)

Regards,

Siva.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

java.lang.UnsatisfiedLinkError:

This exception is raised, when there is a problem loading the native SAP JCo library (Windows: sapjco3.dll or UNIX: libsapjco3.so). Typical reasons for this are:

native library is not in the same directory as sapjco3.jar

native library is for incorrect OS

native library is for 64-bit, but Java used is 32-bit. or vice-versa. E.g. use java -d64 option

there is a problem loading dependent libraries

Also, please check if the required ports are open.

Hope this helps.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Please make sure that trace level should be set to Error in visual admin.

Thanks

Sunny