https://issues.apache.org/bugzilla/show_bug.cgi?id=55836
Bug ID: 55836
Summary: Failed to unregister MBean
Product: Tomcat 7
Version: 7.0.47
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31086
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31086&action=edit
Example server.xml that causes the problem.
I needed to have my web services on a different port than or applicative port.
To do so, I added a new service in the server.xml file and all works fine
except that when I shutdown Tomcat, I get several warnings with this exception:
WARNING: Failed to unregister MBean with name [Catalina:type=Service] during
component destruction
javax.management.InstanceNotFoundException: Catalina:type=Service
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(Unknown
Source)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(Unknown
Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(Unknown
Source)
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:596)
at
org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:304)
at
org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:822)
at
org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:304)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:743)
at org.apache.catalina.startup.Catalina.start(Catalina.java:704)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]