严重: The web application [] appears to have started a thread named [Abandoned connection cleanup thre...

今日在重新部署项目时出现此问题,虽然对项目无影响,但问题就是问题。完整信息如下(使用idea工具):

十二月 05, 2015 11:44:27 上午 org.apache.catalina.startup.HostConfig undeploy 
信息: Undeploying context []
2015-12-05 11:44:27 JRebel: Reloading class 'com.shyy.web.controller.anntation.UserController'.
2015-12-05 11:44:27 JRebel-Spring: Reconfiguring bean 'userController' [com.shyy.web.controller.anntation.UserController]
2015-12-05 11:44:27 JRebel-Spring: Reconfiguring bean 'userController' [com.shyy.web.controller.anntation.UserController]
十二月 05, 2015 11:44:27 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] 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.
十二月 05, 2015 11:44:27 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] 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-12-05 11:44:28,265] Artifact shuyangyang:war: Artifact is being deployed, please wait...
十二月 05, 2015 11:44:51 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\Tomcat-7.0.59\apache-tomcat-7.0.59\webapps\ROOT\WEB-INF\lib\javax.el-api-2.2.4.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
十二月 05, 2015 11:44:51 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\Tomcat-7.0.59\apache-tomcat-7.0.59\webapps\ROOT\WEB-INF\lib\servlet-api-3.0.20100224.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2015-12-05 11:44:55 JRebel-Spring: Monitoring Spring bean definitions in 'E:\Spring3\shuyangyang\target\classes\applicationContext.xml'.
2015-12-05 11:44:56 JRebel-Spring: Monitoring Spring bean definitions in 'E:\Spring3\shuyangyang\target\classes\dispatcher-servlet.xml'.
[2015-12-05 11:44:58,500] Artifact shuyangyang:war: Artifact is deployed successfully
[2015-12-05 11:44:58,500] Artifact shuyangyang:war: Deploy took 30,235 milliseconds

分析:

1.十二月 05, 2015 11:44:27 上午 org.apache.catalina.startup.HostConfig undeploy 

http://blog.csdn.net/aesop_wubo/article/details/7907047文章这样介绍HostConfig :“HostConfig是一个生命周期监听器类,在tomcat加载配置文件的时候被添加到Host之上。”但是这里的信息是undeploy,是表明HostConfig 未部署或者说是部署失败?——但这样解释也很矛盾,因为后面出现了“Artifact is deployed successfully”。

2.严重: The web application [] 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.

这里说的是mysql驱动注册失败,原因是为了阻止内存泄露。关于memory leak,百度百科上有解释,但不懂。

3.严重: The web application [] 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.
这里说的是web 容器重启一个叫Abandoned connection cleanup thread的线程失败。原因可能是这很像创建了一个内存泄露。

 

真正原因及解决方案待续。。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值