java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'connect_db_0')

  1. 0

    MemSQL cannot find database

    Stack Overflow | 3 months ago | Rasputin Jones
    java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'connect_db_0')
  2. 0

    sqlite dbcp

    GitHub | 2 years ago | xuyang198711
    java.sql.SQLException: Cannot create PoolableConnectionFactory (isValid() returned false)
  3. 0

    ActiveMQ - Could not get JDBC connection with SQL Server 2012

    Stack Overflow | 12 months ago | Ivan
    java.sql.SQLException: Cannot create JDBC driver of class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' for connect URL 'jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=activedb'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Derby connector doesn't quite work in forked peon

    GitHub | 12 months ago | drcrallen
    org.skife.jdbi.v2.exceptions.UnableToObtainConnectionException: java.sql.SQLException: Cannot create JDBC driver of class 'org.apache.derby.jdbc.ClientDriver' for connect URL 'jdbc:derby:memory:druidTest95a2ba02711d4cff92eb4505d254ec72'
  6. 0

    Overlord cannot connect to Derby in a docker container

    GitHub | 7 months ago | l15k4
    org.skife.jdbi.v2.exceptions.UnableToObtainConnectionException: java.sql.SQLException: Cannot create PoolableConnectionFactory (java.net.ConnectException : Error connecting to server localhost on port 1,527 with message Connection refused.)

    2 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

      Cannot create PoolableConnectionFactory (Unknown database 'connect_db_0')

      at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory()
    2. Apache Commons DBCP
      BasicDataSource.getConnection
      1. org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294)[commons-dbcp2-2.1.1.jar:2.1.1]
      2. org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)[commons-dbcp2-2.1.1.jar:2.1.1]
      3. org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)[commons-dbcp2-2.1.1.jar:2.1.1]
      3 frames
    3. com.memsql.spark
      MemSQLRDD.compute
      1. com.memsql.spark.connector.MemSQLConnectionPool$.connect(MemSQLConnectionPool.scala:34)[memsql-connector_2.10-1.3.3.jar:1.3.3]
      2. com.memsql.spark.connector.rdd.MemSQLRDD$$anon$1.<init>(MemSQLRDD.scala:241)[memsql-connector_2.10-1.3.3.jar:1.3.3]
      3. com.memsql.spark.connector.rdd.MemSQLRDD.compute(MemSQLRDD.scala:231)[memsql-connector_2.10-1.3.3.jar:1.3.3]
      3 frames
    4. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
      2. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
      3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
      4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
      5. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
      6. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
      7. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
      8. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
      9. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
      10. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
      11. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
      12. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)[spark-core_2.10-1.5.2.jar:1.5.2]
      13. org.apache.spark.scheduler.Task.run(Task.scala:88)[spark-core_2.10-1.5.2.jar:1.5.2]
      14. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)[spark-core_2.10-1.5.2.jar:1.5.2]
      14 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_92]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_92]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_92]
      3 frames