启动web项目,导致tomcat启动不了,内存泄露,请大家帮忙下这个问题,很急很急。

Oct 21, 2015 3:50:39 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 21, 2015 3:50:39 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/app] startup failed due to previous errors
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/app] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/app] 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.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] 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.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/app] appears to have started a thread named [schedulerFactoryBean_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
Oct 21, 2015 3:50:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /data/tomcat5/webapps/learningtreasureWAP has finished in 9,352 ms
Oct 21, 2015 3:50:40 PM org.apache.catalina.startup.HostConfig deployDirectory

2个回答

看看这个http://www.oschina.net/question/230749_81876, 也许有帮助。

jidangrensheng
翱翔的苍鹰 为什么要忽略呢,我们部署的时候,就把webapp中关于tomcat默认项目都给删除了,这样就不能通过管理页面去看项目正常启动了吗,日志中一直报这样的错误,内存泄露这样问题很严重。
接近 5 年之前 回复
wangbailin2009
bolin_ http://wenshao.iteye.com/blog/1617549#comments这个文章里面说你的这个The web application [/app] 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.基本可以忽略。
接近 5 年之前 回复

启动项目时具体报什么错了呢,这个太笼统了,猜不出来

candy_rainbow
candy_rainbow 回复翱翔的苍鹰: 我去,我跟你的一样,部署了四个项目,分开启动可以,但是放在一起就报这个
大约 3 年之前 回复
jidangrensheng
翱翔的苍鹰 The web application [/app] 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.一直抱着个错误。tomcat的webapp中部署了四个项目,单个部署是可以的。放在一起就可以。我在网上也找了,大家都说是jdbc的原因,可是我那样改了也不行
接近 5 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问