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 » DLL Problem When trying Mq as JMS Provider

Post new topic  Reply to topic
 DLL Problem When trying Mq as JMS Provider « View previous topic :: View next topic » 
Author Message
sreemam
PostPosted: Thu Jul 10, 2003 10:08 am    Post subject: DLL Problem When trying Mq as JMS Provider Reply with quote

Newbie

Joined: 20 Jun 2003
Posts: 4

Hi,

I am getting following error when to run my JmsClient program. I am using WSAD5.0 and EmbededMQ as JMSProvider. I added all external jars and classpaths correctly.But still I am getting this error? Any help please.....

Exception received: java.lang.reflect.InvocationTargetException: java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\WebSphere MQ\Java\lib\mqjbnd05.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1843)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1729)
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
at java.lang.System.loadLibrary(System.java:865)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:490)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:201)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.server.MQSESSION.<clinit>(MQSESSION.java:197)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:363)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:150)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:141)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:159)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:682)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:620)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:437)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1383)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:960)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:159)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:77)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:142)
at PointToPoint.<init>(PointToPoint.java:36)
at PointToPoint.main(PointToPoint.java:110)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616)
at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
_________________
Sree
Back to top
View user's profile Send private message Yahoo Messenger
ashgove
PostPosted: Thu Jul 10, 2003 7:39 pm    Post subject: Reply with quote

Novice

Joined: 29 May 2003
Posts: 11

Sree

Guess u r using the bindings mode
U need to set path with dir in which mqjbnd05.dll lies.

Check the same and revert

HTH
_________________
-A-
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
gobi_nathan
PostPosted: Fri Jul 11, 2003 1:48 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jan 2003
Posts: 69

You have to add java/lib in your path.If you are using unix,then you have to set

setenv LD_LIBRARY_PATH /opt/mqm/java/lib

Where the .dll or .so files are located.

-Gobi
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 » DLL Problem When trying Mq as JMS Provider
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.