× 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.



Yes. It is the last entry on the library list.

Attila 




"Gary L Peskin" <garyp@xxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
09/18/2003 11:38 AM
Please respond to Java Programming on and around the iSeries / AS400 

 
        To:     "'Java Programming on and around the iSeries / AS400'" 
<java400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: ma88 for MQ 5.2 - java.lang.UnsatisfiedLinkError


The book says to make sure that QMQMJAVA is in your library list.  Is it?

Gary

> -----Original Message-----
> From: java400-l-bounces@xxxxxxxxxxxx 
> [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of 
> Attila_Halasz@xxxxxxxxxxx
> Sent: Wednesday, September 17, 2003 8:12 AM
> To: java400-l@xxxxxxxxxxxx
> Subject: ma88 for MQ 5.2 - java.lang.UnsatisfiedLinkError
> 
> 
> 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;Lja
> va/util/Hash...
> 
> com/ibm/mq/MQBindingsManagedConnectionFactoryJ11._createManage
> dConnection(...
> 
> com/ibm/mq/MQBindingsManagedConnectionFactoryJ11.createManaged
> Connection(L...
> 
> com/ibm/mq/StoredManagedConnection.<init>(Lcom/ibm/mq/MQManage
> dConnectionF...
> 
> com/ibm/mq/MQSimpleConnectionManager.allocateConnection(Lcom/i
> bm/mq/MQMana...
> 
> com/ibm/mq/MQQueueManager.obtainBaseMQQueueManager(Ljava/lang/
> String;Ljava...
> 
> com/ibm/mq/MQQueueManager.construct(Ljava/lang/String;Ljava/ut
> il/Hashtable...
> 
> com/ibm/mq/MQQueueManager.<init>(Ljava/lang/String;Ljava/util/
> Hashtable;)V...
> 
> com/ibm/mq/MQSPIQueueManager.<init>(Ljava/lang/String;Ljava/ut
> il/Hashtable...
> 
> com/ibm/mq/jms/MQConnection.createQM()Lcom/ibm/mq/MQQueueManager;+0 
> (MQCon... 
> com/ibm/mq/jms/MQConnection.createQMNonXA()Lcom/ibm/mq/MQQueue
> Manager;+0 
> (...
> 
> com/ibm/mq/jms/MQQueueConnection.<init>(Lcom/ibm/mq/jms/MQQueu
> eConnectionF...
> 
> com/ibm/mq/jms/MQQueueConnection.<init>(Lcom/ibm/mq/jms/MQQueu
> eConnectionF...
> 
> 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
> _______________________________________________
> This is the Java Programming on and around the iSeries / 
> AS400 (JAVA400-L) mailing list To post a message email: 
> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
> list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




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.