Posted: Thu Apr 22, 2004 4:59 pm Post subject: Configuring MQ as an XA JMS resource
Apprentice
Joined: 23 May 2002 Posts: 29
Hello,
I have a question. Is there some configuration required on MQ in order to make it an XA JMS resource? I am testing with some java code and have configured the XA connection factory using JMSadmin. I continually get this error message and think it is related to something not being configured on the MQ side.
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:WAL_553422'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(Ljava.lang.String;Ljava.lang.Object;)Ljavax.jms.JMSException;(ConfigEnvironment.java:546)
at com.ibm.mq.jms.MQConnection.createQM()Lcom.ibm.mq.MQQueueManager;(MQConnection.java:1450)
at com.ibm.mq.jms.MQConnection.createQMXA()Lcom.ibm.mq.MQQueueManager;(MQConnection.java:915)
at com.ibm.mq.jms.MQQueueConnection.<init>(Lcom.ibm.mq.jms.MQQueueConnectionFactory;Ljava.lang.String;Ljava.lang.String;)V(MQQueueConnection.java:118)
at com.ibm.mq.jms.MQQueueConnection.<init>(Lcom.ibm.mq.jms.MQQueueConnectionFactory;)V(MQQueueConnection.java:77)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(Lcom.ibm.mq.jms.MQQueueConnectionFactory;)V(MQXAQueueConnection.java:46)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection()Ljavax.jms.XAQueueConnection;(MQXAQueueConnectionFactory.java:53)
at XAQueueSendJtc.init(Ljavax.naming.Context;Ljava.lang.String;)V(XAQueueSendJtc.java:56)
at XAQueueSendJtc.main([Ljava.lang.String;)V(XAQueueSendJtc.java:110)
This same question applies to creating topics as well. I have some sample Java code and created a MQTopicFactory using JmsAdmin and am getting an error message as well. I think I have to make some MQ settings in order to resolve both of these problems. Any input or confirmation is much appreciated. Thanks.
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