开发者社区> 问答> 正文

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


展开
收起
爱吃鱼的程序员 2020-06-09 14:21:59 478 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    这样配置的

    C3p0PlugindsMysql=newC3p0Plugin(PropKit.get("jdbcUrl3"),PropKit.get("user3").trim(),PropKit.get("password3").trim());

    me.add(dsMysql);
    ActiveRecordPluginarpMysql=newActiveRecordPlugin("mysql",dsMysql);
    me.add(arpMysql);
      换成DruidPlugin代替C3p0Plugin,c3p0太老了,有些bug

    引用来自“JFinal”的评论

      换成DruidPlugin代替C3p0Plugin,c3p0太老了,有些bug文档会逐步完善,在中国做开源不像在美帝国,你懂的

    引用来自“JFinal”的评论

      换成DruidPlugin代替C3p0Plugin,c3p0太老了,有些bug
    2020-06-09 14:22:18
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载

相关镜像