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

    Error in allocating a connection

    Oracle Community | 7 years ago | sapnasamdavid
    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 | 11 months 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.
  3. 0

    JDBC MySql Connection Pooling practices

    soso.io | 2 years 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 | 2 years 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. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor586.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      2 frames
    5. Unknown
      $Proxy37.getConnection
      1. $Proxy37.getConnection(Unknown Source)
      1 frame
    6. com.dressbarn.imbo
      TransferExceptionsController.onSubmit
      1. com.dressbarn.imbo.model.data.ws.WSConnectionAdapter.getConnection(WSConnectionAdapter.java:35)
      2. com.dressbarn.imbo.view.controllers.TransferExceptionsController.onSubmit(TransferExceptionsController.java:270)
      2 frames
    7. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
      2. org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:265)
      3. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      4. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
      8 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      2 frames
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
      3. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      6 frames
    10. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    11. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      10 frames
    12. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      1 frame
    13. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
      7 frames
    14. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame