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 » JMS application and XA and MQ

Post new topic  Reply to topic
 JMS application and XA and MQ « View previous topic :: View next topic » 
Author Message
PieterV
PostPosted: Fri Sep 29, 2006 3:49 am    Post subject: JMS application and XA and MQ Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

Hello,

we have a JMS application who would like to use XA with MQ 6.

MQ <-> application server <-> DB

the application server is the syncpoint coordinator.



We have troubles finding a guideline what we need to configure.
at this point we have defined JNDI objects:

a com.ibm.mq.jms.MQXAQueueConnectionFactory
a com.ibm.mq.jms.MQQueueConnectionFactory
and some MQQueues.

without XA it works, but with XA we get following error:

javax.jms.JMSException: MQJMS1068: failed to obtain XAResource

Do we need to configure a XA resource manager on the MQ side?
Even if MQ is not the syncpoint coordinator?

Do we need to use WebSphere MQ Extended Transactional Client ?


If we need to configure something on the MQ side, does anybody has an example?


Update:
this is the fault under the above fault:
Code:

javax.transaction.xa.XAException: client connection not XA enabled
   at com.ibm.mq.MQXAResource.createXAException(MQXAResource.java:794)
   at com.ibm.mq.MQSESSIONClient.XAOPEN(MQSESSIONClient.java:458)
   at com.ibm.mq.MQXAResource.<init>(MQXAResource.java:110)
   at com.ibm.mq.MQXAQueueManager.getXAResource(MQXAQueueManager.java:270)
   at com.ibm.mq.jms.MQXAQueueConnection.createXAQueueSession(MQXAQueueConnection.java:101)



thx


Pieter
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 29, 2006 4:11 am    Post subject: Re: JMS application and XA and MQ Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

PieterV wrote:
Do we need to use WebSphere MQ Extended Transactional Client ?


No.

You could use a bindings connection a local queue manager instead.

But you can't do XA with a client connection, unless you use the ETC.

Remember that the ETC is licensed at the same cost as a Qmgr.
_________________
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 » JMS application and XA and MQ
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.