You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/04/07 21:32:13 UTC

[jira] Created: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

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-subscribe@qpid.apache.org


[jira] Updated: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Gemmell updated QPID-1792:
---------------------------------

    Fix Version/s: 0.5

> 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
>            Assignee: Aidan Skinner
>             Fix For: 0.5
>
>
> 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-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Gemmell reassigned QPID-1792:
------------------------------------

    Assignee: Robert Gemmell

> 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
>            Assignee: Robert Gemmell
>
> 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-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Gemmell reassigned QPID-1792:
------------------------------------

    Assignee: Aidan Skinner  (was: Robert Gemmell)

Aidan, can you review this change please, thanks.

> 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
>            Assignee: Aidan Skinner
>
> 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-subscribe@qpid.apache.org


[jira] Resolved: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner resolved QPID-1792.
---------------------------------

    Resolution: Fixed

> 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
>            Assignee: Aidan Skinner
>             Fix For: 0.5
>
>
> 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-subscribe@qpid.apache.org


[jira] Updated: (QPID-1792) RuntimeException thrown on shutdown when unregistering MBeans

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Gemmell updated QPID-1792:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> 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
>            Assignee: Robert Gemmell
>
> 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-subscribe@qpid.apache.org