You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Francesco Mari (Jira)" <ji...@apache.org> on 2026/03/11 12:22:00 UTC
[jira] [Created] (FELIX-6824) Fix JMX MBean leak during Jetty restart cycle
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)