码迷,mamicode.com
首页 > 其他好文 > 详细

tomcat无故停止

时间:2015-06-11 10:48:24      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:

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的内存设置,它好了……Σ( ° △ °|||)︴

tomcat无故停止

标签:

原文地址:http://www.cnblogs.com/qiluoao13077220/p/4568167.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!