Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8487

Global MBean registration happens too soon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 9.2.0.Alpha2
    • Core
    • None

      Currently DefaultCacheManager explicitly starts CacheManagerJmxRegistration before calling ModuleLifecycle#cacheManagerStarting, which means MBeans in other modules are not registered in JMX.

      We should start CacheManagerJmxRegistration only during global component registry start, after the modules have registered their components. If we want to make the cache manager available in JMX before DefaultCacheManager.start(), we should only register that particular MBean. Conversely, on shutdown, components other than the cache manager should be removed from JMX on DefaultCacheManager.stop() (as per ISPN-118).

            Unassigned Unassigned
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: