Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1222

JmxConfigurator.unregisterChannel do not unregister all protocol MBeans registered with JmxConfigurator.registerChannel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.10
    • 2.10
    • None

    Description

      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).

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            philippejulien_jira Philippe Julien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: