Bug 45939 - Cannot drop HierarchyDynamicMBean from LoggerRepository
Summary: Cannot drop HierarchyDynamicMBean from LoggerRepository
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2008-10-02 09:43 UTC by Howard
Modified: 2008-10-02 09:43 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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.