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) >

Oracle Community | 392 Guest | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to configure connection pool to resolve failure in obtaining connections

    Oracle Community | 7 years ago | 392 Guest
    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) >

    Root Cause Analysis

    1. 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()
    2. Java RT
      GeneratedMethodAccessor146.invoke
      1. sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
      1 frame