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 Installation/Configuration Support » mqjbnd05

Post new topic  Reply to topic
 mqjbnd05 « View previous topic :: View next topic » 
Author Message
jason_e
PostPosted: Thu Sep 04, 2003 3:12 am    Post subject: mqjbnd05 Reply with quote

Apprentice

Joined: 19 Aug 2003
Posts: 33

Hi,
I have a Java application that must run on a computer that only has
the WebSphere MQ Client (5.3) installed.

It seems that the MQ Client installation does not install the
mqjbnd05.dll file. The application require this file through, otherwise I
get the error seen below.

If it is my application that is wrong how can I put a message onto a server
queue from a box that just has the client installed. (windows 2000 server)

java.lang.UnsatisfiedLinkError: no mqjbnd05 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
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.jav
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Sep 04, 2003 6:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You are right.
You do not need mqjbnd.dll for a client connection. That is for server bindings.
In your program you have to specify the following environment variables so that your java client app can "client connect" to a remote qmgr.

Code:

            MQEnvironment.hostname = "ruby";
            MQEnvironment.channel  = "SYSTEM.DEF.SVRCONN";
            MQEnvironment.port     = 1414;
            MQQueueManager qmgr = new MQQueueManager("QMGR1" ) ;


Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » mqjbnd05
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.