com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections

Stack Overflow | Barrier | 2 months ago
  1. 0

    Hibernate and C3P0 Issue: MySQLNonTransientConnectionException, Too many connections

    Stack Overflow | 2 months ago | Barrier
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections
  2. 0

    Crash log when submitting many jobs to the grid

    GitHub | 4 years ago | georgebyelas
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
  3. 0

    GitHub comment 1333#128250457

    GitHub | 1 year ago | hackerunet
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Database too many connections - Forums | Liferay

    liferay.com | 1 year ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"
  6. 0

    Database too many connections - Forums | Liferay

    liferay.com | 1 year ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"

  1. tvrmsmith 4 times, last 3 months ago
  2. MoYapro 4 times, last 5 months ago
  3. fima 24 times, last 2 months ago
  4. mauritius 6 times, last 3 months ago
  5. tvrmsmith 3 times, last 3 months ago
4 more registered users
38 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.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

    Too many connections

    at sun.reflect.GeneratedConstructorAccessor413.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor413.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    3 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.Util.getInstance(Util.java:386)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
    7. com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
    8. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
    9. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2502)
    10. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2535)
    11. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2320)
    12. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
    13. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    13 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor407.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    3 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
    3 frames
  6. c3p0:JDBC DataSources/Resource Pools
    ThreadPoolAsynchronousRunner$PoolThread.run
    1. com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
    2. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
    3. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
    4. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
    5. com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
    6. com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
    7. com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
    8. com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
    9. com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
    9 frames