Tomcat7 报javax.management.InstanceNotFoundException
2016-12-01 20:58
891 查看
WARNING: Failed to unregister MBean with name [Catalina:j2eeType=Servlet,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none] during component destruction
javax.management.InstanceNotFoundException: Catalina:j2eeType=Servlet,name=jsp,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:536)
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:304)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
at org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:4033)
at org.apache.catalina.startup.ContextConfig.configureStop(ContextConfig.java:907)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:362)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5498)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
解决方法:
jdk的jre/lib/security/java.policy里加上
permission
javax.management.MBeanTrustPermission "register";
链接地址: http://www.bubuko.com/infodetail-699994.html
javax.management.InstanceNotFoundException: Catalina:j2eeType=Servlet,name=jsp,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:536)
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:304)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
at org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:4033)
at org.apache.catalina.startup.ContextConfig.configureStop(ContextConfig.java:907)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:362)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5498)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
解决方法:
jdk的jre/lib/security/java.policy里加上
permission
javax.management.MBeanTrustPermission "register";
链接地址: http://www.bubuko.com/infodetail-699994.html
相关文章推荐
- CentsOS6 Tomcat7 报javax.management.InstanceNotFoundException 解决办法
- druid报错:javax.management.InstanceNotFoundException: com.alibaba.druid:type=DruidDataSourceStat
- ActiveMQ监控队列状态报javax.management.InstanceNotFoundException
- javax.management.InstanceNotFoundException: com.alibaba.druid:type=DruidDataSourceStat
- 解决ERROR - unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
- 解决ERROR - unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
- SpringBoot javax.management.InstanceNotFoundException
- unregister mbean error javax.management.InstanceNotFoundException
- 启动tomcat报异常:java.lang.ClassNotFoundException: javax.xml.rpc.*
- Tomcat配置连接池 异常:javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- eeplat 在tomcat 6.0下面部署的时候出现Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessi
- tomcat6下,关于java.lang.ClassNotFoundException: javax.el.FunctionMapper 异常解决办法
- tomcat启动spring boot项目报错:java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
- 启动Tomcat时出现javax.naming.NameNotFoundException: Name xxx is not bound in this Context情况解决方式
- Tomcat报出java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTag解决方案
- java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
- Tomcat启动报错“java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader”
- java.lang.ClassNotFoundException: javax.transaction.SystemException(hibernate5)
- Eclipse中tomcat加载目录的设置引起的java.io.FileNotFoundException问题
- java.lang.ClassNotFoundException:Javax.websocket.ContainerProvider