Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5492

ThreadLoad org.apache.cxf.BusFactory.BusHolder leak in Tomcat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.6, 2.7.8, 2.7.14
    • None
    • Bus
    • None
    • oracle jdk 7, windows7 x64

    • Unknown

    Description

      Upon web application redeploy (that calls a web service), I've been getting a number of log warnings when either Tomcat shutdown's down or when the web app is redeployed

      Jan 12, 2014 10:12:28 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@fb0bc
      0e]) and a value of type [java.util.WeakHashMap] (value [

      {class org.uddi.api_v3.BusinessList=java.lang.ref.WeakReference @1c0a432e, class org.uddi.api_v3.BusinessInfo=java.lang.ref.WeakReference@65c08f63, class org.uddi.api_v3.BusinessInfos= java.lang.ref.WeakReference@4505e0c5, class org.uddi.api_v3.Description=java.lang.ref.WeakReference@4e7c8ea, class org.u ddi.api_v3.Name=java.lang.ref.WeakReference@d377d2a, class org.uddi.api_v3.ServiceInfo=java.lang.ref.WeakReference@35fa5 72d, class java.util.ArrayList=java.lang.ref.WeakReference@4671670a, class javax.xml.bind.annotation.W3CDomHandler=java. lang.ref.WeakReference@3f23e5a7, class org.uddi.api_v3.ListDescription=java.lang.ref.WeakReference@4dba5753, class org.u ddi.api_v3.ServiceInfos=java.lang.ref.WeakReference@4bb3203}

      ]) but failed to remove it when the web application was stop
      ped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
      Jan 12, 2014 10:12:28 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1
      dd06562]) and a value of type [org.apache.cxf.BusFactory.BusHolder] (value [org.apache.cxf.BusFactory$BusHolder@5cb01438
      ]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forc
      ibly removed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spyhunter99 Alex O'Ree
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: