| Summary: | [region] mBeans are still registered after framework stop | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Hristo Iliev <hsiliev> | ||||
| Component: | Components | Assignee: | equinox.components-inbox <equinox.components-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | glyn.normington, hsiliev, tjwatson | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 343391, 344660 | ||||||
| Attachments: |
|
||||||
|
Description
Hristo Iliev
The coregion mbean is an example of an mbean that was not destroyed when its region was deleted. The others should have been destroyed on framework termination. Re-assigning to fix in Equinox. Created attachment 193532 [details]
patch
Would be good to have some tests that check the MBeanServer for the proper presence of the region MBeans.
I released the patch, leaving open to add testcases for the MBeans. I released some tests for the mbean stuff. Would be good if someone else with more JMX experience than I looked at the testcase. I have almost no experience with JMX and had to stumble over the javax.management javadoc for a while to write the current test: org.eclipse.equinox.region.tests.system.RegionSystemTests.testMbeans() Resolving as fixed. testMbeans looks fine to me. Hristo - after we have completed the move of Virgo's region support to Equinox, this bug fix should solve the problem you were seeing, provided the Equinox "regions" bundle is stopped by the time your checks for left-over mbeans happen. Bug 343391 will provide the means to test if all mBeans are removed. If this is so I'm going to close this bug. mBeans are not registered anymore. Closing the bug. |