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 » javax.transaction.xa.XAException: client connection not XA e

Post new topic  Reply to topic
 javax.transaction.xa.XAException: client connection not XA e « View previous topic :: View next topic » 
Author Message
michaell
PostPosted: Mon Jun 28, 2004 10:58 am    Post subject: javax.transaction.xa.XAException: client connection not XA e Reply with quote

Newbie

Joined: 28 Jun 2004
Posts: 1

Hi, All,

When I use a client connection, I have problem creating XA Queue Session. Please see the details in the following stack trace. However, if
I use server connection, it works fine. I run it as a standalone application.

Could you please help me if you know the answer?

Thanks a lot in advance!

Michael

4 javax.jms.JMSException: MQJMS1068: failed to obtain XAResource [linked e
xception: javax.transaction.xa.XAException: client connection not XA enabled]
5 javax.jms.JMSException: MQJMS1068: failed to obtain XAResource
6 at com.ibm.mq.jms.services.ConfigEnvironment.newException(Config
Environment.java:540)
7 at com.ibm.mq.jms.MQXAQueueConnection.createXAQueueSession(MQXAQ
ueueConnection.java:96)
8 at com.bristol.tvision.jmstestsuite.PTPUtility.createXAQueueSess
ion(PTPUtility.java:372)
9 at com.bristol.tvision.jmstestsuite.appserver.PTP.xaconnection.C
reateXAQueueSession.createSimpleXASession(CreateXAQueueSession.java:47)
10 at com.bristol.tvision.jmstestsuite.appserver.PTP.xaconnection.C
reateXAQueueSession.doTest(CreateXAQueueSession.java:31)
11 at com.bristol.tvision.jmstestsuite.JMSTestRunner.main(JMSTestRu
nner.java:49)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 28, 2004 11:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't make an XA connection with a standard client.

You need the Extended Transactional Client to make XA client connections.

The Extended Transactional Client costs as much to license as a full queue manager.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jun 28, 2004 11:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I don't think XAQCF will work with clients. For that you need extended transactional client. I would like somebody to second me on that please.

[I haven't seen Jeff's post before I posted. So what I said holds true. ]


Last edited by vennela on Mon Jun 28, 2004 11:05 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Jun 28, 2004 11:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

vennela wrote:
I don't think XAQCF will work with clients. For that you need extended transactional client. I would like somebody to second me on that please.


I think beating you to the punch counts as seconding you...
_________________
I am *not* the model of the modern major general.
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 » javax.transaction.xa.XAException: client connection not XA e
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.