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
  • 相关阅读:
    Linq To Object
    笔试算法
    给你 n 个非负整数 a1,a2,...,an,每个数代表坐标中的一个点 (i, ai) 。在坐标内画 n 条垂直线,垂直线 i 的两个端点分别为 (i, ai) 和 (i, 0) 。找出其中的两条线
    vue3.0中setup的参数
    力扣算法题
    给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?请你找出所有和为 0 且不重复的三元组
    vif 与 vfor优先级
    给你一个长度为 n 的整数数组 nums 和 一个目标值 target。请你从 nums 中选出三个整数,使它们的和与 target 最接近。 /返回这三个数的和。
    /给你一个由 n 个整数组成的数组 nums ,和一个目标值 target 。请你找出并返回满足下述全部条件且不重复的四元组 [nums[a], nums[b], nums[c], nums[
    vue3+canvas随机生成4位验证码
  • 原文地址:https://www.cnblogs.com/jiktiv123/p/7640757.html
Copyright © 2011-2022 走看看