Hi All, I am facing a classloader leak on application redeployment on tomee (1.6.0.2). I tracked down the reason to the reflection metadata stored in CXF's ExtensionManagerBus, which is not removed on redeployment and prevents the classloader from being garbage collected.
The problem seems to be a custom JAX-RS provider (JacksonJaxbJsonProvider) which is registered using the getSingletons() method of my application subclass. I have asked in the CXF mailing list, and the best way to avoid that would be to use one Bus per endpoint, and recycle the bus when the application is undeployed. Any way we can configure Tomee so that it uses a bus per endpoint? Any help would be greatly appreciated. Thanks in advance.
