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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Integration: JEE

    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

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

              Dates

                Created:
                Updated:
                Resolved: