linux下tomcat7中部署项目,老是重启几分钟就死

LJ_KB 2015-08-25 03:12:44
八月 25, 2015 3:04:32 下午 org.apache.catalina.core.StandardServer await
信息: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-bio-8087"]
八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-bio-9007"]
八月 25, 2015 3:04:32 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [play.db.DBPlugin.ProxyDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@2e8c31f2]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@6dec421e]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.jboss.netty.util.CharsetUtil$1] (value [org.jboss.netty.util.CharsetUtil$1@4031213b]) and a value of type [java.util.IdentityHashMap] (value [{US-ASCII=sun.nio.cs.US_ASCII$Encoder@145d350c}]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@7345b145]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value [com.ning.http.client.providers.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@4519d02c]) and a value of type [java.lang.Boolean] (value [false]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@6e6989a4]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@3799733b]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@63ae2fe6]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{}]]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@1ad2fdd5]) 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.
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{_executeNextElse=true}]]) 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.
...全文
264 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
LJ_KB 2015-08-26
  • 打赏
  • 举报
回复
引用 7 楼 lxduu87 的回复:
重新启动不影响
引用 6 楼 lxduu87 的回复:
tomcat关闭时,会将内存中的一些进程关闭,如果进程还没来的及关闭,tomcat就关闭了,会报那些内存溢出错误,但重新关闭后不影响的,你主要找一下它为什么会重启的原因,人为不可必免,但不是人为就有问题 了
引用 5 楼 Allen_Chao 的回复:
建议 使用jprofile 监控一下,看看内存使用情况
引用 3 楼 JJYYyibanhua 的回复:
应该是 tomcat的 内存泄露机制吧! The web application [/spay] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 更改server.xml 里面的监听配置 试一下。
昨天这个tomcat上重启就是这个问题,5分钟左右死一次,昨天我换个tomcat,就没有这个问题了,很奇怪。tomcat的配置基本一样。搞不懂………………
kobe8free 2015-08-26
  • 打赏
  • 举报
回复
引用 8 楼 u014682894 的回复:
[quote=引用 7 楼 lxduu87 的回复:] 重新启动不影响
引用 6 楼 lxduu87 的回复:
tomcat关闭时,会将内存中的一些进程关闭,如果进程还没来的及关闭,tomcat就关闭了,会报那些内存溢出错误,但重新关闭后不影响的,你主要找一下它为什么会重启的原因,人为不可必免,但不是人为就有问题 了
引用 5 楼 Allen_Chao 的回复:
建议 使用jprofile 监控一下,看看内存使用情况
引用 3 楼 JJYYyibanhua 的回复:
应该是 tomcat的 内存泄露机制吧! The web application [/spay] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 更改server.xml 里面的监听配置 试一下。
昨天这个tomcat上重启就是这个问题,5分钟左右死一次,昨天我换个tomcat,就没有这个问题了,很奇怪。tomcat的配置基本一样。搞不懂………………[/quote] 配置基本一样。。 你把可以正常使用的 tomcat 的 xml配置 换到 不能用的里面 试一试就ok了,应该是 我之前说的 内存泄露问题
lxduu87 2015-08-25
  • 打赏
  • 举报
回复
重新启动不影响
lxduu87 2015-08-25
  • 打赏
  • 举报
回复
tomcat关闭时,会将内存中的一些进程关闭,如果进程还没来的及关闭,tomcat就关闭了,会报那些内存溢出错误,但重新关闭后不影响的,你主要找一下它为什么会重启的原因,人为不可必免,但不是人为就有问题 了
Allen_Chao 2015-08-25
  • 打赏
  • 举报
回复
建议 使用jprofile 监控一下,看看内存使用情况
  • 打赏
  • 举报
回复
kobe8free 2015-08-25
  • 打赏
  • 举报
回复
应该是 tomcat的 内存泄露机制吧! The web application [/spay] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 更改server.xml 里面的监听配置 试一下。
LJ_KB 2015-08-25
  • 打赏
  • 举报
回复
八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler@2b8ce304]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@66ec01cc]) 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. 八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7bb746e2]) and a value of type [java.util.Stack] (value [[ROOT{_executeNextElse=true}]]) 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. 八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/spay] 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. 八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/spay] registered the JDBC driver [play.db.DBPlugin.ProxyDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/spay] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 八月 25, 2015 3:04:32 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/spay] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol stop 信息: Stopping ProtocolHandler ["http-bio-8087"] 八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol stop 信息: Stopping ProtocolHandler ["ajp-bio-9007"] 八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol destroy 信息: Destroying ProtocolHandler ["http-bio-8087"] 八月 25, 2015 3:04:32 下午 org.apache.coyote.AbstractProtocol destroy 信息: Destroying ProtocolHandler ["ajp-bio-9007"]
LJ_KB 2015-08-25
  • 打赏
  • 举报
回复
求大牛指教,感激不尽

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧