Languages and Scripting

Using MQSeries and Java on an HPUX 11 machine

 
Jay Chandonnet
New Member

Using MQSeries and Java on an HPUX 11 machine

I am trying to use MQSeries in a java code. The code also has references to threads. I have only been able to the "green" thread to work with the threading portion of the application ("native" threads have a memory problem). When I make a call to the MQSeries classes I get the following messages.

/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
java.lang.UnsatisfiedLinkError: no mqjbnd01 in shared library path
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:64)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:87)
at com.ibm.mq.MQQueueManager.(MQQueueManager.java:243)
at ATD_MQLoad.mqPutOnAddQue(ATD_MQLoad.java:219)


is there any fix for this problem.
1 REPLY 1
Albert E. Whale, CISSP
Honored Contributor

Re: Using MQSeries and Java on an HPUX 11 machine

Sounds like you need the latest LibC and/or Dynamic Loader Patches. Do you already have them installed?
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com