cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steinar Haugen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5492) ThreadLoad org.apache.cxf.BusFactory.BusHolder leak in Tomcat
Date Mon, 07 Jul 2014 15:34:33 GMT

    [ https://issues.apache.org/jira/browse/CXF-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053764#comment-14053764
] 

Steinar Haugen commented on CXF-5492:
-------------------------------------

I'm also getting a similar {{BusFactory$BusHolder}} message with a web application that uses
CXF client code towards another web service. See error message number 2 on [this|http://stackoverflow.com/questions/23813000/error-messages-when-shutting-down-tomcat-with-a-grails-web-app-with-embedded-h2]
stackoverflow question.

> ThreadLoad org.apache.cxf.BusFactory.BusHolder leak in Tomcat
> -------------------------------------------------------------
>
>                 Key: CXF-5492
>                 URL: https://issues.apache.org/jira/browse/CXF-5492
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.6, 2.7.8
>         Environment: oracle jdk 7, windows7 x64
>            Reporter: Alex O'Ree
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message