Startup problems


Problem Potential solution / explanation

The adapter shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/JMSException...

Adapter cannot find file jms.jar from the IBM WebSphere MQ Java client libraries. Ensure that variable MQSERIES_JAVA_LIB in start_connector.bat points to the IBM WebSphere MQ Java client library folder.

The adapter shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory...

Adapter cannot find file com.ibm.mqjms.jar from the IBM WebSphere MQ Java client libraries. Ensure that variable MQSERIES_JAVA_LIB in start_connector.bat points to the IBM WebSphere MQ Java client library folder.

The adapter shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Referenceable...

Adapter cannot find file jndi.jar from the IBM WebSphere MQ Java client libraries. Ensure that variable MQSERIES_JAVA_LIB in start_connector.bat points to the IBM WebSphere MQ Java client library folder.

The adapter shuts down unexpectedly during initialization and the following exception is reported: java.lang.UnsatisfiedLinkError: no mqjbnd01 in shared library path

Adapter cannot find a required run-time library (mqjbnd01.dll [NT] or libmqjbnd01.so [Solaris]) from the IBM WebSphere MQ Java client libraries. Ensure that your path includes the IBM WebSphere MQ Java client library folder.

The adapter reports MQJMS2005: failed to create MQQueueManager for ':'

Explicitly set values for the following properties: HostName, Channel, and Port.

The adapter reports that classes could not be found.

Verify that the following directories are included in the paths for the classes:

<MQSeries Install>\java]lib
 
<install_path>\bin

The adapter hangs on startup

Verify that the WebSphere MQ listener is running.

Copyright IBM Corp. 1997, 2004