|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS/MQ ResourceAllocationException |
« View previous topic :: View next topic » |
Author |
Message
|
davidd79 |
Posted: Tue Sep 07, 2004 12:44 am Post subject: JMS/MQ ResourceAllocationException |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 1
|
Hi,
I have a simple request reply process in place, but am experiencing the following error,
Failed to write to reply queue queue://Q2LIVHA2
F1/WMQ01.0000.DMS01: MQJMS2008: failed to open MQ queue
javax.jms.ResourceAllocationException: MQJMS2008: failed to open MQ queue
It our tester is run, it works fine for the first 30 mins or so and then we fail to open the reply queue due to the above error. Does anyone know the cause of this error? Is it too many open connections??
I have checked the code and we lazy instantiate the reply queue, so we should reuse the same queue and not open a new one. We also resue the same JMSSession.
/**
* Lazy instantiated (thread safe) accessor for the JMS error queue
*
* @return Queue
*
*/
public synchronized Queue getJMSReplyQueue() throws JMSException, CorrespondenceException
{
if (m_replyQueue == null)
{
String queueURL = "queue://" + getMqProperties().get("queueManager") + "/" + getMqProperties().get("outputQueue");
m_replyQueue = getJMSSession().createQueue(queueURL);
}
return m_replyQueue;
} |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 07, 2004 5:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Look in your system logs.
Also, please catch the Linked Exception, which will contain the MQ reason and completion codes that will tell you what the real problem is. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Tue Sep 07, 2004 6:18 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|