Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-159

ThreadLocal is not cleared upon the unloading of the webapp and the SHiro Servlet

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: Integration: JEE
    • Labels:
    • Environment:

      Description

      Tomcat 6.0.26 reports a severe error when unloading a web app that uses org.apache.shiro.web.servlet.IniShiroFilter

      SEVERE: A web application created a ThreadLocal with key of type [null] (value [org.apache.shiro.util.ThreadContext$1@c0c66a]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
      May 13, 2010 9:29:51 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lhazlewood Les Hazlewood
                Reporter:
                berryware david e. berry
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: