JFinal多数据开源,连接MySQL报错

发布于 2021-11-29 09:44:13 字数 1666 浏览 462 评论 5

@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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

一个人的旅程 2021-12-01 12:41:18

引用来自“JFinal”的评论

    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug

勿忘初心 2021-12-01 12:12:16

文档会逐步完善,在中国做开源不像在美帝国,你懂的

瀞厅☆埖开 2021-12-01 08:44:31

引用来自“JFinal”的评论

    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug

泪冰清 2021-12-01 07:31:42

    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug

一笔一画续写前缘 2021-11-30 04:53:44

这样配置的

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);

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文