• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to connect to MQQueueManager using WAS6.0, RAD and Websphere MQ

 
prasadsh shembekar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am using WAS6.0, RAD, MDB and WebSphere MQ for my application. I configured the QueueConnetionFactory, Destination and ListenerPort. I bound the MDB with the ListenerPort. But when i started the server i received the following exceptions:
Caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'ibp1522:GDSDEV'

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.createQMNonXA(MQConnection.java:1739)
at com.ibm.mq.jms.MQQueueConnection.<init>MQQueueConnection.java:144)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnectionMQQueueConnectionFactory.java:106)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection
JMSManagedQueueConnection.java:128)
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:241)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:70)
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:95)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:582)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1502)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:81)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:406)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:680)
at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:653)
at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:962)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
Next Linked Exception:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'ibp1522:GDSDEV'
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.createQMNonXA(MQConnection.java:1739)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)

at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)

at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:128)

at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:241)

at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:70)

at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:95)

at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:582)

at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1502)

at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)

at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)

at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)

at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)

at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:81)

at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:406)

at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:680)

at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:653)

at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:962)

at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)



[6/4/07 11:10:07:197 IST] 00000029 MDBListenerIm W WMSG0019E : Unable to start MDB Listener MessageListener, JMSDestination gds/q : javax.jms.JMSException: Failed to create queue connection

at com.ibm.ejs.jms.JMSCMUtils.mapToJMSException(JMSCMUtils.java:97)

at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:87)

at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:406)

at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:680)

at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:653)

at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:962)

at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

---- Begin backtrace for Nested Throwables

javax.resource.spi.ResourceAllocationException: createQueueConnection failed

at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1703)

at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)

at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)

at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)

at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)

at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:81)

at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:406)

at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:680)

at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:653)

at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:962)

at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

Caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'ibp1522:GDSDEV'

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.createQMNonXA(MQConnection.java:1739)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)

at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)

at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:128)

at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:241)

at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:70)

at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:95)

at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:582)

at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1502)

at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)

at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)

at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)

at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)

at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:81)

at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:406)

at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:680)

at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:653)

at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:962)

at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

---- Begin backtrace for Nested Throwables

com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009

MQJE016: MQ queue manager closed channel immediately during connect

Closure reason = 2009

at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:242)

at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)

at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:296)

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.createQMNonXA(MQConnection.java:1739)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)

at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection
Here ibp1522 is the hostname and GDSDEV as QueueManager Name.

Can anybody help me out?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!