Tomcat启动时出现的Error filterStart错误
严重: Error filterStart
2013-3-12 14:19:37 org.apache.catalina.core.StandardContext startInternal
严重: Context [/lbs] startup failed due to previous errors
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [/lbs] registered the JDBC driver [com.mysql.jdbc.Driv
er] but failed to unregister it when the web application was stopped. To prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [/lbs] appears to have started a thread named [MySQL S
tatement Cancellation Timer] but has failed to stop it. This is very likely to c
reate a memory leak.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader checkThreadLocal
MapForLeaks
严重: The web application [/lbs] created a ThreadLocal with key of type [com.ope
nsymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject
.ContainerImpl$10@3c33d3]) and a value of type [java.lang.Object[]] (value [[Lja
va.lang.Object;@6e7127]) but failed to remove it when the web application was st
opped. Threads are going to be renewed over time to try and avoid a probable mem
ory leak.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader checkThreadLocal
MapForLeaks
严重: The web application [/lbs] created a ThreadLocal with key of type [com.ope
nsymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject
.ContainerImpl$10@c6b8b0]) and a value of type [java.lang.Object[]] (value [[Lja
va.lang.Object;@873b9f]) but failed to remove it when the web application was st
opped. Threads are going to be renewed over time to try and avoid a probable mem
ory leak.
项目可以在eclipse下完好运行,结果部署到服务器上了就报如上的错误。
对于菜鸟的我当然就跟着网上找资料。发现遇到此情况的道友也很多。
关机重启,更改tomcat service.xml ,更换各种高低版本的tomcat,都没有解决 。
最后发现了是包的问题。
我的是用Meaven进行管理的。就是如下的文件
<dependency>
<groupId>com.opensymphony</groupId>
<artifactId>xwork-core</artifactId>
<version>2.1.6</version>
</dependency>
此文件对应生成的有三个jar.1,spring-test-2.2.6 2,xwork-core-2.1.6 3,JUNIT-3.8.1
删除这三个Jar,总算就可以了。
记下以防下次再有类似问题发生。
分享到:
相关推荐
Eclipse中启动Tomcat服务器产生错误的原因及解决方案
NULL 博文链接:https://123390255-qq-com.iteye.com/blog/1100047
其中,“Error filterStart”是一种较为常见的错误类型,该错误主要发生在Tomcat启动过程中,尤其是在加载自定义过滤器(filter)时。这种错误会导致整个应用无法正常启动,给开发和运维人员带来困扰。 根据题目中的...
7. **处理Tomcat启动错误**:如果遇到Tomcat启动时的错误,例如`Error filterStart`,这可能是由于缺少必要的JAR文件。解决方案是将Solr解压后的`dist`目录中的JAR文件以及`solrj-lib`目录下的JAR文件复制到Tomcat的...
serializer.jar,xalan.jar,xalan-2.7.0.jar,xercesImpl.jar,xsltc.jarxml-apis.jar,解决tomcat和jdk1.6以上Provider org.apache.xalan.processor.TransformerFactoryImpl not found,或者 Error filterStart
7. **严重:Exception starting filter struts2,Error filterStart,Context [/struts2] startup failed due to previous errors** 这个严重错误通常涉及到Struts2配置问题,可能的原因包括: - `struts.xml`中的...