Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35889 invoked from network); 1 Oct 2005 10:22:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Oct 2005 10:22:12 -0000 Received: (qmail 85110 invoked by uid 500); 1 Oct 2005 10:22:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85070 invoked by uid 500); 1 Oct 2005 10:22:10 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 85059 invoked by uid 99); 1 Oct 2005 10:22:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2005 03:22:08 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 05011E0 for ; Sat, 1 Oct 2005 12:21:48 +0200 (CEST) Message-ID: <871422111.1128162108018.JavaMail.jira@ajax.apache.org> Date: Sat, 1 Oct 2005 12:21:48 +0200 (CEST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-594) Some rawStoreDaemon threads are not stopped Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Some rawStoreDaemon threads are not stopped ------------------------------------------- Key: DERBY-594 URL: http://issues.apache.org/jira/browse/DERBY-594 Project: Derby Type: Bug Components: Services Versions: 10.1.2.0, 10.2.0.0 Environment: Solaris 10 x86, NetBSD 2.1 (x86), Sun JDK 1.4.2/1.5.0 Reporter: Knut Anders Hatlen Assigned to: Knut Anders Hatlen Priority: Minor In some cases, loading a database will create a rawStoreDaemon thread which will run forever, even after Derby is shut down with DriverManager.getConnection("jdbc:derby:;shutdown=true"). I have found two tests in derbyall (there are probably more) where threads are left running: - in store/rollForwardBackup.sql two threads are never terminated - in store/encryptDatabase.sql five threads are never terminated All the threads are named "derby.rawStoreDaemon" and created in org.apache.derby.impl.store.raw.RawStore.boot(). It seems like this happens in some (but not all) cases where the loading of a database fails, but I am not able to say exactly what triggers this bug yet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira