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 » java.lang.UnsatisfiedLinkError: libwmqjbind.so

Post new topic  Reply to topic
 java.lang.UnsatisfiedLinkError: libwmqjbind.so « View previous topic :: View next topic » 
Author Message
csdenis
PostPosted: Mon Oct 07, 2002 10:32 pm    Post subject: java.lang.UnsatisfiedLinkError: libwmqjbind.so Reply with quote

Novice

Joined: 06 Oct 2002
Posts: 24

Dear all,

I am using WebSphere Application Server 4.0.1 for OS/390, MQSeries classes for Java supportpac MA1G, when I try to create QueueManager inside a servlet, I got the following error message:

java.lang.UnsatisfiedLinkError: /usr/lpp/ma1g/java/lib/libwmqjbind.so: EDC5157I An internal error has occurred.
.at java.lang.ClassLoader$NativeLibrary.load(Native Method)
.at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1835)
.at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
.at java.lang.Runtime.loadLibrary0(Runtime.java:780)
.at java.lang.System.loadLibrary(System.java:865)
.at com.ibm.mq.MQSESSION.<clinit>(MQSESSION.java:1204)
.at com.ibm.mq.MQQueueManager.connect(MQQueueManager.java:1043)
.at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:296)
.at MQTestServlet.doGet(MQTestServlet.java:27)
.at MQTestServlet.doPost(MQTestServlet.java:61)
.at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
.at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

I've already add the following path in my CLASSPATH:
/usr/lpp/ma1g/java/lib
/usr/lpp/ma1g/java/lib/com.ibm.mq.jar

and the LIBPATH:
/usr/lpp/ma1g/java/lib

Does anyone know what does the error message means?

Thanks!
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Oct 08, 2002 10:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I've never messed with a 390. On distributed platforms, this error means that you don' t have your shared library path setup correctly. You ought to be able to look for libwmqjbind.so on your system and put its path in your library path. You mentioned that you did set the LIBPATH. I'd double-check with the Using Java manual that this is the right one to set.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
bduncan
PostPosted: Wed Oct 09, 2002 11:00 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

I think people have posted this problem here before. Try using the search function, you might find what you need... But like bower, I haven't used OS/390, so I'm afraid I won't be of much help.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
RogerLacroix
PostPosted: Wed Oct 09, 2002 8:26 pm    Post subject: Reply with quote

Jedi Knight

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

Silly boy, tricks are for kids.

You need to get a little closer to the screen when reading the pdf docs.

You are missing most of the jar files. Remember on OS/390 you are connecting in bindings mode. Your CLASSPATH should look something like this:
Code:
CLASSPATH=".:/usr/lpp/ma1g/java/lib/com.ibm.mq.jar:/usr/lpp/ma1g/java/lib/connector.jar:/usr/lpp/ma1g/java/lib/fscontext.jar:/usr/lpp/ma1g/java/lib/jta.jar:/usr/lpp/ma1g/java/lib/providerutil.jar:/usr/lpp/ma1g/java/lib"


later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
csdenis
PostPosted: Thu Oct 10, 2002 4:40 am    Post subject: Reply with quote

Novice

Joined: 06 Oct 2002
Posts: 24

Thanks for reply.
However, I am using SupportPac MA1G, not MA88. Those jar file you mention are only exist in MA88. In MA1G, only 1 jar file (com.ibm.mq.jar) is supplied.


I was told that I should turn on the control bit of the *.so file, and I am going to try this. I don't know whether it is the exact solution.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Oct 10, 2002 8:18 am    Post subject: Reply with quote

Jedi Knight

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

True. I should have said use MA88 for OS/390.

You are using the older Java MQ jar file that has limited support / features for OS/390. You should definitely switch over. Last month I was doing Java development work with MA88 for OS/390 and the jar files worked very well.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » java.lang.UnsatisfiedLinkError: libwmqjbind.so
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.