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
7. **处理Tomcat启动错误**:如果遇到Tomcat启动时的错误,例如`Error filterStart`,这可能是由于缺少必要的JAR文件。解决方案是将Solr解压后的`dist`目录中的JAR文件以及`solrj-lib`目录下的JAR文件复制到Tomcat的...
- 启动Tomcat后,Solr的WAR包会被自动解压到`tomcat\webapps\solr`目录下。 - 访问`http://<host>:8080/solr/admin`来确认Solr是否配置正确。 #### 二、Solr如何连接数据库 **步骤1:准备数据库驱动** - 将Oracle...
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`中的...
插件提供了几个内置的事件,如`filterStart`、`filterEnd`,可以在这些事件上添加回调,以便在过滤开始和结束时执行某些操作。 3. **性能优化** 由于`fastLiveFilter`会遍历所有元素,对于大量数据的过滤可能会有...
Filterizr还允许我们监听筛选过程中的各种事件,如`filterStart`、`filterEnd`等,方便进行更复杂的交互设计。 综上所述,jQuery Filterizr是一个强大且灵活的筛选插件,通过这个压缩包中的实例和资源,开发者不仅...