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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running MQ applications Using Java 5.3

Status
Not open for further replies.

hakeem46

Programmer
Dec 19, 2002
2
0
0
SE
When I compile my program it is compiled correctly but when I try running it this is the message I get
Please help I have MQ v5.3 and my java compiler is Jdk 1.3.1_06-b01,mixed mode and below is my error message


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

I'm encountering the same problem now. Spent more than a week debugging and to no avail. Do you still remember the solution to your problem?

Thanks.
 
Hi,
I am also experiencing this did you find a solution to the problem ?

Thank you
 
Figured it out...

You need to add connector.jar to your classpath.

More info available at:

Or with highlighting:

It says:
4) Note that connector.jar is now packaged in the java/lib directory with
the other jar files. Users familiar with MQSeries classes for Java and
MQSeries classes for Java Message Service (MA88) 5.2 must be aware of
the following issues relating to this change:

- An entry must be made for connector.jar in the CLASSPATH, as described
on page 12 of the Using Java manual.

- Users who have implemented their own ConnectionManagers as described
on page 70 of the Using Java manual must replace references to
com.ibm.mq.resource and com.ibm.mq.resource.spi with references
to javax.resource and javax.resource.spi respectively.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top