Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

suportpac ma0j dosent work

Status
Not open for further replies.

burza

Technical User
Jul 19, 2001
23
PL
Hi,

I installed supportpac ma01j (+ Java Runtime Env. 1.1, + IBM MQSeries classes for Java and Java Message Service) on Windows NT. MQ manager is on HP-UX machine (v 5.3).
I can not to connect with MQM manager:

D:\java>jre -cp D:\MQSeries\java\lib\com.ibm.mq.jar;D:\MQSeries\java\lib\jta.jar
;D:\pututility\PutMessage.jar mqjava.programs.PutMessage
Processing MQ input parameters
java.lang.NoClassDefFoundError: javax/resource/spi/ConnectionRequestInfo
at com.ibm.mq.MQSESSION.getConnectionRequestInfo(MQSESSION.java:412)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.jav
a:658) at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:615)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:392)
at mqjava.programs.PutMessage.connect(PutMessage.java:189)
at mqjava.programs.PutMessage.run(PutMessage.java:149)
at java.lang.Thread.run(Thread.java:459)

pleace help
 
ok, I've uninstall MQS v 5.3 form Win NT machine and install MQ Client with Java v 5.1. Ma0j works fine ;)
 
Hi Burza, I have exactly the same problem as you I am new to MQ but quite ok with Java I need to write a particular application at work and I am stuck here.


java.lang.NoClassDefFoundError: javax/resource/spi/ConnectionRequestInfo

Can you remember the solution to this.

Regards
Hakeem
 
Hi Hakeem!

I think problem wat that I was tryying to install Mq0j with MQClient v5.3 installed on machine.
I uninstalled MQ v 5.3 and installed MQ Client v 5.1 (+ JRE v. 1.1) - nothing else.

Regards
Burza
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top