Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble working with websphere application server v7 and websphere MQ v6

 
agrawal vivek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic