W
hen I stop the tomcat by calling the shutdown.sh script or sending SIGTERM
signal to the java process it's throwing the following exception and the
shutdown get hung.

INFO: Destroying ProtocolHandler ["http-bio-80"]
Jul 11, 2013 10:01:58 AM org.apache.catalina.util.LifecycleMBeanBase
unregister
WARNING: Failed to unregister MBean with name
[Catalina:type=Connector,port=80] during component destruction
javax.management.InstanceNotFoundException: Catalina:type=Connector,port=80
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
        at
org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:194)
        at
org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
        at
org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1039)
        at
org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:304)
        at
org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:578)
        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(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

Thanks,
Prakash

Reply via email to