× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We installed the latest support pack for MQ: 5.2.2.  I'm receiving this 
exception when running a JMS application:

java.lang.UnsatisfiedLinkError: Can't load library: 
/QSYS.LIB/QMQMJAVA.LIB/MQJBDF01.SRVPGM
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 
(Throwable.java:85) 
      java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)  
      java/lang/LinkageError.<init>(Ljava/lang/String;)V+1 
(LinkageError.java:34)
 
java/lang/ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+78 
(ClassLoader.java:1318)
      java/lang/Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+54 
(Runtime.java:693)
      java/lang/System.load(Ljava/lang/String;)V+6 (System.java:792)  
      com/ibm/mq/MQSESSION.loadLib(Ljava/lang/String;)V+0 
(MQSESSION.java:452) 
      com/ibm/mq/server/MQSESSION$2.run()Ljava/lang/Object;+0 
(MQSESSION.java:217)
      com/ibm/mq/server/MQSESSION.loadDefMsgLibrary()V+0 
(MQSESSION.java:202) 
 
com/ibm/mq/server/MQSESSION.spiConnect(Ljava/lang/String;ILcom/ibm/mq/Pint...
 
com/ibm/mq/MQManagedConnectionJ11.<init>(Ljava/lang/String;Ljava/util/Hash...
 
com/ibm/mq/MQBindingsManagedConnectionFactoryJ11._createManagedConnection(...
 
com/ibm/mq/MQBindingsManagedConnectionFactoryJ11.createManagedConnection(L...
 
com/ibm/mq/StoredManagedConnection.<init>(Lcom/ibm/mq/MQManagedConnectionF...
 
com/ibm/mq/MQSimpleConnectionManager.allocateConnection(Lcom/ibm/mq/MQMana...
 
com/ibm/mq/MQQueueManager.obtainBaseMQQueueManager(Ljava/lang/String;Ljava...
 
com/ibm/mq/MQQueueManager.construct(Ljava/lang/String;Ljava/util/Hashtable...
 
com/ibm/mq/MQQueueManager.<init>(Ljava/lang/String;Ljava/util/Hashtable;)V...
 
com/ibm/mq/MQSPIQueueManager.<init>(Ljava/lang/String;Ljava/util/Hashtable...
      com/ibm/mq/jms/MQConnection.createQM()Lcom/ibm/mq/MQQueueManager;+0 
(MQCon...
 com/ibm/mq/jms/MQConnection.createQMNonXA()Lcom/ibm/mq/MQQueueManager;+0 
(...
 
com/ibm/mq/jms/MQQueueConnection.<init>(Lcom/ibm/mq/jms/MQQueueConnectionF...
 
com/ibm/mq/jms/MQQueueConnection.<init>(Lcom/ibm/mq/jms/MQQueueConnectionF...
 
com/ibm/mq/jms/MQQueueConnectionFactory.createQueueConnection()Ljavax/jms/...


Note: The client connection is working OK, the error we receiving is 
during binding connection.

The JVM is started with a classpath:

 classpath('+ 
   /QIBM/ProdData/mqm/java/lib/com.ibm.mq.jar:+ 
   /QIBM/ProdData/mqm/java/lib/com.ibm.mqjms.jar:+ 
   /QIBM/ProdData/mqm/java/lib/connector.jar:+ 
   /QIBM/ProdData/mqm/java/lib/jms.jar:+ 
   /QIBM/ProdData/mqm/java/lib/jndi.jar:+ 
   /QIBM/ProdData/mqm/java/lib/jta.jar:+ 
   /QIBM/ProdData/mqm/java/lib:+ 
   ...)

and properties:
               PROP((java.version 1.3) + 
                    (user.timezone EST) + 
                    (os400.stdout &LOGOUT) + 
                    (os400.stderr &LOGERR) + 
                    (java.library.path '/QSYS.LIB/QMQMJAVA.LIB')  

The service program exist in QMQMJAVA library.

Any idea what is causing this exception?

Thanks,
Attila

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.