Return-Path: X-Original-To: apmail-tapestry-commits-archive@minotaur.apache.org Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4760717EC7 for ; Thu, 6 Nov 2014 10:43:34 +0000 (UTC) Received: (qmail 53438 invoked by uid 500); 6 Nov 2014 10:43:34 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 53415 invoked by uid 500); 6 Nov 2014 10:43:34 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 53406 invoked by uid 99); 6 Nov 2014 10:43:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2014 10:43:33 +0000 Date: Thu, 6 Nov 2014 10:43:33 +0000 (UTC) From: "Hudson (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAP5-2411) Tapestry webapp leaks a 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/TAP5-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200061#comment-14200061 ] Hudson commented on TAP5-2411: ------------------------------ SUCCESS: Integrated in tapestry-trunk-freestyle #1345 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1345/]) TAP5-2411: Make sure the PerthreadManager's ThreadLocal is removed at the end of the servlet filter's initialization (jochen.kemnade: rev f3aaec55e1e288464b84882c67a59a84171b6fa1) * tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java > Tapestry webapp leaks a ThreadLocal > ----------------------------------- > > Key: TAP5-2411 > URL: https://issues.apache.org/jira/browse/TAP5-2411 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-ioc > Affects Versions: 5.4 > Reporter: Jochen Kemnade > Assignee: Jochen Kemnade > Fix For: 5.4 > > > When re-deploying a Tapestry webapp in a Tomcat container, I often see a warning like this: > {noformat} > 21-Oct-2014 12:03:37.349 SEVERE [http-nio-9280-exec-14] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/webapp] created a ThreadLocal with key of type [org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl. > MapHolder] (value [org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl$MapHolder@55d6dc57]) and a value of type [java.util.HashMap] (value [{1=DEFINED, 2=DEFINED, 3=DEFINED, 4=DEFINED, 5=DEFINED, 6=DEFINED, 7=DEFINED, 8=DEFINED, 9=DEFINED, 10=DEFINED, > 11=DEFINED, 12=DEFINED, 13=DEFINED}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > {noformat} > I'm not yet sure where this comes from. It looks like a {{Map}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)