Uploaded image for project: 'JSFUnit'
  1. JSFUnit
  2. JSFUNIT-275

JSFUnit is leaking ThreadLocals and Threads

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Out of Date
    • JSFUnit.2.0.0.Beta1
    • None
    • Core
    • None

    Description

      Running JSFUnit with Tomcat 6 you can see a lot of ThreadLocal and Thread leakage during undeploy.

      Mar 30, 2011 7:00:41 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: The web application [/3f5e01a9-450c-45ba-ade7-2eef83592a40] appears to have started a thread named [JS executor for com.gargoylesoftware.htmlunit.WebClient@424c2849] but has failed to stop it. This is very likely to create a memory leak.

      Mar 30, 2011 7:00:41 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: The web application [/3f5e01a9-450c-45ba-ade7-2eef83592a40] created a ThreadLocal with key of type [null] (value [com.sun.faces.util.Util$1@3c2465e5]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      Mar 30, 2011 7:00:41 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: The web application [/3f5e01a9-450c-45ba-ade7-2eef83592a40] created a ThreadLocal with key of type [org.apache.commons.lang.builder.HashCodeBuilder$1] (value [org.apache.commons.lang.builder.HashCodeBuilder$1@799dbc3b]) 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.

      Mar 30, 2011 7:00:41 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: The web application [/3f5e01a9-450c-45ba-ade7-2eef83592a40] created a ThreadLocal with key of type [null] (value [com.gargoylesoftware.htmlunit.html.xpath.XPathUtils$1@1b3e02ed]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
      Mar 30, 2011 7:00:41 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/3f5e01a9-450c-45ba-ade7-2eef83592a40] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4322394]) and a value of type [com.sun.faces.context.FacesContextImpl] (value [com.sun.faces.context.FacesContextImpl@77bdcbb2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      Attachments

        Activity

          People

            ssilvert@redhat.com Stan Silvert
            aslak@redhat.com Aslak Knutsen
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: