The SystemErr.log are as follows:
java.lang.UnsatisfiedLinkError: mqjbnd05 (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:986)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)
at java.lang.System.loadLibrary(System.java:453)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:1028)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:246)
at java.security.AccessController.doPrivileged(AccessController.java:197)
at com.ibm.mq.server.MQSESSION. (MQSESSION.java:243)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:508)
java.lang.NoClassDefFoundError: com.ibm.mq.server.MQSESSION (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:508)
at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:213)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:186)
Im really stuck up with this pblm and need an urgent solution.
Thanks in advance.
UnsatisfiedLinkError means that the named shared library (mqjbnd05.so or
.dll) is not on the process's PATH. Easiest way to fix this is to create
a shared library containing the above file, and add a classloader to
your server with this shared library.
Ken
It looks like the root of the problem is due to a missing native library for MQ. Because WAS cannot find this native library, it cannot complete the initialization of the MQSESSION class. This sounds like it would prevent MQ from working at all. I'm not MQ expert, but you could probably resolve this problem by including the MQ libraries in the native classpath for WAS.
Hope this helps,
Andy
Assuming you are trying to create a bindings mode connection you need to set the MQ_INSTALL_ROOT variable. If you search for MQ_INSTALL_ROOT in the forums you will get the instructions you need. Alternatively use a client mode connection.
Cheers, Matt.