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 » MQ Java packaging - why jms.jar?

Post new topic  Reply to topic
 MQ Java packaging - why jms.jar? « View previous topic :: View next topic » 
Author Message
brpope
PostPosted: Wed Oct 24, 2001 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
brpope
PostPosted: Wed Oct 24, 2001 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
tomtran
PostPosted: Thu Oct 25, 2001 2:24 pm    Post subject: Reply with quote

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
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 » MQ Java packaging - why jms.jar?
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.