Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56A33B245 for ; Wed, 18 Jan 2012 11:44:02 +0000 (UTC) Received: (qmail 64427 invoked by uid 500); 18 Jan 2012 11:44:02 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 64397 invoked by uid 500); 18 Jan 2012 11:44:01 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 64389 invoked by uid 99); 18 Jan 2012 11:44:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 11:44:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 11:44:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 86152153E7F for ; Wed, 18 Jan 2012 11:43:40 +0000 (UTC) Date: Wed, 18 Jan 2012 11:43:40 +0000 (UTC) From: "Art O Cathain (Commented) (JIRA)" To: issues@cxf.apache.org Message-ID: <651516349.52429.1326887020568.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1424234834.653.1325604639372.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4006) Possible classloader leak due to ThreadLocal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188415#comment-13188415 ] Art O Cathain commented on CXF-4006: ------------------------------------ Yes, that is one of the cases for which we're using CXF (so we're using it as both servlet and client). > Possible classloader leak due to ThreadLocal > -------------------------------------------- > > Key: CXF-4006 > URL: https://issues.apache.org/jira/browse/CXF-4006 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.5.1 > Environment: Glassfish > OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-61.1.10.4.fc16-x86_64) > Reporter: Art O Cathain > > org.apache.cxf.jaxrs.ext.MessageContextImpl is kept in a ThreadLocal for each HTTP request which means when a CXF-servlet-based webapp is undeployed, the webapp's classloader leaks. > (At least, I think that's what's going on, I'm not that expert at tracking down memory leaks. Perhaps I have misconfigured something?) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira