IBM Support

Impact JMS DSA connection to MQ Series test failure

Troubleshooting


Problem

Configurations of MQ Series require to have some jar files in $IMPACT_HOME/dsalib, but after installing them the connection test in the DSA configuration Window fails

Symptom

A popup window with an error appears and in netcool.log the following exceptions appear

Caused by: com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception
occurred in the Java(tm) MQI. The Java(tm) MQI has thrown an exception describing the problem. See the linked exception for further information.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd]


at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:277)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:242)

Caused by: java.lang.UnsatisfiedLinkError: mqjbnd (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1011)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:975

Cause

Apart from the jar files stated in the documentation
com.ibm.mq.jmqi.jar
dhbcore.jar
com.ibm.mqjms.jar
fscontext.jar
providerutil.jar

a couple of MQ Series specific libraries are needed and have to be copied to $IMPACT_HOME/dsalib
libmqjexitstub02.so
libmqjbnd.so

Diagnosing The Problem

The exception appears as a pop up window, failure to connect to the Datasource check log file

Resolving The Problem

Once the relevant libraries from MQ Series of the same version (i.e 7.x) , architecture (i.e Linux) processor (32 or 64 bits) are copied and the server restarted, the connection test should work

[{"Product":{"code":"SSSHYH","label":"Tivoli Netcool\/Impact"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Netcool\/Impact","Platform":[{"code":"PF016","label":"Linux"}],"Version":"6.1;6.1.1;7.1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21607070