ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » a simple runtime problem

Post new topic  Reply to topic
 a simple runtime problem « View previous topic :: View next topic » 
Author Message
skytorch
PostPosted: Mon Jul 08, 2002 1:00 pm    Post subject: a simple runtime problem Reply with quote

Apprentice

Joined: 10 Jun 2002
Posts: 47
Location: New York City

Hi,

I've a MQ Java Client that is accessing a QM at a MQ 5.1 server on win 2000. It used to work. But today i've got some runtime error as the following:

D:\work\mq>java TradeSender
Exception in thread "main" java.lang.NoClassDefFoundError: javax/resource/ResourceException
at com.ibm.mq.MQEnvironment.<clinit>(MQEnvironment.java:224)
at TradeSender.<init>(TradeSender.java:14)
at TradeSender.main(TradeSender.java:78)

But I do have all the jar files as the following:
classpath=c:\program files\mqseries\java\lib\com.ibm.mq.jar;c:\program files\mqseries\java\lib\com.ibm.mq.iiop.jar;c:\program files\mqseries\java\lib\com.ibm.mqbind.jar;.;d:\java\jdk\1.3\jre\lib\rt.jar;d:\java\jdk\1.3\lib\tools.jar;d:\java\servlet\2.2\servlet.jar

I wonder what could go wrong, especially it was working last week.

Thanks.

Sky
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Jul 09, 2002 6:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

This is either the jta.jar or the connector.jar missing from your classpath. I can't remember which.....
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » a simple runtime problem
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.