java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.

Oracle Community | eligetiv | 6 years ago
  1. 0

    In-use connections equ      al max-pool-size and expired max-wait-time. Cannot allocate more connections.

    Oracle Community | 6 years ago | eligetiv
    java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
  2. 0

    OpenESB Community Forum - Connection where not closed

    nabble.com | 6 months ago
    javax.jbi.messaging.MessagingException: Error occured while executing sql.Reason: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections. SQLState: null ErrorCode: 0
  3. 0

    JDBC MySql Connection Pooling practices

    soso.io | 1 year ago
    java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JDBC MySql Connection Pooling practices

    itquestionz.com | 1 year ago
    java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
  6. 0

    how to release connections back to the connection pool

    Oracle Community | 9 years ago | hughacland
    java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.

    1 unregistered visitors
    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. java.sql.SQLException

      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.gjc.spi.base.DataSource.getConnection()
    2. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
      1 frame
    3. com.singularity.ee
      MetricDataWriterBean.postProcessMinData
      1. com.singularity.ee.controller.beans.agent.db.MetricDataPurger.doStringPurge(MetricDataPurger.java:280)
      2. com.singularity.ee.controller.beans.agent.db.MetricDataPurger.purgeStringCompMin(MetricDataPurger.java:455)
      3. com.singularity.ee.controller.beans.agent.MetricDataWriterBean.postProcessMinMetrics(MetricDataWriterBean.java:526)
      4. com.singularity.ee.controller.beans.agent.MetricDataWriterBean.postProcessMinData(MetricDataWriterBean.java:242)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    5. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
      1 frame
    6. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
      1 frame
    7. Embedded GlassFish Web
      Invocation.proceed
      1. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4030)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483)
      3. com.sun.ejb.Invocation.proceed(Invocation.java:498)
      3 frames
    8. com.singularity.ee
      EntityManagerInterceptor.manageEntityManagerLifecycle
      1. com.singularity.ee.controller.beans.EntityManagerInterceptor.manageEntityManagerLifecycle(EntityManagerInterceptor.java:53)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    10. 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
    11. com.singularity.ee
      ExceptionHandlingInterceptor.handleExceptions
      1. com.singularity.ee.controller.beans.ExceptionHandlingInterceptor.handleExceptions(ExceptionHandlingInterceptor.java:63)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    13. 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:4003)
      5. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
      6. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
      6 frames
    14. Unknown
      $Proxy215.postProcessMinData
      1. $Proxy215.postProcessMinData(Unknown Source)
      1 frame
    15. com.singularity.ee
      MetricDataWriterPostProcessMinTimerTaskBean.process
      1. com.singularity.ee.controller.beans.agent.MetricDataWriterPostProcessMinTimerTaskBean.process(MetricDataWriterPostProcessMinTimerTaskBean.java:54)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    17. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
      1 frame
    18. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
      1 frame
    19. Embedded GlassFish Web
      WorkAdapter.doWork
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
      2. com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:2849)
      3. com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1401)
      4. com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:99)
      5. com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1952)
      6. com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.service(EJBTimerService.java:1948)
      7. com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
      7 frames
    20. glassfish-corba-orbgeneric
      ThreadPoolImpl$WorkerThread.run
      1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
      1 frame