zoukankan      html  css  js  c++  java
  • c3p0死锁

    1.APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

    抛出以下异常信息:

    com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@13067b2 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
    com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@13067b2 -- APPARENT DEADLOCK!!! Complete Status: 
    Managed Threads: 3
    Active Threads: 3
    Active Tasks: 
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@e1162c
    on thread: C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#1
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@73e33a
    on thread: C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#2
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1b5de8b
    on thread: C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#0
    Pending Tasks: 
    com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@16a448b
    com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@1ba2754
    Pool thread stack traces:
    Thread[C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#1,5,main]
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:150)
    java.net.SocketInputStream.read(SocketInputStream.java:121)
    oracle.net.ns.Packet.receive(Packet.java:282)
    oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
    oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
    com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:172)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
    com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1127)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1114)
    com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1855)
    com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
    Thread[C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#2,5,main]
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:150)
    java.net.SocketInputStream.read(SocketInputStream.java:121)
    oracle.net.ns.Packet.receive(Packet.java:282)
    oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
    oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
    com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:172)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
    com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1127)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1114)
    com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1855)
    com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
    Thread[C3P0PooledConnectionPoolManager[identityToken->1hge1609q1ypllh31mmx1xh|c15b9e]-HelperThread-#0,5,main]
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:150)
    java.net.SocketInputStream.read(SocketInputStream.java:121)
    oracle.net.ns.Packet.receive(Packet.java:282)
    oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
    oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
    com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:172)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
    com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
    com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1127)
    com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1114)
    com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1855)
    com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
    View Code
  • 相关阅读:
    Microsoft Azure 的负载平衡器的Session Sticky
    MySQL Performance tuning
    集装箱码头智能理货方案
    Iphone 英语语言下通讯录排序问题
    mac安装Aws cli失败
    vbs操作excel
    Sharepoint 2010 工作流启动时处理出错
    2、easyUI-创建 CRUD可编辑dataGrid(表格)
    1、easyUI-创建 CRUD普通dataGrid(表格)
    0327定时执行--存储过程--dbms_job--dbms_scheduler.create_job
  • 原文地址:https://www.cnblogs.com/jiktiv123/p/7640757.html
Copyright © 2011-2022 走看看