首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 应用服务器 >

tomcat常常死掉,下面是一部分出错信息

2013-07-01 
tomcat经常死掉,下面是一部分出错信息严重: The web application [/snms] appears to have started a thre

tomcat经常死掉,下面是一部分出错信息
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/snms] appears to have started a thread named [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/snms] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@abe769]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e5ba89]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/snms] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@abe769]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@139a159]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.


2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/snms] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@abe769]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@901528]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/snms] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@15d1c5d]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@1f12171]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-6-21 10:02:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks tomcat
[解决办法]
这个错误是Tomcat停止的时候报告的,不能判断错误原因,这个错误是由于定时器quartz或者多线程程序导致的,
可以参考
http://stackoverflow.com/questions/2730354/spring-scheduler-shutdown-error

http://stackoverflow.com/questions/1827212/registering-a-shutdown-hook-in-spring-2-5

热点排行