java.sql.SQLException

Connections could not be acquired from the underlying database!

Solutions on the web11021

  • via Coderanch by Fabio Batalha, 7 months ago
    Connections could not be acquired from the underlying database!
  • via Coderanch by upanshu vaid, 7 months ago
    Connections could not be acquired from the underlying database!
  • via GitHub by jbcpollak
    , 7 months ago
    Connections could not be acquired from the underlying database!
  • Stack trace

    • java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at net.sf.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:35) at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84) at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1191) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:822) at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:540) at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:474)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    8 more bugmates