关于C3P0 资源销毁时找不到 BasicResourcePool$1DestroyResourceTask 的填坑过程

博客讲述了在C3P0升级到0.9.5.2版本后,仍然出现找不到BasicResourcePool$1DestroyResourceTask类的问题。作者发现原因是系统服务在销毁资源前已停止,而非C3P0版本问题。进一步排查发现,是由于用服人员忘记升级数据库脚本,导致解析MyBatis mapper文件失败,进而引发服务关闭。服务关闭后的定时线程尝试销毁资源时,因找不到类而抛出异常。
摘要由CSDN通过智能技术生成
  现场运维人员升级版本之后,十万火急的求救 -- 系统启动不了了。看了下日志:
SEVERE: The web application [/launcherM] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
Jul 11, 2018 2:51:22 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/launcherM] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Jul 11, 2018 2:51:22 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/launcherM] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
Jul 11, 2018 2:51:22 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 11, 
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值