java.sql.SQLTransientConnectionException: db - Connection is not available, request timed out after 2020ms.

Google Groups | Nadav Samet | 9 months ago
  1. 0

    getConnection timeouts

    Google Groups | 9 months ago | Nadav Samet
    java.sql.SQLTransientConnectionException: db - Connection is not available, request timed out after 2020ms.
  2. 0

    numThreads, maxConnections and SQLTransientConnectionException

    Google Groups | 9 months ago | Nadav Samet
    java.sql.SQLTransientConnectionException: db - Connection is not available, request timed out after 2018ms.
  3. 0

    HikariCP - connection is not available

    Stack Overflow | 1 year ago | dfche
    java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 1003ms.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    At lot of users using gitbucket at the same time make it lock

    GitHub | 3 months ago | darkweaver87
    java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
  6. 0

    HikariCP as JNDI resource in Tomcat

    GitHub | 3 months ago | stockstatus
    java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 40000ms.

  1. rp 3 times, last 7 months ago
  2. balintn 1 times, last 2 months ago
  3. tfr 1 times, last 7 months ago
6 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.SQLTransientConnectionException

    db - Connection is not available, request timed out after 2020ms.

    at com.zaxxer.hikari.pool.HikariPool.getConnection()
  2. HikariCP-java6
    HikariDataSource.getConnection
    1. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)[com.zaxxer.HikariCP-2.4.5.jar:na]
    2. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)[com.zaxxer.HikariCP-2.4.5.jar:na]
    3. com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)[com.zaxxer.HikariCP-2.4.5.jar:na]
    3 frames
  3. slick.jdbc.hikaricp
    HikariCPJdbcDataSource.createConnection
    1. slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:12)[com.typesafe.slick.slick-hikaricp_2.11-3.1.1.jar:na]
    1 frame
  4. slick.jdbc
    StreamingInvokerAction$class.run
    1. slick.jdbc.JdbcBackend$BaseSession.conn$lzycompute(JdbcBackend.scala:415)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    2. slick.jdbc.JdbcBackend$BaseSession.conn(JdbcBackend.scala:414)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    3. slick.jdbc.JdbcBackend$SessionDef$class.prepareStatement(JdbcBackend.scala:297)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    4. slick.jdbc.JdbcBackend$BaseSession.prepareStatement(JdbcBackend.scala:407)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    5. slick.jdbc.StatementInvoker.results(StatementInvoker.scala:33)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    6. slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    7. slick.jdbc.Invoker$class.foreach(Invoker.scala:48)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    8. slick.jdbc.StatementInvoker.foreach(StatementInvoker.scala:16)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    9. slick.jdbc.StreamingInvokerAction$class.run(StreamingInvokerAction.scala:22)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    9 frames
  5. slick.driver
    JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.run
    1. slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.run(JdbcActionComponent.scala:218)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    2. slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.run(JdbcActionComponent.scala:218)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    2 frames
  6. slick.backend
    DatabaseComponent$DatabaseDef$$anon$2.run
    1. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1(DatabaseComponent.scala:237)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    2. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run(DatabaseComponent.scala:237)[com.typesafe.slick.slick_2.11-3.1.1.jar:na]
    2 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66-internal]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66-internal]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66-internal]
    3 frames