The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inje

项目在redeploy时出现以下异常:

2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@152bdc7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1296d1d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@baa31b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@12a66ea]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@baa31b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@10bbd42]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\DEV\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\XinRui02\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2014-1-2 17:22:46 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext


通过google,找到以下的贴子:



看到下面的回帖说的有几分道理:



换了tomcat之后,果然警告不在出现。

特此mark,向22楼致敬!



发布了150 篇原创文章 · 获赞 7 · 访问量 28万+
展开阅读全文

tomcat 部署出现严重:the The web application

05-11

2017-5-11 14:21:29 org.apache.catalina.startup.HostConfig reload 信息: Reloading context [/Cinema] 2017-5-11 14:21:29 org.apache.catalina.core.StandardContext reload 信息: Reloading Context with name [/Cinema] has started 2017-5-11 14:21:29 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 严重: The web application [/Cinema] 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. 2017-5-11 14:21:29 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/Cinema] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak. 2017-5-11 14:21:29 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks 严重: The web application [/Cinema] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@17e319a]) and a value of type [org.hibernate.impl.SessionImpl] (value [SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[]])]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2017-5-11 14:21:29 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks 严重: The web application [/Cinema] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@17e319a]) and a value of type [org.hibernate.impl.SessionImpl] (value [SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[]])]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2017-5-11 14:21:29 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks 严重: The web application [/Cinema] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@17e319a]) and a value of type [org.hibernate.impl.SessionImpl] (value [SessionImpl(<closed>)]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2017-5-11 14:21:30 org.apache.catalina.startup.TldConfig execute 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider). log4j:WARN Please initialize the log4j system properly. 2017-5-11 14:21:30 org.apache.catalina.core.StandardContext reload 信息: Reloading Context with name [/Cinema] is completed 大神们帮我看看什么问题 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览