|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Running in binding mode |
« View previous topic :: View next topic » |
Author |
Message
|
AlexeiSkate |
Posted: Mon Apr 22, 2002 11:48 am Post subject: |
|
|
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 |
|
 |
Vin |
Posted: Mon Apr 22, 2002 12:38 pm Post subject: |
|
|
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 |
|
 |
AlexeiSkate |
Posted: Mon Apr 22, 2002 1:34 pm Post subject: |
|
|
Centurion
Joined: 10 Apr 2002 Posts: 123
|
Thanks Vin. That did the trick. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|