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 | nilishah | 5 years ago
  1. 0

    Failed to obtain DB connection for SQL server

    terracotta.org | 8 months ago
    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

    Re:Failed to obtain DB connection for SQL server

    Terracotta | 5 years ago | nilishah
    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.scheduleJob
    1. org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:248)
    2. org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:723)
    4. org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:69)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3728)
    6. org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:90)
    7. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3655)
    8. org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJobAndTrigger(JobStoreSupport.java:1007)
    9. org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:816)
    10. org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:250)
    10 frames
  4. tools.examples.scheduler
    SimpleTriggerRunner.main
    1. tools.examples.scheduler.quartz.jobs.SimpleTriggerRunner.run(SimpleTriggerRunner.java:64)
    2. tools.examples.scheduler.quartz.jobs.SimpleTriggerRunner.main(SimpleTriggerRunner.java:30)
    2 frames