[infinispan-issues] [JBoss JIRA] (ISPN-8487) Global MBean registration happens too soon

Tristan Tarrant (Jira) issues at jboss.org
Mon Jan 28 03:46:12 EST 2019


     [ https://issues.jboss.org/browse/ISPN-8487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-8487:
----------------------------------
    Fix Version/s: 9.4.7.Final
                       (was: 9.4.6.Final)


> Global MBean registration happens too soon
> ------------------------------------------
>
>                 Key: ISPN-8487
>                 URL: https://issues.jboss.org/browse/ISPN-8487
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.2.0.Alpha2
>            Reporter: Dan Berindei
>            Priority: Major
>             Fix For: 9.4.7.Final
>
>
> 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).



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list