Bug 45939

Summary: Cannot drop HierarchyDynamicMBean from LoggerRepository
Product: Log4j - Now in Jira Reporter: Howard <hmak>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Howard 2008-10-02 09:43:58 UTC
HierarchyDynamicMBean registered too many times w/ LoggerRepository.  This can occur when:

1. start MBeanServer
2. register new HierarchyDynamicMBean (HDMBean) to MBeanServer
3. unregister HDMBean from MBeanServer
4. stop MBeanServer
5. repeat (1) - (3)

LoggerReposity will still broadcast to old HDMBean [in addition to new HDMBean].  There is no API to unregister the MBean.