Pool thread stack traces: Thread…

本文记录了一次SLF4J多重绑定警告及应用程序中出现的死锁问题。文中详细展示了错误日志,包括两个不同版本的SLF4J绑定被发现,并解释了如何解决SLF4J绑定冲突的问题。此外,还记录了一个由于资源池获取任务导致的潜在死锁情况。
摘要由CSDN通过智能技术生成
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/project/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/oes/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/project/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/oes/WEB-INF/lib/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
11:06:02,109  WARN ThreadPoolAsynchronousRu nner:608 - com.mchange.v2.async.ThreadPoolAsynchronousRu nner$DeadlockDetector@18b3e62 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
11:06:02,114  WARN ThreadPoolAsynchronousRu nner:624 - com.mchange.v2.async.ThreadPoolAsynchronousRu nner$DeadlockDetector@18b3e62 -- APPARENT DEADLOCK!!! Complete Status:
      Managed Threads: 3
      Active Threads: 3
      Active Tasks:
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@8497f6 (com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#1)
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@114a306 (com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#2)
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1db0da1 (com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#0)
      Pending Tasks:
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5bd978
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2264da
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b34b1
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1b06a21
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@107dcfe
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13dcd27
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@67cd84
Pool thread stack traces:
      Thread[com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#1,5,main]
            java.lang.Thread.sleep(Native Method)
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
            com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread.run(ThreadPoolAsynchronousRu nner.java:547)
      Thread[com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#2,5,main]
            java.lang.Thread.sleep(Native Method)
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
            com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread.run(ThreadPoolAsynchronousRu nner.java:547)
      Thread[com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread-#0,5,main]
            java.lang.Thread.sleep(Native Method)
            com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
            com.mchange.v2.async.ThreadPoolAsynchronousRu nner$PoolThread.run(ThreadPoolAsynchronousRu nner.java:547)



我的是因为mysql的一个服务项没开启 mysqld.exe 开启就好了
  路径MySQL\MySQL Server 5.1\bin

北京质恒汗蒸
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ma_xs

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值