In case of unexpected failure of the adapter, specify a trace level of 5 in the AgentTraceLevel connector configuration property and restart. For further information on tracing, see Tracing. For further information on the AgentTraceLevel property, see Appendix A, Standard configuration properties for connectors.The table below describes additional start-up troubleshooting.
Problem | Potential solution / explanation |
---|---|
The connector shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/JMSException... | Connector cannot find file jms.jar from the IBM WebSphere MQ Java client libraries. Windows: Ensure that the environment variable %MQ_LIB% on your system points to the IBM WebSphere MQ Java client library folder Unix: Ensure the variable $MQ_LIB in the file <wbia>/bin/CWSharedEnv.sh is set to the IBM WebSphere MQ Java client library folder. |
The connector shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory... | Connector
cannot find file com.ibm.mqjms.jar from the IBM WebSphere
MQ Java client libraries.
|
The connector shuts down unexpectedly during initialization and the following message is reported: Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Referenceable... | Connector
cannot find file jndi.jar from the IBM WebSphere MQ Java
client libraries.
|
The connector shuts down unexpectedly during initialization and the following exception is reported: java.lang.UnsatisfiedLinkError: no mqjbnd01 in shared library path | Connector 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 connector reports MQJMS2005: failed to create MQQueueManager for ':' | Explicitly set values for the following properties: HostName, Channel, and Port. |