play.api.Configuration$$anon$1: Configuration error[Cannot connect to database [ default]]

Google Groups | Unknown author | 8 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

    [play 2.5.4]Cannot connect to database [default]

    Google Groups | 8 months ago | Unknown author
    play.api.Configuration$$anon$1: Configuration error[Cannot connect to database [ default]]
  2. 0

    How do I configure HikariCP with jt400 AS400JDBCDataSource

    Stack Overflow | 1 year ago | cquezel
    java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30008ms.

    Root Cause Analysis

    1. java.sql.SQLTransientConnectionException

      HikariPool-1 - Connection i s not available, request timed out after 30001ms.

      at com.zaxxer.hikari.pool.HikariPool.getConnection()
    2. HikariCP-java6
      HikariDataSource.<init>
      1. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195)
      2. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
      3. com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:510)
      4. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:136)
      5. com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71)
      5 frames
    3. Play JDBC
      HikariCPConnectionPool$$anonfun$1.apply
      1. play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:58)
      2. play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:54)
      2 frames
    4. Scala
      Try$.apply
      1. scala.util.Try$.apply(Try.scala:192)
      1 frame
    5. Play JDBC
      PooledDatabase.createDataSource
      1. play.api.db.HikariCPConnectionPool.create(HikariCPModule.scala:54)
      2. play.api.db.PooledDatabase.createDataSource(Databases.scala:199)
      2 frames