We’ve eventually got around this - the problem occurs when org.apache.felix.eventadmin.AddSubject is declared in the EventAdminImpl configuration.
On a generated karaf instance, the $KARAF_HOME/etc/org.apache.felix.eventadmin.impl.EventAdmin.cfg files sets this to true. Setting it to false, or in our case - just deleting it was our docker contrainer “resolves” the issue as the underlying EventAdmin defaults to false for both values. After deleting the file, event admin starts fine, which in turn allows us to update our Felix Healthcheck dependency (sadly, not to the latest as that requires jakarta.servlet . Mark -- "Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree On 28 Mar 2025 at 8:10:21 AM, Thomas Watson <tjw...@gmail.com> wrote: > That use of Unsafe is not the same issue as this EventAdmin one in Karaf. > But it is related to my message I sent about "Handling the singletons for > URLStreamHandlerFactory and ContentHandlerFactory" > > https://www.mail-archive.com/dev%40felix.apache.org/msg57202.html > > Tom > > >