Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 91994 invoked from network); 2 Feb 2011 23:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 23:44:52 -0000 Received: (qmail 2082 invoked by uid 500); 2 Feb 2011 23:44:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2051 invoked by uid 500); 2 Feb 2011 23:44:52 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 2044 invoked by uid 99); 2 Feb 2011 23:44:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 23:44:52 +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, 02 Feb 2011 23:44:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3F52418A24F for ; Wed, 2 Feb 2011 23:44:29 +0000 (UTC) Date: Wed, 2 Feb 2011 23:44:29 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <790477639.6353.1296690269256.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <32107539.104061289320271451.JavaMail.jira@thor> Subject: [jira] Reopened: (DERBY-4895) Thread local TableDescriptor#referencedColumnMap is not removed from app threads when Derby is shut down MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-4895: ----------------------------------- Reopen for backport > Thread local TableDescriptor#referencedColumnMap is not removed from app threads when Derby is shut down > -------------------------------------------------------------------------------------------------------- > > Key: DERBY-4895 > URL: https://issues.apache.org/jira/browse/DERBY-4895 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Priority: Minor > Fix For: 10.7.1.1 > > Attachments: derby-4895-a.diff, derby-4895-a.stat > > > > This has been seen to cause error messages in TomCat, cf. this quote from a mail on derby-user: > > > > http://mail-archives.apache.org/mod_mbox/db-derby-user/201011.mbox/%3C7800E37B639BC345BC2AB40980B7C529180FB525@MERCMBX03R.na.SAS.com%3E > > > > SEVERE: The web application [/MyApp] created a ThreadLocal with key of type [org.apache.derby.iapi.sq\ > > l.dictionary.TableDescriptor$1] (value [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1@d133a3])\ > > and a value of type [java.util.WeakHashMap] (value [{={1, 2, 3, 4}, =null, =null}]) but failed to remo\ > > ve it when the web application was stopped. This is very likely to create a memory leak. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira