You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/01/10 21:36:12 UTC
[jira] [Commented] (AMQ-4238) Check AMQ JMX connector code if
having same issue as CAMEL-5907
[ 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