tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55836] New: Failed to unregister MBean
Date Mon, 02 Dec 2013 15:52:51 GMT
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: dev@tomcat.apache.org
          Reporter: ugo_ducharme@hotmail.com

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message