org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Connections could not be acquired from the underlying database! [See nested exception: java.sql.SQLException: Connections could not be acquired from the underlying database!]]

Terracotta | mpandya2 | 5 years ago
  1. 0

    using quartz-2.1.5 with c3p0-0.9.1.1 on mysql gives A ResourcePool could not acquire a resource from

    terracotta.org | 11 months ago
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Connections could not be acquired from the underlying database! [See nested exception: java.sql.SQLException: Connections could not be acquired from the underlying database!]]
  2. 0

    using quartz-2.1.5 with c3p0-0.9.1.1 on mysql gives A ResourcePool could not acquire a resource from

    Terracotta | 5 years ago | mpandya2
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Connections could not be acquired from the underlying database! [See nested exception: java.sql.SQLException: Connections could not be acquired from the underlying database!]]
  3. 0

    C3p0 Connections could not be acquired from the underlying database

    Stack Overflow | 10 months ago | Grace
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Connections could not be acquired from the underlying database!; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash log when submitting many jobs to the grid

    GitHub | 4 years ago | georgebyelas
    java.sql.SQLException: Connections could not be acquired from the underlying database!
  6. 0

    C3P0 connection pooling with hibernate doesnt work with cloudfoundry

    Stack Overflow | 3 years ago | Milind
    org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection

  1. DoktorDoener666 2 times, last 1 month ago
  2. Aldin Kiselica 1 times, last 3 months ago
  3. mortalman7 6 times, last 5 months ago
  4. regisso 1 times, last 7 months ago
21 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. com.mchange.v2.resourcepool.CannotAcquireResourceException

    A ResourcePool could not acquire a resource from its primary factory or source.

    at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable()
  2. c3p0:JDBC DataSources/Resource Pools
    AbstractPoolBackedDataSource.getConnection
    1. com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
    2. com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
    3. com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
    4. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
    5. com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
    5 frames
  3. quartz
    StdScheduler.start
    1. org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:247)
    2. org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:764)
    4. org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:71)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808)
    6. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3773)
    7. org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:823)
    8. org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:681)
    9. org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:526)
    10. org.quartz.impl.StdScheduler.start(StdScheduler.java:143)
    10 frames
  4. jobs
    JobReader.main
    1. jobs.JobReader.main(JobReader.java:29)
    1 frame