|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Run of mqseries program resulted in UnsatisfiedLinkError |
« View previous topic :: View next topic » |
Author |
Message
|
krishrammohan |
Posted: Wed Aug 29, 2001 7:15 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2001 Posts: 9
|
Hi,
I tried running a sample Java program integrated with MQAPIs on Compaq NAK. The program connects to queue manager, puts a message on to the queue and closes the queue and disconnects from queue manager.
Run of the program resulted in this error.
Exception in thread "main"
java.lang.UnsatisfiedLinkError: _MQCONN
at
com.ibm.mq.server.MQSESSION.MQCONN(MQSESSION.java,Compiled Code)
at
com.ibm.mq.MQQueueManager.connect(MQQueueManager.java,Compiled Code)
at
com.ibm.mq.MQQueueManager.(MQQueueManager.java,Compiled Code)
at MQSample.(MQSample.java,Compiled Code)
at MQSample.main(MQSample.java,Compiled Code)
any help would be appreciated...
Mohan
|
|
Back to top |
|
 |
kolban |
Posted: Wed Aug 29, 2001 8:41 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Looking at the MA88 Support Pac (how MQSeries Java support is distributed), I see the following supported platforms:
AIX
HP-UX 10-20
HP-UX 11
iSeries
Linux for Intel
Linux for S/390
Microsoft Windows 95
Microsoft Windows 98
Microsoft Windows NT
Microsoft Windows 2000
OS/390 V2R9 or higher (including z/OS)
Sun Solaris
I don't see your platform listed here. An MQSeries Java application has two modes of connecting to a queue manager:
o As a client
o As a locally bound application
Your messages seem to show that you are doing the latter. In this case, when you make method calls on the MQSeries Java classes, JNI (native code) is invoked. On your platform, the native libraries aren't installed (or don't exist).
I believe that you will succeed if you attach to your queue manager as an MQ client. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|