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.

Oracle Community | 392 Guest | 6 years ago
  1. 0

    How to configure connection pool to resolve failure in obtaining connections

    Oracle Community | 6 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.
  2. 0

    Running into errors allocating connections

    Stack Overflow | 2 years ago | NBW
    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.
  3. 0

    Problems with routing message to separate errorQueue

    Stack Overflow | 2 years ago | user3715337
    com.sun.messaging.jms.JMSException: MQRA:DCF:allocation failure:createConnection:Error in allocating a connection. Cause: javax.transaction.RollbackException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I increase the max pool size for JMS queue with Glassfish Server

    Stack Overflow | 1 year ago | john.p.doe
    com.sun.messaging.jms.JMSException: 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.
  6. 0

    JMS error: Cannot allocate more connections. - Dmitry Mozheyko - net.java.dev.glassfish.dev - MarkMail

    markmail.org | 7 months ago
    com.sun.messaging.jms.JMSException: 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._createConnection(ConnectionFactoryAdapter.java:153) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(ConnectionFactoryAdapter.java:136) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(ConnectionFactoryAdapter.java:118)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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()
    2. com.sun.messaging
      DirectConnectionFactory.createConnection
      1. com.sun.messaging.jms.ra.DirectConnectionFactory._allocateConnection(DirectConnectionFactory.java:574)
      2. com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:262)
      3. com.sun.messaging.jms.ra.DirectConnectionFactory.createConnection(DirectConnectionFactory.java:241)
      3 frames
    3. com.kishware.core
      GeneralEntityListener.postUpdateChanges
      1. com.kishware.core.framework.dao.audit.openjpa.util.OpenJPAUtils.postDirtyResult(OpenJPAUtils.java:340)
      2. com.kishware.core.framework.audit.listener.GeneralEntityListener.postUpdateChanges(GeneralEntityListener.java:29)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    5. OpenJPA Aggregate Jar
      EntityManagerImpl.flush
      1. org.apache.openjpa.event.BeanLifecycleCallbacks.makeCallback(BeanLifecycleCallbacks.java:85)
      2. org.apache.openjpa.event.LifecycleEventManager.makeCallbacks(LifecycleEventManager.java:340)
      3. org.apache.openjpa.event.LifecycleEventManager.fireEvent(LifecycleEventManager.java:302)
      4. org.apache.openjpa.kernel.BrokerImpl.fireLifecycleEvent(BrokerImpl.java:688)
      5. org.apache.openjpa.kernel.StateManagerImpl.fireLifecycleEvent(StateManagerImpl.java:352)
      6. org.apache.openjpa.kernel.StateManagerImpl.afterFlush(StateManagerImpl.java:1008)
      7. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2033)
      8. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
      9. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1679)
      10. org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:989)
      11. org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:592)
      11 frames
    6. Common Utilities
      EntityManagerWrapper.flush
      1. com.sun.enterprise.util.EntityManagerWrapper.flush(EntityManagerWrapper.java:331)
      1 frame
    7. com.kishware.core
      EntityManagerExtension.save
      1. com.kishware.core.gl.dao.jpa.EntityManagerExtension.save(EntityManagerExtension.java:90)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
      1 frame
    10. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
      1 frame
    11. Embedded GlassFish Web
      Invocation.proceed
      1. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4005)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.Invocation.proceed(Invocation.java:498)
      3 frames
    12. com.kishware.core
      HistoryDataAssignerInterceptor.validate
      1. com.kishware.core.framework.interceptors.HistoryDataAssignerInterceptor.validate(HistoryDataAssignerInterceptor.java:65)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    14. Embedded GlassFish Web
      EJBLocalObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:579)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:205)
      4. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3978)
      5. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
      6. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
      6 frames
    15. Unknown
      $Proxy478.save
      1. $Proxy478.save(Unknown Source)
      1 frame
    16. com.kishware.core
      GeneralLedgerImpl.addEntryAndDimensions
      1. com.kishware.core.gl.service.main.GeneralLedgerImpl._reassignAuthorizedBranches(GeneralLedgerImpl.java:947)
      2. com.kishware.core.gl.service.main.GeneralLedgerImpl.addEntryAndDimensions(GeneralLedgerImpl.java:279)
      2 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    18. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
      1 frame
    19. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
      1 frame
    20. Embedded GlassFish Web
      Invocation.proceed
      1. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4005)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.Invocation.proceed(Invocation.java:498)
      3 frames
    21. com.kishware.core
      GLSelfConfig.checkIfRootNotExist
      1. com.kishware.core.gl.interceptor.GLSelfConfig.checkIfRootNotExist(GLSelfConfig.java:64)
      1 frame
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    23. Embedded GlassFish Web
      Invocation.proceed
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:579)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.Invocation.proceed(Invocation.java:498)
      3 frames
    24. com.kishware.core
      TosanBusinessMethodInterceptor.intercept
      1. com.kishware.core.framework.interceptors.TosanBusinessMethodInterceptor._intercept(TosanBusinessMethodInterceptor.java:286)
      2. com.kishware.core.framework.interceptors.TosanBusinessMethodInterceptor.intercept(TosanBusinessMethodInterceptor.java:141)
      2 frames
    25. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    26. Embedded GlassFish Web
      WebServiceInvocationHandler.invoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:579)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:205)
      4. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3978)
      5. com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:189)
      5 frames
    27. Unknown
      $Proxy232.addEntryAndDimensions
      1. $Proxy232.addEntryAndDimensions(Unknown Source)
      1 frame
    28. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    29. com.sun.enterprise
      EjbInvokerImpl.invoke
      1. com.sun.enterprise.webservice.InvokerImpl.invoke(InvokerImpl.java:81)
      2. com.sun.enterprise.webservice.EjbInvokerImpl.invoke(EjbInvokerImpl.java:82)
      2 frames
    30. JAX-WS RI Runtime Bundle
      AbstractTubeImpl.process
      1. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
      2. com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
      3. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
      4. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
      5. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
      6. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
      7. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
      8. com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:106)
      8 frames
    31. com.sun.enterprise
      MonitoringPipe.process
      1. com.sun.enterprise.webservice.MonitoringPipe.process(MonitoringPipe.java:147)
      1 frame
    32. JAX-WS RI Runtime Bundle
      AbstractTubeImpl.process
      1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
      2. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
      3. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
      4. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
      5. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
      6. com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:106)
      6 frames
    33. com.sun.xml
      TxServerPipe.process
      1. com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:317)
      1 frame
    34. com.sun.enterprise
      CommonServerSecurityPipe.process
      1. com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
      2. com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
      2 frames
    35. JAX-WS RI Runtime Bundle
      PipeAdapter.processRequest
      1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
      1 frame