com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

Terracotta | nilishah | 5 years ago
  1. 0

    Failed to obtain DB connection for SQL server

    terracotta.org | 9 months ago
    com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  2. 0

    Failed to obtain DB connection for SQL server

    Terracotta | 5 years ago | nilishah
    com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  3. 0

    Failed to obtain DB connection for SQL server

    Terracotta | 5 years ago | nilishah
    com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Webapp using MySql in OpenShift platform

    Stack Overflow | 3 years ago | Warner
    com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  6. 0

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

    Stack Overflow | 4 years ago | iomartin
    com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

  1. esaar 2 times, last 4 months ago
5 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
    QuartzInitializerServlet.init
    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.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3693)
    7. org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:782)
    8. org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:661)
    9. org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:507)
    10. org.quartz.impl.StdScheduler.start(StdScheduler.java:143)
    11. org.quartz.ee.servlet.QuartzInitializerServlet.init(QuartzInitializerServlet.java:214)
    11 frames
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    8. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    9. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    20 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames