aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <>
Subject [jira] Created: (ARIES-259) MBeans not getting unregistered reliably
Date Thu, 18 Mar 2010 20:46:27 GMT
MBeans not getting unregistered reliably

                 Key: ARIES-259
             Project: Aries
          Issue Type: Bug
          Components: JMX
            Reporter: Thomas Diesler

Closing the MBeanServiceTracker asyncronously triggers JMXAgent.unregisterBeans(MBeanServer

If there is a unexpected exception while unregistering an MBeanHandler the ones coming after
it will not get unregitered.
In particular I am seeing an unguarded postDeregister hook.

Caused by: java.lang.IllegalStateException: Invalid BundleContext.
	at org.apache.felix.framework.BundleContextImpl.checkValidity(
	at org.apache.felix.framework.BundleContextImpl.removeBundleListener(
	at org.apache.aries.jmx.framework.BundleState.shutDownDispatcher(
	at org.apache.aries.jmx.framework.BundleState.postDeregister(
	at org.apache.aries.jmx.framework.RegistrableStandardEmitterMBean.postDeregister(
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postDeregisterInvoke(

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

View raw message