This week's book giveaway is in the
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
MQ Connect Exception
Joined: Nov 14, 2005
Apr 27, 2008 22:52:00
In a continuous thread, after some fixed intervals I am reading a queue to check for any new available message. After around 10 - 20 successful intervals I receive following exception
javax.naming.ServiceUnavailableException: Unable to connect to the target queue manager 192.168.0.217:1416/SYSTEM.DEF.SVRCONN. Root exception is 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:212) at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318) at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:338) at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:84) at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168) at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:772) at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:697) at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:657) at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:153) at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:451) at com.ibm.mq.pcf.PCFAgent.connect(PCFAgent.java:240)
Anyone please help
"Know where to find the solution and how to use it - that's the secret of success."
I agree. Here's the link:
- it saves me about five hours per week
subject: MQ Connect Exception
Create connection to queue factory gives resource allocation exception....
MQ ssl problem in Linux
Not able to connect to MQQueueManager using WAS6.0, RAD and Websphere MQ
Websphere MQ with JAAS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013