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 IndexIBM MQ Java / JMSRun of mqseries program resulted in UnsatisfiedLinkError

Post new topicReply to topic
Run of mqseries program resulted in UnsatisfiedLinkError View previous topic :: View next topic
Author Message
krishrammohan
PostPosted: Wed Aug 29, 2001 7:15 am Post subject: Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Wed Aug 29, 2001 8:41 am Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSRun of mqseries program resulted in UnsatisfiedLinkError
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.