一,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配置参数
