Author |
Message
|
atheek |
Posted: Mon May 14, 2007 2:50 am Post subject: Weblogic - JMS Bridge MQJMS2005 |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
Hi all,
We have a j2ee application deployed in weblogic 8.1 sp 4. The appln posts messages to a jms queue and a JMS messaging bridge is used to transfer the message to a MQ on the same box( bridge uses binding mode). This has working fine until a few days back. NOw we are getting the following exception when trying to start the bridge:
<Bridge "XXX" failed to connect to the target destination and will try again in 60 seconds. (java.lang.Exception: javax.resource.ResourceException: Failed to start the connection
-------------- Linked Exception ------------
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'abcd'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:569)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2311)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1692)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:97)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:46)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:63)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:258)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:219)
at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:188
-------------- Linked Exception 2 ------------
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058 at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:249)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:153)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:189)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:754)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:688)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:469)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2238)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1692)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:97)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:46)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:63)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:258)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:219)
at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:188)
at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:127)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:312)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:259)
at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:570)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:253)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:646)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:120)
at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:809)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:991)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I can confirm that queue manager "abcd" was running when we started the bridge. Any idea on why this exception has come? |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Mon May 14, 2007 2:54 am Post subject: Re: Weblogic - JMS Bridge MQJMS2005 |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Code: |
mqrc 2058
2058 0x0000080a MQRC_Q_MGR_NAME_ERROR
|
I dont know.
Maybe you changed something.
I think you should check JMS and QMGR definition. _________________ Marcin
Last edited by marcin.kasinski on Mon May 14, 2007 2:55 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 14, 2007 2:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
2058 (as I'm sure your researches have shown) is queue manager name error. Ensure the queue manager name is spelt correctly (i.e. how you expect it to do spelt) and that it's not being folded to upper/lower case unexpectedly.
Also verify that no-one's accidently changed to using a client connection instead of a binding one. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
atheek |
Posted: Mon May 14, 2007 3:20 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
Quote: |
-------------- Linked Exception ------------
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'abcd'
|
The qmgr name "abcd" (name changed for security reasons) is exactly spelt the same as running qmgr. Any other hint for this exception. |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 14, 2007 3:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Vitor wrote: |
Also verify that no-one's accidently changed to using a client connection instead of a binding one. |
This remains my next best guess. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 14, 2007 12:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
atheek wrote: |
Quote: |
-------------- Linked Exception ------------
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'abcd'
|
The qmgr name "abcd" (name changed for security reasons) is exactly spelt the same as running qmgr. Any other hint for this exception. |
You say it is spelled the same. But is it in the same case as what you see when you use dspmq ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|