my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes Trouble working with websphere application server v7 and websphere MQ v6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Trouble working with websphere application server v7 and websphere MQ v6" Watch "Trouble working with websphere application server v7 and websphere MQ v6" New topic
Author

Trouble working with websphere application server v7 and websphere MQ v6

agrawal vivek
Greenhorn

Joined: Jan 20, 2010
Posts: 1
Hi all!

I have the following configuration:
- Websphere application server 7.0.0.5
- Websphere MQ v6.0.0
-running on windows

I am getting the following error
"The native JNI library 'mqjbnd' was not found. [3=mqjbnd]"

System.out says

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:279)
at java.security.AccessController.doPrivileged(AccessController.java:
202)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:244)
at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:207)
at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:998)
at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:173)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:41)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:
675)
at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:610)
at
com.ibm.msg.client.wmq.factories.WMQXAConnectionFactory.createV7ProviderConnection
(WMQXAConnectionFactory.java:164)
... 37 more
Caused by: java.lang.UnsatisfiedLinkError: mqjbnd (Not found in
java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:998)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:
962)
at java.lang.System.loadLibrary(System.java:465)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:966)
at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:258)

I have already set MQ_INSTALL_ROOT to "C:\Program Files\IBM\Websphere
MQ"
using admin console and native path under JMS provider to $
{MQJMS_LIB_ROOT} where MQJMS_LIB_ROOT=${MQ_INSTALL_ROOT}/java/lib. I
have to use 'Bindings' mode only

I am new to all these things. Any help would be greatly appreciated

Regards
Vivek
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trouble working with websphere application server v7 and websphere MQ v6
 
Similar Threads
VAJ and WAS. problems with classloaders
deploy ejb in websphere
Reg java. lang. Unsatisfied Link Error:
WAS 6.1 and MQ 6.0 , Exception MQ resource discovery classes are not available
NoClassDefFoundError when doing Queue CF lookup