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

不死的战旗 发布于 2016/05/26 14:28
阅读 324
收藏 0

@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().


加载中
0
不死的战旗
不死的战旗

这样配置的

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);
0
JFinal
JFinal
    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
0
不死的战旗
不死的战旗

引用来自“JFinal”的评论

    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
那还希望JFinal在官网或者文档中尽早更新。
JFinal
JFinal
文档会逐步完善,在中国做开源不像在美帝国,你懂的
0
iehyou
iehyou

引用来自“JFinal”的评论

    换成 DruidPlugin 代替 C3p0Plugin, c3p0 太老了,有些 bug
我也切换到druid  实在受不了c3p0。
返回顶部
顶部