代码搬晕工
2017-11-07 02:00
采纳率: 100%
浏览 5.1k
已采纳

Tomcat运行一段时间后就会挂掉,时间不确定,一会几天,一会几分钟,请大神看看

因为是服务器的原因,断了之后再链接只能看到以下日志,

 at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
    at org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:194)
    at org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
    at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:597)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)
    at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:848)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:768)
    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:913)

6条回答 默认 最新