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 » Running in binding mode

Post new topic  Reply to topic
 Running in binding mode « View previous topic :: View next topic » 
Author Message
AlexeiSkate
PostPosted: Mon Apr 22, 2002 11:48 am    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2002
Posts: 123

Hi,

I'm trying to run a simple 'put onto queue' program in binding mode but I deep getting "NoClassDefFoundError: javax/transaction/xa/XAException @com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:67) ....".

I have the com.ibm.mqbind.jar in my classpath, and the mqjava is installed on the same machine as the MQServer. When I run my program in client mode by defining the MQEnvironment fields (hostname, channel, port #), the program runs fine. When I remove the MQEnvironment definition to run the program in binding mode, I get the exception listed above. Does anyone have any hint/idea as to why this is happening ? Thanks in advance.

- Alex
Back to top
View user's profile Send private message
Vin
PostPosted: Mon Apr 22, 2002 12:38 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Alex,
Try putting the jta.jar file in the classpath and run the application. I'm sure it will work
Vin
Back to top
View user's profile Send private message
AlexeiSkate
PostPosted: Mon Apr 22, 2002 1:34 pm    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2002
Posts: 123

Thanks Vin. That did the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Running in binding mode
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.