- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi I am getting following exception, your solution will save my time.
[12/7/06 10:18:36:594 IST] 717a49c2 SystemOut O --------------- in the MQ class -------------
[12/7/06 10:18:36:594 IST] 717a49c2 SystemOut O --------------- >>> After acquiring context info
[12/7/06 10:18:36:688 IST] 717a49c2 SystemOut O --------------- >>> After acquiring ContextFactory--------
[12/7/06 10:18:36:688 IST] 717a49c2 SystemOut O --------------- >>> 11111 : com.ibm.ejs.jms.JMSQueueCo
[12/7/06 10:18:37:047 IST] 717a49c2 FreePool E J2CA0046E: Method createManagedConnctionWith
at com.ibm.ejs.jms.JMSCMUtils
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.WSJMSManag
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
Next Linked Exception:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '10.65.6.31:TEST.QM'
at com.ibm.mq.jms.services.Co
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.WSJMSManag
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
Next Linked Exception:
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.MQManagedConnec
at com.ibm.mq.MQClientManaged
at com.ibm.mq.MQClientManaged
at com.ibm.mq.StoredManagedCo
at com.ibm.mq.MQSimpleConnect
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManager.
at com.ibm.mq.MQSPIQueueManag
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.WSJMSManag
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
Caused by: com.ibm.mqservices.MQInter
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQSESSIONClient
at com.ibm.mq.MQSESSIONClient
at com.ibm.mq.MQManagedConnec
... 48 more
[12/7/06 10:18:37:078 IST] 717a49c2 ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.Resourc
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
---- Begin backtrace for Nested Throwables
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '10.65.6.31:TEST.QM'
at com.ibm.mq.jms.services.Co
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.WSJMSManag
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
---- 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.MQManagedConnec
at com.ibm.mq.MQClientManaged
at com.ibm.mq.MQClientManaged
at com.ibm.mq.StoredManagedCo
at com.ibm.mq.MQSimpleConnect
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManagerF
at com.ibm.mq.MQQueueManager.
at com.ibm.mq.MQSPIQueueManag
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQConnectio
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.mq.jms.MQQueueConn
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.jms.WSJMSManag
at com.ibm.ejs.jms.JMSManaged
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.poolmanage
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.j2c.Connection
at com.ibm.ejs.jms.JMSQueueCo
at testAppServlet.doGet(testA
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.se
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.we
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.ca
at com.ibm.ws.webcontainer.sr
at com.ibm.ws.webcontainer.os
at com.ibm.ws.webcontainer.ht
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.http.HttpConnec
at com.ibm.ws.util.ThreadPool
Caused by: com.ibm.mqservices.MQInter
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQv6InternalCom
at com.ibm.mq.MQSESSIONClient
at com.ibm.mq.MQSESSIONClient
at com.ibm.mq.MQManagedConnec
... 48 more
.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: rama_krishna580Posted on 2006-12-20 at 06:54:09ID: 18173454
Hi,
ateTopicCo nnection fails due to a lack of JMS provider resources.
/tech/WAS5 1/trouble_ messaging. html com/infoce nter/wasin fo/v5r1// i ndex.jsp?t opic=/com. ibm.websph ere.nd.doc /info/ae/a e/ rmj_prob 0.html
This exception is thrown when a provider is unable to allocate the resources required by a method. For example, this exception should be thrown when call to TopicConnectionFactory.cre
Check that the JMS server is running (including that the Internal WebSphere Messaging or WebSphere MQ JMS provider was installed correctly) as described in preceding tips.
Note that In a Network Deployment or Enterprise multi-node cell, the JMS server used by a messaging application can be on a different node to the application. Either check that all JMS servers in the cell have started, or use the Administrative console to determine which JMS server the application is trying to connect to (look at the Node property of the appropriate connection factory), then check that the JMS server has started.
More info look at here... http://www.skywayradio.com
http://publib.boulder.ibm.
R.K