Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 31112 invoked from network); 13 Jul 2006 08:43:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 08:43:32 -0000 Received: (qmail 7017 invoked by uid 500); 13 Jul 2006 08:43:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6987 invoked by uid 500); 13 Jul 2006 08:43:31 -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 6978 invoked by uid 99); 13 Jul 2006 08:43:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 01:43:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 01:43:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74884410504 for ; Thu, 13 Jul 2006 08:41:31 +0000 (GMT) Message-ID: <25121120.1152780091474.JavaMail.jira@brutus> Date: Thu, 13 Jul 2006 08:41:31 +0000 (GMT+00:00) From: "Fernanda Pizzorno (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1274) Network Server does not shutdown the databases it has booted when started and shutdown from the command line In-Reply-To: <31315658.1146542267259.JavaMail.jira@brutus> 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 [ http://issues.apache.org/jira/browse/DERBY-1274?page=all ] Fernanda Pizzorno updated DERBY-1274: ------------------------------------- Attachment: derby-1274v3.diff derby-1274v3.stat The attached patch (derby-1274v3.diff) is v2 + a test (as suggested by Bryan Pendleton). The network server will be started from the command line before the test starts, the test will create a database, create a table, insert some data and then shut down the server and check that the file db.lck does not exist. Then it will start the server from the api, create the database ... etc, shut down the server and check that the file db.lck exists. I think the test would look better if the server had been started from the command line inside the test. Does anyone have a suggestion on how to do that? I have successfully run derbyall with this patch. Can someone please review it? > Network Server does not shutdown the databases it has booted when started and shutdown from the command line > ------------------------------------------------------------------------------------------------------------ > > Key: DERBY-1274 > URL: http://issues.apache.org/jira/browse/DERBY-1274 > Project: Derby > Type: Bug > Components: Network Server > Versions: 10.2.0.0, 10.1.2.3 > Reporter: Kathey Marsden > Assignee: Fernanda Pizzorno > Attachments: derby-1274.diff, derby-1274.stat, derby-1274v2.diff, derby-1274v3.diff, derby-1274v3.stat > > If network server is started and shutdown from the comand line t does not shutdown the database. This can is evidenced by the fact that the db.lck file remains after the following steps. > java org.apache.derby.drda.NetworkServerControl start & > > java org.apache.derby.drda.NetworkServerControl shutdown > There is much discussion about the correct behavior of NetworkServer in this regard related to embedded server scenarios in DERBY-51, but it seems clear in this case the databases should be shutdown. > > -- 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