com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@d3ade7 ,项目启动错误

在用hibernate,spring,struts,3个框架的做项目的时候,运行tomcat,报了下面一推错误:


[0629 18:12:30 285 WARN ]     ThreadPoolAsynchronousRunner.java:608 - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@d3ade7 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

[0629 18:12:30 301 WARN ]     ThreadPoolAsynchronousRunner.java:624 - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@d3ade7 -- APPARENT DEADLOCK!!! Complete Status: 

Managed Threads: 3

Active Threads: 3

Active Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@140fee (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@121fd61 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@82254d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)

Pending Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5f1ae9

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1dfc8a0

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ec898a

Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]

java.lang.Thread.sleep(Native Method)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]

java.lang.Thread.sleep(Native Method)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]

java.lang.Thread.sleep(Native Method)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

 

弄了好久,上网也查了很久,最后没有答案,

 

com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@d3ade7 -- APPARENT DEADLOCK!!!

 

吃了顿饭回来,忽然想到自己都没有在数据库里面创建一个要连接的database,所以才导致这个错误,

 

果断创建数据库,启动项目,OK,问题解决,

 

有时候真的是需要一些灵感,,,,


该博文转载自http://blog.csdn.net/kevingavinhu/article/details/6575632

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值