MyFaces Core
  1. MyFaces Core
  2. MYFACES-3158

Memory Leak related to ThreadLocal with org.apache.myfaces.el.convert.VariableResolverToELResolver

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.11
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 6.0.32, Facelets, Tomahawk, Richfaces

      Description

      After updating to MyFaces 1.2.10 I still see following error in Tomcat log after stopping my web app:

      26.05.2011 12:33:54 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SCHWERWIEGEND: The web application [/fliti] created a ThreadLocal with key of type [org.apache.myfaces.el.convert.VariableResolverToELResolver$1] (value [org.apache.myfaces.el.convert.VariableResolverToELResolver$1@5c3bb813]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      I thought this was solved with bug MYFACES-3001"Memory Leak in MyFaces 1.2 related to RuntimeConfig ThreadLocal"
      but apparently only the issue with org.apache.myfaces.config.RuntimeConfig has been fixed.

        Activity

        Hide
        Leonardo Uribe added a comment -

        committed solution and sync branch with 2.0 code to make maintain easier

        Show
        Leonardo Uribe added a comment - committed solution and sync branch with 2.0 code to make maintain easier

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Michael Heinen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development