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

Classloader leak in wildfly-camel ContextCreateHandlerRegistryService

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: fuse-7.0
    • Component/s: WildFly Camel
    • Labels:
      None
    • Environment:

      Fuse 6.2.1 on EAP 6.4

    • Sprint:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jamesnetherton James Netherton
                Reporter:
                mputz Martin Weiler
                Tester:
                Viliam Kasala
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: