Exception when stopping the tomcat service "javax.management.MalformedObjectNameException: Cannot create object name for org.apache.catalina.connector.Connector@540984b"

Solution Verified - Updated -

Issue

  • Stopping the tomcat service throws the following exception:
Oct 6, 2011 12:05:45 PM org.apache.catalina.mbeans.ServerLifecycleListener lifecycleEvent
SEVERE: destroyMBeans: Throwable
javax.management.MalformedObjectNameException: Cannot create object name for org.apache.catalina.connector.Connector@359ecd80
        at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:764)
        at org.apache.catalina.mbeans.MBeanUtils.destroyMBean(MBeanUtils.java:1416)
        at org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:678)
        at org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1005)
        at org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:971)
        at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:154)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:748)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:643)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:618)
        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:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Environment

  • Red Hat Enterprise Linux 6
  • tomcat6-6.0.24-33.el6
  • tomcat6-6.0.24-37.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content