org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'qzDS': 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 | albertP | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Quartz jobstore doesn't work with sybase 15

    Terracotta | 6 years ago | albertP
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'qzDS': 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

    C3p0 Connections could not be acquired from the underlying database

    Stack Overflow | 1 year 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!
  3. 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!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    How to determine connection pool size programmatically?

    Stack Overflow | 5 years ago | Umer Hayat
    org.hibernate.exception.GenericJDBCException: Cannot open connection
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.getJobDetail
    1. org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:233)
    2. org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:718)
    4. org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:69)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3723)
    6. org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:90)
    7. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3631)
    8. org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1319)
    9. org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1441)
    10. org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:489)
    10 frames
  4. com.citi.credit
    QuartzSchedulerService.main
    1. com.citi.credit.scheduler.QuartzSchedulerService.init(QuartzSchedulerService.java:63)
    2. com.citi.credit.scheduler.QuartzSchedulerService.main(QuartzSchedulerService.java:39)
    2 frames