Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 42981 invoked from network); 18 Mar 2010 23:06:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Mar 2010 23:06:50 -0000 Received: (qmail 5520 invoked by uid 500); 18 Mar 2010 23:06:50 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 5451 invoked by uid 500); 18 Mar 2010 23:06:50 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 5441 invoked by uid 99); 18 Mar 2010 23:06:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 23:06:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 23:06:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23836234C1F2 for ; Thu, 18 Mar 2010 23:06:27 +0000 (UTC) Message-ID: <1148818626.353551268953587128.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Mar 2010 23:06:27 +0000 (UTC) From: "Adam Wojtuniak (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Assigned: (ARIES-259) MBeans not getting unregistered reliably In-Reply-To: <1778198536.350911268945187131.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ARIES-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Wojtuniak reassigned ARIES-259: ------------------------------------ Assignee: Adam Wojtuniak > MBeans not getting unregistered reliably > ---------------------------------------- > > Key: ARIES-259 > URL: https://issues.apache.org/jira/browse/ARIES-259 > Project: Aries > Issue Type: Bug > Components: JMX > Reporter: Thomas Diesler > Assignee: Adam Wojtuniak > Attachments: ARIES-259-20100318.patch > > > Closing the MBeanServiceTracker asyncronously triggers JMXAgent.unregisterBeans(MBeanServer server) > 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(BundleContextImpl.java:393) > at org.apache.felix.framework.BundleContextImpl.removeBundleListener(BundleContextImpl.java:170) > at org.apache.aries.jmx.framework.BundleState.shutDownDispatcher(BundleState.java:353) > at org.apache.aries.jmx.framework.BundleState.postDeregister(BundleState.java:293) > at org.apache.aries.jmx.framework.RegistrableStandardEmitterMBean.postDeregister(RegistrableStandardEmitterMBean.java:69) > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postDeregisterInvoke(DefaultMBeanServerInterceptor.java:1065) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.