Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4995

Classloader leak in wildfly-camel ContextCreateHandlerRegistryService

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • jboss-fuse-6.2.1
    • WildFly Camel
    • None
    • % %
    • 6.3 Sprint 3 (Feb 29 - Mar 25)

    Description

      Redeploying a simple SY application several times results in OOME when running Fuse 6.2.1 on EAP with a small metaspace.

      Further investigation revealed that classloaders are leaking across redeploys. The classloaders are being retained in ContextCreateHandlerRegistryService$ContextCreateHandlerRegistryImpl's handler mapping.

      PackageScanResolverProcessor only calls createHandlerRegistry.removeContextCreateHandler(classLoader, contextCreateHandler); but not removeContextCreateHandlers(ClassLoader classsLoader) which would remove the ClassLoader entries from the handlerMapping Map.

      Attachments

        Activity

          People

            jnethert@redhat.com James Netherton
            rhn-support-mputz Martin Weiler (Inactive)
            Viliam Kasala Viliam Kasala
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: