CentsOS6 Tomcat7 报javax.management.InstanceNotFoundException 解决办法

tomcat突然启动不了,报错:


警告: Failed to unregister MBean with name [Catalina:j2eeType=Servlet,name=UploadServlet,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none] during component destruction

javax.management.InstanceNotFoundException: Catalina:j2eeType=Servlet,name=UploadServlet,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)

        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.ContainerBase.destroyInternal(ContainerBase.java:1247)

        at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)

        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)

        at org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:4123)

        at org.apache.catalina.startup.ContextConfig.configureStop(ContextConfig.java:941)

        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:395)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

        at org.apache.catalina.core.Stand

然后怎么tomcat都启动不了,查了半天,找到解决办法:

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。