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 » General Discussion » question about mqjbnd05

Post new topic  Reply to topic
 question about mqjbnd05 « View previous topic :: View next topic » 
Author Message
adder
PostPosted: Sun Jun 11, 2006 10:07 pm    Post subject: question about mqjbnd05 Reply with quote

Apprentice

Joined: 06 Dec 2005
Posts: 43

my enviornment is AIX5.3 MQ6.0.1, I encounter a problem that java application can not run due to mqjbnd05

Code:

java.lang.UnsatisfiedLinkError: Can't find library mqjbnd05  (libmqjbnd05.so or .so) in sun.boot.library.path or java.library.path


I have search forum to solve this problem, and set enviornment as following post
http://mqseries.net/phpBB/viewtopic.php?t=28942&highlight=mqjbnd05&sid=00c46033d4db29e98102e33061c8aae2

Code:

bash-2.05b# echo $CLASSPATH
./junit.jar::/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/samp/java/base:/usr/mqm/samp/java/jms

bash-2.05b# echo $LIBPATH
/usr/mqm/java/lib


And I have try sample Java as following
Code:

bash-2.05b# java -Djava.library.path=/opt/mqm/java/lib MQIVP
Websphere MQ for Java Installation Verification Program
5724-B4 (C) Copyright IBM Corp. 2002. All Rights Reserved.
===========================================================

Please enter the IP address of the MQ server                  :


What I don't know is Java version(64bit/32bit), how to tell java is 32bit or 64bit
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Mon Jun 12, 2006 8:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

AIX I would expect /usr/mqm for programs
Solaris I would expect /opt/mqm for the programs.

What is happening is that you have not defined enough of the jars in your classpath.
You should have all the files in /usr/mqm/java/lib in your classpath.

You need as well to add
/usr/mqm/java/lib to your library path

LIBRARY_PATH OR LD_LIBPATH (from memory depending on the environment).

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
8davitt
PostPosted: Tue Jun 13, 2006 5:37 am    Post subject: Reply with quote

Apprentice

Joined: 06 Feb 2003
Posts: 37
Location: Seated in front of monitor

Refer to Chapter 2, Table 4

http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US&FNC=SRX&PBL=SC34659101

LIBPATH is applicable for AIX.

Also remove the double colon ('::') from your CLASSPATH.

$ java -version should give you the version of Java you are using.


/s
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 » General Discussion » question about 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.