Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
anoop-jose
Participant
Problem:

As part of our software maintenance for PO JMS adaptor, we were upgrading the IBM MQ JMS jars from 8.0.0.2 to 9.3.2.0. i.e., com.ibm.mq.allclient.jar needs to be updated.

After the upgrade, though message processing was successful, we were getting below errors while starting and stopping channels.

  • Could not start communication channel due to an internal error

  • Could not connect to PI component; check trace files in SAP NetWeaver Administrator for additional information



Further check with XPI Inspector trace using Example 50 for the channel, revealed below error.

  • Wrapped remote exception: java.lang.NoClassDefFoundError: org/json/JSONException


Caused by: Wrapped remote exception: java.lang.NoClassDefFoundError: org/json/JSONException
at com.ibm.msg.client.wmq.internal.WMQConnection.toJson(WMQConnection.java:2756)
at com.ibm.msg.client.jms.internal.JmsConnectionImpl.toJson(JmsConnectionImpl.java:2787)
at com.ibm.mq.jms.MQConnection.toString(MQConnection.java:516)
at java.lang.String.valueOf(String.java:3040)
at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.closeConnection(ConnectorImpl.java:837)

 

Solution:

Based on SAP ticket, we had to deploy additional one more jar org.json.jar, which fixed our issue.

Also, now Note 747601 is updated by SAP, that integration with IBM MQ 9.2+ would require com.ibm.mq.allclient.jar and org.json.jar.

IBM Jars can be downloaded from https://ibm.biz/mq93javaclient by your JMS partner. Once downloaded 9.3.2.0-IBM-MQ-Install-Java-All.jar, needs to be unzipped to access the necessary jars from \wmq\JavaSE\lib location.

Reference:
1 Comment
Labels in this area