If you are running MQ 5.3, you will also need connector.jar. It is noted in the README 
file.

Regards,
Stephen Hochman
Merrill Lynch
Middleware Technology Services



-----Original Message-----
From: Joshi, A (Anant) [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Help required for MQSeries Java Client on Solaris


Hi,

After adjusting the classpath, a new error pops.
The output of the program follows. The jar file iiop is supported only on
NT.

Please help

Thanks

------------------ Start
java version:
1.3.1_04
java.library.path:
/usr/bin/../java/bin/../jre/lib/sparc/client:/usr/bin/../java/bin/../jre/lib
/sparc::/usr/bin/../java/bin/../jre/../lib/sparc:/usr/lib

CLASSPATH:
.:/usr/java/lib/tools.jar:/usr/java/lib/dt.jar:/usr/j2sdkee1.3.1/j2ee.jar:/o
pt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/
java/lib/jndi.jar:/opt/mqm/java/lib/connector.jar:/opt/mqm/java/lib/jms.jar:
/opt/mqm/java/lib

Exception in thread "main" java.lang.NoClassDefFoundError:
javax/transaction/xa/XAException
        at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:67)
        at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:328)
        at
com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:149)
        at
com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQ
BindingsManagedConnectionFactoryJ11.java:139)
        at
com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQB
indingsManagedConnectionFactoryJ11.java:157)
        at
com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
        at
com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionMa
nager.java:150)
        at
com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:666)
        at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:615)
        at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:392)
        at MessageCopy.openConnection(MessageCopy.java:130)
        at MessageCopy.<init>(MessageCopy.java:92)
        at MessageCopy.main(MessageCopy.java:63)
----------- End

-----Original Message-----
From: Jitkhoon Low [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 12:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Help required for MQSeries Java Client on Solaris


Hi

There should be abt 7 jar file that u need to reference to in your
classpath


com.ibm.mq.iiop.jar
com.ibm.mq.jar
com.ibm.mqbind.jar
com.mqjms.jar
jms.jar
providerutil.jar
fscontext.jar




Regards

Low Jit Khoon
Software Engineer
Lido AeroNet Pte Ltd
80 Raffles Place
#47-01 UOB Plaza1
Singapore 048624
Tel: 3790144
Fax:3790150



                      "Joshi, A (Anant)"
                      <[EMAIL PROTECTED]        To:
[EMAIL PROTECTED]
                      BOBANK.COM>                cc:
                      Sent by: MQSeries          Subject:  Help required for
MQSeries Java Client on Solaris
                      List
                      <MQSERIES@AKH-WIEN.
                      AC.AT>


                      09/19/02 04:15 AM
                      Please respond to
                      MQSeries List






Hi,

We have installed MA88 support pack on Solaris.

The JDK version is 1.3.1

The sample application MQIVP returns following error
after entering Queue Manager name:
Failure: Missing software, may be MQSeries, or VBROKER_ADM variable
java.lang.NoClassDefFoundError: javax/resource/ResourceException

When we run our own Java class, the error NoClassDefFoundError
is thrown for line
qm1= new com.ibm.mq.MQQueueManager(qmname);

Following is output of lines to verify version and classpath:
===============================
java version:
1.3.1_04

CLASSPATH:
.:/usr/java/lib/tools.jar:/usr/java/lib/dt.jar:/usr/j2sdkee1.3.1/j2ee.jar:/o

pt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqbind.jar:/opt/mqm

/java/lib/jta.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar
============================

Any suggestions to fix this will be greatly appreciated.

TIA

==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
==================================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.


==================================================================

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
==================================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.


==================================================================

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to