You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/12/02 16:52:51 UTC
[Bug 55836] New: Failed to unregister MBean
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
[Bug 55836] Failed to unregister MBean
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55836
--- Comment #1 from Tatsuya Bessho <t....@gmail.com> ---
Two Engines have been named same "Catalina".
Doc said "When using multiple Service elements in the same Server, each Engine
MUST be assigned a unique name.".
http://tomcat.apache.org/tomcat-7.0-doc/config/engine.html#Attributes
--
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
[Bug 55836] Failed to unregister MBean
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55836
Ugo Ducharme <ug...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Ugo Ducharme <ug...@hotmail.com> ---
Ok, thank you. I'll go and resolve the bug.
--
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