Technote (troubleshooting)
Problem(Abstract)
After upgrading WebSphere MQ to v7, MQ connector agent or controller cannot be started. An error is seen in the InterchangeSystem.log file stating that java.lang.NoClassDefFoundError.
Resolving the problem
After upgrading WebSphere MQ to v7, MQ connector agent or controller cannot be started. On reviewing the InterchangeSystem.log file, following error message is seen while starting the MQ Connector Controller:
[Mesg: java.lang.NoClassDefFoundError:com/ibm/mq/MQSPIQueueManager
at
com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:171)
at
com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:112)
at
CxCommon.Messaging.jms.JMSTransportUtil.initQueueConnection(JMSTransportUtil.java:208)
To resolve the problem, add the class com.ibm.mqjms.jar to the classpath.This document. explains how to add the class to class path.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.