IBM MQ Native connection throwing NoClassDefFoundError

Document ID : KB000092352
Last Modified Date : 19/04/2018
Show Technical Document Details
Issue:
I am trying to test  IBM MQ Native send/Receive step and I am getting  the below error. 

================ | Message: Test Execution Stopped due to exception -----------------------------------------------
| Trapped Exception: com/ibm/mq/MQException |
Trapped Message: java.lang.NoClassDefFoundError: com/ibm/mq/MQException -------------
--------- STACK TRACE java.lang.NoClassDefFoundError: com/ibm/mq/MQException at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:270) at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance(IbmMqQueueManagerAsset.java:65) at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:2320) at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1539) Please help us to configure this.
Environment:
All supported DevTest Environments 
Cause:
To use DevTest Solutions with various third-party applications like IBM MQ, you must make JAR files from the third-party application available to DevTest. These files were missing in DEVTEST-HOME/lib/Shared folder.
Resolution:
Copy the IBM MQ jars to  DEVTEST-HOME/lib/Shared folder in the Workstation machine and also on the  server  where  DEVTEST components are installed.   
Restart all components once the jars are applied. 
 
Additional Information:
The below link list the  jars needed for all supported versions of MQ.
Look at the section :

WebSphere MQ File Requirements

https://docops.ca.com/devtest-solutions/10-1/en/administering/general-administration/third-party-file-requirements