tomcat7 启动时报以下错误该怎么解决?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat7 启动时报以下错误该怎么解决?相关的知识,希望对你有一定的参考价值。

严重: Error listenerStart
2015-12-13 12:27:03 org.apache.catalina.core.StandardContext startInternal
严重: Context [/webapp] startup failed due to previous errors
2015-12-13 12:27:03 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/webapp] registered the JBDC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-12-13 12:27:03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/webapp] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
2015-12-13 12:27:03 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMapForLeaks
严重: The web application [/webapp] created a ThreadLocal with key of type [java.la
ng.ThreadLocal] (value [java.lang.ThreadLocal@138920]) and a value of type [org.
apache.cxf.bus.cxf.BusFactory.BusHolder] (value [org.apache.cxf.BusFactory$BusHolder@8fb7d1]) but fa
iled to remove it when the web application was stopped.Threads are going to be renewed oveer time to try and avoid a probable memory leak.

参考技术A JDBC驱动有问题。tomcat报错了就去安装目录或者解压目录下的logs目录下查看日志,所有的异常日志都会在这里输出,logs目录下有很多的日志,异常也会打印的很详细。

tomcat启动时报以下三个严重错误

严重: Skipped installing application listeners due to previous error(s)
严重: Error listenerStart
严重: Context startup failed due to previous errors
我自己已经解决,谢谢。

参考技术A 监听器启动不成功

建议的解决方案:删除web.xml中关于 listener 的配置,再试试。

但是删除配置往往不能使功能正常执行,
那么你最好查找一下listener 的代码,排除导致的异常问题。
参考技术B 监听器启动不成功

以上是关于tomcat7 启动时报以下错误该怎么解决?的主要内容,如果未能解决你的问题,请参考以下文章

eclipse下Tomcat7.0启动奔溃问题

使用maven的tomcat插件启动时报错问题

jQuery版本:1.10.2,LigerUI编写页面时报错,该怎么解决?

resin启动时报错com.caucho.config.LineConfigException的解决

解决tomcat重启时报严重: Exception loading sessions from persistent storage的问题

Tomcat异常讲解