Error In RFC Listener- Very Urgent

Hi all,

SAP is trying to push some IDOCs to Webmethods. We have our SAP adapter configured and SAP ALE listener. we have created asynchronous notifications for the incoming IDOC which created a publishable document.

Now, we wrote a trigger to subscribe to that document when SAP sends it. But when SAP is trying to push the data we are not able to get it into WebMethods.

the error is:

12-02 15:07:44 MST [SAP.0104.0005W] Error in RFC Listener SAPAdapters.SAP.ALEAdapter.Listeners:webmethodsListener with status “ALIVE” and connection “2-XXXXXsaprd9|sapgw21|webmethALE”: com/sap/conn/idoc/jco/JCoIDocDocumentList.

The detailed error from the SAP log is below:

Error thrown [Wed Dec 02 13:21:25,835]:Error thrown by application running in JCo Server
java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDocDocumentList
at com.wm.adapter.sap.listener.Listener.handleRequest(Listener.java:282)
at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:147)
at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:153)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:3258)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2738)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2556)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2447)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2268)
at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:270)
at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:333)
at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:231)
at java.lang.Thread.run(Thread.java:595)


Kindly help. Its very urgent.

Hello David, did you find a solution for this?

I’m having exactly the same error.

Thanks and regards,

Hermann

Hello, I have the same issue. Please provide one solution if you know it. Thank you.

Hi,

Install Latest JCo’s 3.0.4 or higher.

I use the sapjco3-NTintel-3.0.5.zip .

You need to install the “SAP Java IDoc Class Library”:
http://service.sap.com/connectors
–> SAP Java Connector
–> Tools & Services
–> SAP Java IDoc Class Library
The most current version at the moment is 3.0.4.

Hi,
We have added a new IDOC that is being sent from SAP and we are now getting this error. SAP has been well established at the client site, but, this is the first new IDOC being sent from SAP for a long time. Other existing IDOC’s sent from SAP are currently being received successfully. It is just this one new IDOC that is getting the following error:

Error thrown [Wed Feb 05 08:46:42,160]:Error thrown by application running in JCo Server
java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDocDocumentList
at com.wm.adapter.sap.listener.Listener.handleRequest(Listener.java:282)

Adapter Version 7.1.0.0.718
IS Version 8.2.2.0

Any help is appreciated.
Thanks,
David Krivohlavy