Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 753D9EEE0 for ; Thu, 10 Jan 2013 20:36:14 +0000 (UTC) Received: (qmail 48793 invoked by uid 500); 10 Jan 2013 20:36:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 48695 invoked by uid 500); 10 Jan 2013 20:36:13 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 48484 invoked by uid 99); 10 Jan 2013 20:36:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 20:36:13 +0000 Date: Thu, 10 Jan 2013 20:36:12 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4238) Check AMQ JMX connector code if having same issue as CAMEL-5907 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550385#comment-13550385 ] Timothy Bish commented on AMQ-4238: ----------------------------------- The ManagementContext class does try to unregister all object that were registered through it when stopped, but it looks like we could also safely add the same: {code} // Unexport JMX RMI registry, if it was created if (registry != null) { try { UnicastRemoteObject.unexportObject(registry, true); LOG.debug("Unexported JMX RMI Registry"); } catch (NoSuchObjectException e) { LOG.debug("Error occurred while unexporting JMX RMI registry. This exception will be ignored."); } } {code} on line 200 where we currently null out or saved registry reference. > Check AMQ JMX connector code if having same issue as CAMEL-5907 > --------------------------------------------------------------- > > Key: AMQ-4238 > URL: https://issues.apache.org/jira/browse/AMQ-4238 > Project: ActiveMQ > Issue Type: Task > Components: JMX > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 5.8.0 > > > See > https://issues.apache.org/jira/browse/CAMEL-5907 > We may need similar fix at AMQ. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira