Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87484 invoked from network); 10 Nov 2010 12:52:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 12:52:09 -0000 Received: (qmail 2859 invoked by uid 500); 10 Nov 2010 12:52:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2799 invoked by uid 500); 10 Nov 2010 12:52:36 -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 2790 invoked by uid 99); 10 Nov 2010 12:52:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 12:52:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 12:52:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAACqFoD000886 for ; Wed, 10 Nov 2010 12:52:15 GMT Message-ID: <20763909.5741289393535143.JavaMail.jira@thor> Date: Wed, 10 Nov 2010 07:52:15 -0500 (EST) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4895) Thread local TableDescriptor#referencedColumnMap is not removed from app threads when Derby is shut down In-Reply-To: <32107539.104061289320271451.JavaMail.jira@thor> 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/DERBY-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-4895: --------------------------------- Issue & fix info: [Patch Available] Summary: Thread local TableDescriptor#referencedColumnMap is not removed from app threads when Derby is shut down (was: Thread local TableDescriptor#referencedColumnMap is not set to null when connection closes.) > 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 > 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. - You can reply to this email to add a comment to the issue online.