You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Paul Rütter (Jira)" <ji...@apache.org> on 2026/05/07 06:57:00 UTC

[jira] [Updated] (FELIX-6824) Fix JMX MBean leak during Jetty restart cycle

     [ https://issues.apache.org/jira/browse/FELIX-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rütter updated FELIX-6824:
-------------------------------
    Fix Version/s: http.jetty12-1.1.10

> 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
>            Priority: Major
>             Fix For: http.jetty12-1.1.10
>
>
> 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)