|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
javax.transaction.xa.XAException: client connection not XA e |
« View previous topic :: View next topic » |
Author |
Message
|
michaell |
Posted: Mon Jun 28, 2004 10:58 am Post subject: javax.transaction.xa.XAException: client connection not XA e |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Jun 28, 2004 11:01 am Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Mon Jun 28, 2004 11:03 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Jun 28, 2004 11:04 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|