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 » Another libmqjbnd05.so problem

Post new topic  Reply to topic Goto page Previous  1, 2
 Another libmqjbnd05.so problem « View previous topic :: View next topic » 
Author Message
Saugui
PostPosted: Thu Feb 17, 2005 9:21 pm    Post subject: Reply with quote

Novice

Joined: 03 Feb 2005
Posts: 23

Thanks...

Which book?

And it sounds weird that it can only use a client connection... why is that? :roll:
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 17, 2005 9:30 pm    Post subject: Reply with quote

Grand High Poobah

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

I remember reading something about it but could not exactly quote what .
First search should be here under documentation the Using Java manual.

The latest information should say something about the jvm or point you to some link. Then search this site (see button at top) . Next search IBM website (not always easy to find what you are looking for). Last but not least use a good search engine. Depending on desired information I've had good luck with MSN or Google. For certain info searches the result list from MSN shows much better relevancy then google. For others it's the opposite but it's always worth checking both.

Back to top
View user's profile Send private message Send e-mail
Saugui
PostPosted: Thu Feb 17, 2005 9:40 pm    Post subject: Reply with quote

Novice

Joined: 03 Feb 2005
Posts: 23

Thanks... I'll tell you my findings...

Back to top
View user's profile Send private message
cameron
PostPosted: Fri Feb 18, 2005 12:43 am    Post subject: Another libmqjbnd05.so problem Reply with quote

Newbie

Joined: 06 Feb 2005
Posts: 7
Location: Livingston, UK

Quote:
#!/bin/sh
CLASSPATH=$CLASSPATH:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.
mqbind.jar:/usr/mqm/java/lib/connector.jar
LIBPATH=$LIBPATH:/usr/mqm/java/lib

echo $CLASSPATH
echo $LIBPATH

java -cp $CLASSPATH MQTest

Another libmqjbnd05.so problem




Try, just for a laugh changing your script to.

#!/bin/sh
CLASSPATH=$CLASSPATH:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.
mqbind.jar:/usr/mqm/java/lib/connector.jar
LIBPATH=$LIBPATH:/usr/mqm/java/lib

echo $CLASSPATH
echo $LIBPATH

/fullpathto1.4executable/java cp $CLASSPATH MQTest
Back to top
View user's profile Send private message
Saugui
PostPosted: Sun Feb 20, 2005 4:11 pm    Post subject: Reply with quote

Novice

Joined: 03 Feb 2005
Posts: 23

Here's the script:

#!/bin/sh
CLASSPATH=$CLASSPATH:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.
mqbind.jar:/usr/mqm/java/lib/connector.jar
LIBPATH=$LIBPATH:/usr/mqm/java/lib

echo $CLASSPATH
echo $LIBPATH

/home/miagent/java14_64/jre/bin/java -cp $CLASSPATH MQTest

And the java:
ampcst01:miagent:/home/miagent/java14_64/jre/bin>ls -l
total 23925
-rwxr-xr-x 1 miagent staff 754 Jul 02 2004 JavaPluginControlPanel
-rwxr-xr-x 1 miagent staff 60569 Jul 02 2004 awt_robot
drwxr-xr-x 2 miagent staff 512 Feb 15 15:08 classic
-rwxr-xr-x 1 miagent staff 80115 Jul 02 2004 ikeyman
-rwxr-xr-x 1 miagent staff 79433 Jul 02 2004 java

Run the script:

ampcst01:miagent:/home/miagent/bin>./mqtest.sh
:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqbind.jar:/usr/mqm/java/lib/connector.jar
/usr/lpp/cmb/lib:/usr/java14_64/jre/lib:/usr/mqm/java/lib:/usr/mqm/java/lib
Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/mqm/java/lib/libmqjbnd05.so: load ENOEXEC on shared library(s) /usr/mqm/java/lib/libmqjbnd05.so
at java.lang.ClassLoader$NativeLibrary.load(Native Method)

Mhmm... thanks for the suggestion...

:oops:
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 20, 2005 5:57 pm    Post subject: Reply with quote

Grand High Poobah

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

From what I remember 64 bit is not supported under 5.3
Support for 64 bit is 5.2 ???

Can anybody out there refresh my memory ?

Back to top
View user's profile Send private message Send e-mail
Saugui
PostPosted: Sun Feb 20, 2005 9:30 pm    Post subject: Reply with quote

Novice

Joined: 03 Feb 2005
Posts: 23

I found something and not quite understand from this page:

http://www-128.ibm.com/developerworks/java/jdk/aix/faqs.html

1. Question: What AIX levels are required for Java releases?
Answer:
To take advantage of latest AIX fixes it is recommended/required that latest AIX Recommended Maintenance Level be used. The following is the minimum AIX level required at the time when a Java release was first released:
Java 1.1.8 requires AIX 4.2.1
Java 1.2.2 requires AIX 4.3.3 PLUS fixes
Java 1.3.0 requires AIX 4.3.3.10 PLUS fixes
Java 1.3.1 64-bit requires AIX 5.1.0.10
Java 1.3.1 requires AIX 4.3.3.75
Java 1.4 64-bit requires at least AIX 5.1.0.75 or AIX 5.2.0.10
Java 1.4 requires at least AIX 5.1.0.75 or AIX 5.2.0.10


This is the version of AIX we have:

ampcst01:miagent:/home/miagent>uname -a
AIX ampcst01 1 5 00032ACA4C00

SO I just don't know what to do except we probably have to try installing the java 1.4 instead of just copying the libraries to the AIX server.

Back to top
View user's profile Send private message
Saugui
PostPosted: Mon Mar 14, 2005 10:18 pm    Post subject: Reply with quote

Novice

Joined: 03 Feb 2005
Posts: 23

I solved it...

Even having CSD07 installed, and ensure that it's the 64-bit version of AIX running... my progrma worked when I used the java 1.4 32 bit version.

Go figure!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » Another libmqjbnd05.so problem
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.