Error:
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:197
)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:242)
at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:208)
at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:991)
at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:173)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:67)...
Please help me in this already i have wasted 3 days:-(.....
$ dspmqver -p 4
Name: Common Services for Java Platform, Standard Edition
Version: 7.0.1.0
CMVC Level: k000-L090724
Build Type: Production
Name: IBM WebSphere MQ
Version: 7.0.1.0
CMVC Level: k000-L090724 mqjbnd=CC=2;RC=2495;AMQ8568: The native JNI library 'm
qjbnd' was not found. [3=mqjbnd]::mqjbnd (A file or directory in the path name d
oes not exist.)
Build Type: Production
Name: Java Message Service Client
Version: 7.0.1.0
CMVC Level: k000-L090724
Build Type: Production
Name: WebSphere MQ classes for Java Message Service
Version: 7.0.1.0
CMVC Level: k000-L090724
Build Type: Production
Check that the JDK and OS levels are up-to-date. There have been reports that older JDK/OS patch combinations can result in this apparent error - just on AIX btw.
The java.library.path and the ld_library_path are pointing at a mix of 32 / 64 bit libraries. This will cause problems at some point. Ensure that everything is of the same 'bitness' JVM included.
I would focus on getting your application to work first off. Also watch out if the standard installation location is present.. there might be symbolic links in there from a previous MQ installation.
After deleting the symbolic link.....its working ...
dltmqlnk /usr/lib/
On AIX only, using a 64-bit JVM: Â
 Â
The 32-bit symbolic links  in /usr/lib which point to /usr/mqm/lib need to be deleted to avoid the native library trying to link to them.  This is done using the WMQ command:  dltmqlnk Â
 Â
Note: The command "crtmqlnk" can be used to add the 32-bit symlinks back again. Â
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum