Francesco Mari created FELIX-6824:
-------------------------------------
Summary: Fix JMX MBean leak during Jetty restart cycle
Key: FELIX-6824
URL: https://issues.apache.org/jira/browse/FELIX-6824
Project: Felix
Issue Type: Bug
Components: HTTP Service
Reporter: Francesco Mari
When {{stopJetty()}} runs during a configuration-triggered restart, Jetty's JMX
MBeans are not unregistered before the {{Server}} is stopped. On the subsequent
{{startJetty()}}, the new {{MBeanServerTracker}} tries to register
{{org.eclipse.jetty.server:type=server,id=0}} but the old registration still
exists, causing an {{InstanceAlreadyExistsException}}.
See https://github.com/apache/felix-dev/pull/482.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)