I've been using a variation on the method described by Peter Callies in the thread "MQSeries/JBoss MDB/3rd Party Messaging" to integrate MQSeries 5.2 with JBoss 2.4.7. So far, so good (except for the NullPointerException which Peter refers to).
Until now, the underlying JNDI reference to a queue connection factory has used the MQQueueConnectionFactory class. The version of the MQ JMS classes I have (ma88_win.zip) supports XA transactions, so I changed the underlying JNDI reference to MQXAQueueConnectionFactory.
I am using a very simple Message Driven Bean, which was fine with the non-XA QCF, but with the XA QCF configured, I get the following error when starting JBoss:
[ERROR,MessageDrivenContainer] Serious error in init:
javax.jms.JMSException: MQJMS1068: failed to obtain XAResource
[...and loads more...]
Does anybody have any ideas on this? I've checked the IBM web site and there is no mention of the error code quoted (MQJMS1068).
I don't know, but another good place to look for MQSeries information is www.mqseries.net.