|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Java packaging - why jms.jar? |
« View previous topic :: View next topic » |
Author |
Message
|
brpope |
Posted: Wed Oct 24, 2001 12:20 pm Post subject: |
|
|
Novice
Joined: 01 Aug 2001 Posts: 10
|
I've got a simple MQ Java (non-JMS) program that apparently needs jms.jar to work? Running, with just com.ibm.mq.jar in the CLASSPATH, I get a stack trace with the missing class being javax/transaction/xa/XAException (this in response to creating an MQQueueManager object).
I can easily add jms.jar to the CLASSPATH but it makes me wonder if I'm doing something fundementally wrong with MQ/Java if I've got to have jms.jar for a program that doesn't use any JMS support directly.
I just updated with the lastest MQ88_win support pack but have the same situation under Solaris.
Thanks, Ben
|
|
Back to top |
|
 |
brpope |
Posted: Wed Oct 24, 2001 12:50 pm Post subject: |
|
|
Novice
Joined: 01 Aug 2001 Posts: 10
|
O.K., so I'm blind, it not jms.jar but jta.jar that contains javax/transaction/xa/XAException. |
|
Back to top |
|
 |
tomtran |
Posted: Thu Oct 25, 2001 2:24 pm Post subject: |
|
|
Newbie
Joined: 15 Oct 2001 Posts: 4
|
I had the same question. I just upgraded to MA_88, and my app now requires that I include jta.jar in my classpath, otherwise I get that exception.
Does anyone know why this jar is necessary?
I'm using non-jms code, in bindings mode. |
|
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
|
|
|
|