首页 > 代码库 > Data source rejected establishment of connection, message from server: "Too many connections"
Data source rejected establishment of connection, message from server: "Too many connections"
1 com.mchange.v2.resourcepool.BasicResourcePool(line/:1841) - 2 com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@186e1f5a -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: 3 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections" 4 at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source) 5 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 6 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 7 at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) 8 at com.mysql.jdbc.Util.getInstance(Util.java:386) 9 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)10 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)11 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)12 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1136)13 at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2395)14 at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2428)15 at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2213)16 at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:797)17 at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)18 at sun.reflect.GeneratedConstructorAccessor13.newInstance(Unknown Source)19 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)20 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)21 at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)22 at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:389)23 at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)24 at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)25 at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)26 at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)27 at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)28 at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)29 at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)30 at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)31 at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)
Data source rejected establishment of connection, message from server: "Too many connections"
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。