[jboss-jira] [JBoss JIRA] Updated: (JGRP-1222) JmxConfigurator.unregisterChannel do not unregister all protocol MBeans registered with JmxConfigurator.registerChannel
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Jun 25 11:49:46 EDT 2010
[ https://jira.jboss.org/browse/JGRP-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-1222:
---------------------------
Fix Version/s: 2.10
> JmxConfigurator.unregisterChannel do not unregister all protocol MBeans registered with JmxConfigurator.registerChannel
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-1222
> URL: https://jira.jboss.org/browse/JGRP-1222
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.10
> Reporter: Philippe Julien
> Assignee: Bela Ban
> Fix For: 2.10
>
> Attachments: JmxConfigurator.patch
>
>
> JmxConfigurator.registerChannel don't register the same protocol MBeans as JmxConfigurator.unregisterChannel unregister.
> -JmxConfigurator.registerChannel register every protocol whereas JmxConfigurator.unregisterChannel unregister only protocols whose class comply to isAnnotationPresent(MBean.class)
> -JmxConfigurator.unregisterChannel unregister protocols with name getProtocolRegistrationName(clusterName, "jgroups", p) whereas JmxConfigurator.registerChannel register them with getProtocolRegistrationName(cluster_name, domain, p). That means that if you register your channel with a domain other than "jgroups" you won't be able to use JmxConfigurator.unregisterChannel to unregister them.
> -JmxConfigurator.unregisterChannel unregister the channel with getChannelRegistrationName(clusterName) whereas JmxConfigurator.registerChannel register it with getChannelRegistrationName(channel, domain, cluster_name).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list