Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. HikariCP connection pool exhausted
    HikariCP-java6
    16
    26
    2
  2. HikariPool.createTimeoutException() has thrown a SQLTransientConnectionException
    HikariCP-java6
    16
    30
    2

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30004ms.13:28:51,201 INFO com.zaxxer.hikari.HikariDataSource-close:347 - HikariPool-1 - Shutdown initiated... 13:28:51,201 DEBUG com.zaxxer.hikari.pool.HikariPool-logPoolState:403 - HikariPool-1 - Before shutdown stats (total=10, active=0, idle=10, waiting=0)
2 matching frames hidden
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:85)
    at io.hotschedules.lake.utils.TransactionLock.acquireLock(TransactionLock.java:39)
    at io.hotschedules.lake.utils.TransactionLock.acquireLock(TransactionLock.java:58)
35 frames hidden

Solution

rahsan3 months ago

The error indicates that the HikariCP connection pool has been exhausted and no further connections to the datasource can be created. Please read this post for more information

External results for this pattern (10)

  1. discreet2via GitHub3 weeks ago
    Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection
    Show stack trace
  2. michaelhixsonvia GitHub2 months ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
    Show stack trace
  3. AodXvia GitHub2 months ago
    HikariPool-1 - Connection is not available, request timed out after 20000ms.
    Show stack trace
  4. YuiFnvia GitHub2 months ago
    Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection
    Show stack trace
  5. laudylcpvia GitHub2 months ago
    HikariPool-1 - Connection is not available, request timed out after 60000ms.
    Show stack trace
  6. afrin216via GitHub4 months ago
    HikariPool-.net1f0098bdce20acf7fa739bd69020b909bfe205733ffa620eaa8ac336e68209bc - Connection is not available, request timed out after 30000ms.
    Show stack trace
  7. AodXvia GitHub4 months ago
    HikariPool-1 - Connection is not available, request timed out after 20000ms.
    Show stack trace
  8. penaivanalejandrovia GitHub4 months ago
    mainPool - Connection is not available, request timed out after 30004ms.
    Show stack trace
  9. jnrbovia GitHub4 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection
    Show stack trace
  10. yooniksvia GitHub4 months ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
    Show stack trace