tomcat无故停止

2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/XXTServer] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/XXTServer] appears to have started a thread named [commons-pool-EvictionTimer] but has failed to stop it. This is very likely to create a memory leak.
2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/XXTServer] appears to have started a thread named [net.sf.ehcache.CacheManager@4391f0] but has failed to stop it. This is very likely to create a memory leak.
2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/XXTServer] 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.
2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/XXTServer] 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.

 

 

tomcat常常运行一段时间后自动停止,也不闪退,就卡在那儿……启动时正常;关闭的时候显示没有响应,强行结束进程后日志中报错。

这个问题困扰了我好久!某厂人一天要找我好多次说平台登录不上了,我就只能守在实验室重启tomcato(╯□╰)o

网上好多人说这是数据库连接没有释放,得从程序上改。我纳闷的是为什么本地开发的时候从来没有这样的问题,独独发布到服务器上就成这样了?!

后来抱着死马当活马医的心态修改了tomcat的内存设置,它好了……Σ( ° △ °|||)︴

转载于:https://www.cnblogs.com/qiluoao13077220/p/4568167.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值