JFinal多数据开源,连接MySQL报错
@JFinal 你好,想跟你请教个问题:2016-05-26 14:11:28
[WARN]-[Thread: Timer-2]-[com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run()]: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@5a3b1380 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2016-05-26 14:11:28
[WARN]-[Thread: Timer-2]-[com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run()]: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@5a3b1380 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
2016-05-26 14:12:43
[WARN]-[Thread: Timer-2]-[com.mchange.v2.async.ThreadPoolAsynchronousRunner.processReplacedThreads()]: Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6863dbca (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
2016-05-26 14:12:43
[WARN]-[Thread: Timer-2]-[com.mchange.v2.async.ThreadPoolAsynchronousRunner.processReplacedThreads()]: Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@73f2e050 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
2016-05-26 14:12:43
[WARN]-[Thread: Timer-2]-[com.mchange.v2.async.ThreadPoolAsynchronousRunner.processReplacedThreads()]: Task com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@69a946bf (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
引用来自“JFinal”的评论
换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
文档会逐步完善,在中国做开源不像在美帝国,你懂的
引用来自“JFinal”的评论
换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
这样配置的
C3p0Plugin dsMysql = new C3p0Plugin(PropKit.get("jdbcUrl3"), PropKit.get("user3").trim(), PropKit.get("password3").trim());
me.add(dsMysql);
ActiveRecordPlugin arpMysql = new ActiveRecordPlugin("mysql", dsMysql);
me.add(arpMysql);