users@glassfish.java.net

error on allocating connection from connection pool

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Sep 2009 04:16:44 PDT

Hello,
I have a couple of MDB that write simultaneously on a queue.
After a while I got this exception .

RAR5117 : Failed to obtain/create connection from connection pool [ mypool ]. Reason : MQJMS2005: failed to create MQQueueManager for 'localhost:QM_cs103006300370'
Error in allocating a connection. Cause: MQJMS2005: failed to create MQQueueManager for 'localhost:QM_cs103006300370'
javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: MQJMS2005: failed to create MQQueueManager for 'localhost:QM_cs103006300370'
        at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:353)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
        at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:75)
        at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:115)
        at mdb.SimpleMessageBean.onMessage(SimpleMessageBean.java:124)



Can someone help ?
I am using Glassfish, generic resource adapter and Websphere MQ Queue.

Thanks and regards

Maria
[Message sent by forum member 'marogl' (marogl_at_libero.it)]

http://forums.java.net/jive/thread.jspa?messageID=365037