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 » no mqjbnd05 in java.library.path

Post new topic  Reply to topic
 no mqjbnd05 in java.library.path « View previous topic :: View next topic » 
Author Message
shogan2003
PostPosted: Wed May 19, 2004 11:03 am    Post subject: no mqjbnd05 in java.library.path Reply with quote

Centurion

Joined: 03 Jul 2003
Posts: 133
Location: London

Hi

I am adapting a copy of code for Java-MQClient to run in binding mode. Java complains about missing mqjbnd05 from the java library path at run-time.

I've seen threads on this very subject and checked them quite closely.
I have set PATH to include /opt/mqm/java/lib, as that directory contains a
library file libmqjbnd05.so


Is it a CLASSPATH issue originating in the compile process or just a CLASSPATH/PATH issue at run-time ?

Thanks in advance
Sean Hogan
_________________
MQSI2 certified specialist
MQSeries certified specialist
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Wed May 19, 2004 11:24 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Depending on the platform, I dont think its path - try one of LIBPATH (aix, z/OS), SHLIB_PATH (HP), LD_LIBRARY_PATH (Linux / Solaris)...
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed May 19, 2004 11:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

It's a runtime problem. Time to RTM.

Download the WebSphere MQ Using Java manual and go to chapter 2. Make sure you have done everything on pages 10-12.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
shogan2003
PostPosted: Thu May 20, 2004 1:15 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2003
Posts: 133
Location: London

I added /opt/mqm/java/lib to LD_LIBRARY_PATH to allow java to "see" the library file libmqjbnd05.so.

Then the program runs.
_________________
MQSI2 certified specialist
MQSeries certified specialist
Back to top
View user's profile Send private message Send e-mail
helmi03
PostPosted: Tue Aug 29, 2006 7:11 pm    Post subject: Reply with quote

Newbie

Joined: 29 Aug 2006
Posts: 1

my solution:
export MQ_JAVA_LIB_PATH=$MQ_JAVA_LIB_PATH:/opt/mqm/java/lib/

refer: page 10, WebSphere MQ Using Java
How I debug (output from command line):
# ./setjmsenv
MQ_JAVA_INSTALL_PATH is /opt/mqm/java
MQ_JAVA_DATA_PATH is /var/mqm
MQ_JAVA_LIB_PATH is /opt/mqm/java/lib
CLASSPATH is :/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/samp/java/
# echo $MQ_JAVA_LIB_PATH

# export MQ_JAVA_LIB_PATH=$MQ_JAVA_LIB_PATH:/opt/mqm/java/lib/
# echo $MQ_JAVA_LIB_PATH
:/opt/mqm/java/lib/
# ./postcard &

NOTE: tested on opensuse-10.1
_________________
-helmi03-
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » no mqjbnd05 in java.library.path
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.