jjzjj

ThreadPoolAsynchronousRunner

全部标签

java - 当我的 tomcat 启动时 C3P0 明显死锁

当我通过tomcat或resin启动我的项目时,我的项目会抛出错误:APPARENTDEADLOCK我觉得是c3p0导致的错误,连接不上我的数据库,我改了xml,把域名换成了我数据库的ip,然后项目就启动了!我在我的c3p0工作之前使用了一个监听器,我可以得到正确的域名和ip,我找不到APPARENTDEADLOCK的原因。012-10-2216:53:0424344WARN[Timer-0]com.mchange.v2.async.ThreadPoolAsynchronousRunner:624-com.mchange.v2.async.ThreadPoolAsynchronousR

java - 当线程全部为空时,C3P0 明显死锁?

我在Tomcat中使用C3P0作为连接池,我看到非常令人担忧的错误:2010-09-1613:25:00,160[Timer-0]WARNcom.mchange.v2.async.ThreadPoolAsynchronousRunner-com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@43502400--APPARENTDEADLOCK!!!Creatingemergencythreadsforunassignedpendingtasks!2010-09-1613:25:01,407[Timer-0]

java - 当线程全部为空时,C3P0 明显死锁?

我在Tomcat中使用C3P0作为连接池,我看到非常令人担忧的错误:2010-09-1613:25:00,160[Timer-0]WARNcom.mchange.v2.async.ThreadPoolAsynchronousRunner-com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@43502400--APPARENTDEADLOCK!!!Creatingemergencythreadsforunassignedpendingtasks!2010-09-1613:25:01,407[Timer-0]