IBM MQ Native connection throwing NoClassDefFoundError
search cancel

IBM MQ Native connection throwing NoClassDefFoundError


Article ID: 92352


Updated On:


CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization


Testing a IBM MQ Native Send/Receive Step and 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( at com.itko.lisa.messaging.providers.ibmmq.IbmMqQueueManagerAsset.createInstance( at com.itko.lisa.asset.LocalAssetRuntime$ at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut( Please help us to configure this.


All supported DevTest Environments 


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.


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

Refer to section "WebSphere MQ File Requirements" in the documentation of the DevTest release you are running.