|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem in connect to queue manger trhough java |
« View previous topic :: View next topic » |
Author |
Message
|
mahesh2069 |
Posted: Thu Jul 11, 2013 12:35 am Post subject: Problem in connect to queue manger trhough java |
|
|
Centurion
Joined: 26 Jun 2013 Posts: 103
|
Hi all
I want to put a message in queue,with help of Java,But I got exception
"Exception in thread "main" java.lang.UnsatisfiedLinkError: mqjbnd05 (Not found in java.library.path)"
I put connect.jar ,and jta.jar and remaining all jars in class path,But I still get this exception.
If I need to put environment variables please tell me , Variable name,and value..
I am using Windows 7 64bit OS,and MQ 7.5 64 bit.,
Exception IS
Code: |
Exception in thread "main" java.lang.UnsatisfiedLinkError: mqjbnd05 (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1011)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:975)
at java.lang.System.loadLibrary(System.java:469)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:872)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:228)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at com.ibm.mq.server.MQSESSION.<clinit>(MQSESSION.java:222)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:492)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:168)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:179)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:215)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:84)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:772)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:697)
at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:657)
at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:153)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:451)
at com.mss.ftp.test.main(test.java:22) |
_________________ Thanks & Regards
Mahesh Mediboyina
WMB Developer |
|
Back to top |
|
 |
mq_dummy |
Posted: Thu Jul 11, 2013 4:10 am Post subject: |
|
|
Newbie
Joined: 17 May 2013 Posts: 8
|
You do not share much about your environment.
1) MQ7.5 is installed locally on your windows and you want to connect to a local queue manager?
2) You are using the jars of this local installation? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 11, 2013 4:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
looks like a mix and match of jar file versions... Not good. Use the jars and classpath and libpath of the WMQ installation!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hughson |
Posted: Thu Jul 11, 2013 6:07 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
fjb_saper wrote: |
looks like a mix and match of jar file versions... Not good. |
Agree - I don't think mqjbnd05 is in V7.5 if memory serves. I think it is just mqjbnd _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|