[MAGNOLIA-6864] Magnolia registers MBeans at startup but does not unregister them on shutdown Created: 08/Nov/16 Updated: 09/Nov/16 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.3, 5.4, 5.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Description |
As this might not be a problem when you shutdown JVM with the instance, this is a problem when deploying multiple times in the same JVM. [8.11.16 11:28:45:754 SEČ] 00000263 SystemOut O 2016-11-08 11:28:45,751 ERROR info.magnolia.module.ModuleManagerImpl : Can't start module cache net.sf.ehcache.CacheException: javax.management.InstanceAlreadyExistsException: net.sf.ehcache:cell=ajuran-HP-ProBook-6560bNode04Cell,name=cache-on-author,type=CacheManager,node=ajuran-HP-ProBook-6560bNode04,process=server1 at net.sf.ehcache.management.ManagementService.init(ManagementService.java:246) |