Posted: Fri Sep 29, 2006 3:49 am Post subject: JMS application and XA and MQ
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)
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