对ssh系统 做压力测试,监控到c3p0链接出现近200 出现一下问题

mayonghao 发布于 2013/05/29 15:22
阅读 1K+
收藏 0


java.sql.SQLException: Listener refused the connection with the following error:

ORA-12520, TNS:listener could not find available handler for requested type of server

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:389)

at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:454)

at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)

at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)

at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)

at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsync


加载中
0
lt2008
lt2008
连接超员,数据库拒绝连接
0
Beyond-Bit
Beyond-Bit
模拟了多少线程?很明显数据池没有发挥最好性能!数据默有木有修改连接数?
返回顶部
顶部