C3P0APPARENTDEADLOCK
程序员文章站
2022-05-30 19:01:26
...
一,c3p0运行一段时间后报错如下 W 07-26_00:58:27 ThreadPoolAsynchronousRunner.java 608 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@70929ab6 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending task
一,c3p0运行一段时间后报错如下
W 07-26_00:58:27 ThreadPoolAsynchronousRunner.java 608 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@70929ab6 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! W 07-26_00:58:39 ThreadPoolAsynchronousRunner.java 608 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@4496b93a -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!二,解决方法如下
1,更新c3p0版本到0.9.2.1 该版本优化了获取connection的规则
2,首先修改c3p0配置参数
上一篇: shopnc 二次开发 每日签到积分领取,shopnc二次开发
下一篇: In-Memory整体汇总