ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » [Solved] wmqjbind

Post new topic  Reply to topic
 [Solved] wmqjbind « View previous topic :: View next topic » 
Author Message
rkris
PostPosted: Thu Jan 23, 2003 7:22 am    Post subject: [Solved] wmqjbind Reply with quote

Newbie

Joined: 23 Jan 2003
Posts: 2

Hi,

While running the Java Program in Windows 2000 for MQ 5.3,
I am getting the following error.

java.lang.UnsatisfiedLinkError: Can't find library wmqjbind (wmqjbind.dll) in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1707)
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
at java.lang.System.loadLibrary(System.java:865)
at com.ibm.mq.MQSESSION.<clinit>(MQSESSION.java:1204)
at com.ibm.mq.MQQueueManager.connect(MQQueueManager.java:1043)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:296)
at MQGetMsg.<init>(MQGetMsg.java:51)
at MQGetMsg.main(MQGetMsg.java:40)

Where can i get the wmqjbind file.... Can anyone help in this..

Thanks in Advance
kris
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Jan 23, 2003 10:30 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

http://www.mqseries.net/phpBB2/viewtopic.php?t=2404&highlight=wmqjbind
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
clindsey
PostPosted: Thu Jan 23, 2003 10:51 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Actually, there is no wmqjbind.dll with MQ 5.3. Could you search through your file system and see if you have multiple copies of com.ibm.mq*.jar.
You may have an old one that is getting picked up in your classpath that is causing wmqjbind to get loaded. If you have multiple copies, either remove the duplicates or update the older ones with a copy of the new ones.

Charlie
Back to top
View user's profile Send private message
rkris
PostPosted: Thu Jan 23, 2003 11:49 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2003
Posts: 2

Thanks Charlie, You are right!

There were two com.ibm.mq.jar files,
one in WebSphere MQ\bin and the other in WebSphere MQ\Java\lib.

Replaced former with the later and it works fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » [Solved] wmqjbind
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.