RuntimeException thrown on shutdown when unregistering MBeans
-------------------------------------------------------------

                 Key: QPID-1792
                 URL: https://issues.apache.org/jira/browse/QPID-1792
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.5
            Reporter: Martin Ritchie


2009-04-07 20:29:01,610 ERROR [Thread-0] registry.ApplicationRegistry 
(ApplicationRegistry.java:136) - Error shutting down Application Registry(1): 
javax.management.RuntimeMBeanException: RuntimeException thrown in 
preDeregister method
javax.management.RuntimeMBeanException: RuntimeException thrown in 
preDeregister method
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preDeregisterInvoke(DefaultMBeanServerInterceptor.java:1050)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:421)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
        at 
org.apache.qpid.server.management.JMXManagedObjectRegistry.close(JMXManagedObjectRegistry.java:357)
        at 
org.apache.qpid.server.registry.ApplicationRegistry.close(ApplicationRegistry.java:224)
        at 
org.apache.qpid.server.registry.ApplicationRegistry.remove(ApplicationRegistry.java:131)
        at 
org.apache.qpid.server.registry.ApplicationRegistry.removeAll(ApplicationRegistry.java:150)
        at 
org.apache.qpid.server.registry.ApplicationRegistry$ShutdownService.run(ApplicationRegistry.java:82)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: The MBeanServerDelegate MBean 
cannot be unregistered
        at 
com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.preDeregister(MBeanServerDelegateImpl.java:102)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preDeregisterInvoke(DefaultMBeanServerInterceptor.java:1048)
        ... 9 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to