com.sun.messaging.jms.JMSException

>MQRA:DCF:allocation failure:createConnection:Error in allocating a >connection. Cause: In-use connections equal max-pool-size and expired >max-wait-time. Cannot allocate more connections. > at >com.sun.messaging.jms.ra.DirectConnectionFactory._allocateConnection(DirectConnectionFactory.java:574) > at >com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:262) > at >com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:241) > at >com.kishware.core.framework.dao.audit.openjpa.util.OpenJPAUtils.postDirtyResult(OpenJPAUtils.java:340) > at >com.kishware.core.framework.audit.listener.GeneralEntityListener.postUpdateChanges(GeneralEntityListener.java:29) >

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web103

  • >MQRA:DCF:allocation failure:createConnection:Error in allocating a >connection. Cause: In-use connections equal max-pool-size and expired >max-wait-time. Cannot allocate more connections. > at >com.sun.messaging.jms.ra.DirectConnectionFactory
  • via Stack Overflow by NBW
    , 1 year ago
    MQRA:DCF:allocation failure:createConnection:Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
  • MQRA:CFA:allocation failure:createConnection:Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections. at com.sun.messaging.jms.ra.ConnectionFactoryAdapter
  • Stack trace

    • com.sun.messaging.jms.JMSException: >MQRA:DCF:allocation failure:createConnection:Error in allocating a >connection. Cause: In-use connections equal max-pool-size and expired >max-wait-time. Cannot allocate more connections. > at >com.sun.messaging.jms.ra.DirectConnectionFactory._allocateConnection(DirectConnectionFactory.java:574) > at >com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:262) > at >com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:241) > at >com.kishware.core.framework.dao.audit.openjpa.util.OpenJPAUtils.postDirtyResult(OpenJPAUtils.java:340) > at >com.kishware.core.framework.audit.listener.GeneralEntityListener.postUpdateChanges(GeneralEntityListener.java:29) > at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.