org.apache.tomcat.jdbc.pool.PoolExhaustedException: [main] NoWait: Pool empty. Unable to fetch a connection, none available[5 in use].

Stack Overflow | David M. Karr | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    TomEE DataSource Resource gets "NoWait: Pool empty. Unable to fetch a connection, none available[5 in use]."

    Stack Overflow | 7 months ago | David M. Karr
    org.apache.tomcat.jdbc.pool.PoolExhaustedException: [main] NoWait: Pool empty. Unable to fetch a connection, none available[5 in use].

    Root Cause Analysis

    1. org.apache.tomcat.jdbc.pool.PoolExhaustedException

      [main] NoWait: Pool empty. Unable to fetch a connection, none available[5 in use].

      at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection()
    2. org.apache.tomcat
      ConnectionPool.<init>
      1. org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:679)
      2. org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:468)
      3. org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:143)
      3 frames
    3. OpenEJB :: TomEE :: JDBC
      TomEEDataSourceCreator$TomEEConnectionPool.<init>
      1. org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEConnectionPool.<init>(TomEEDataSourceCreator.java:221)
      1 frame