Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 71065 invoked from network); 15 Jul 2009 16:02:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 16:02:30 -0000 Received: (qmail 70487 invoked by uid 500); 15 Jul 2009 16:02:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70418 invoked by uid 500); 15 Jul 2009 16:02:39 -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 70410 invoked by uid 99); 15 Jul 2009 16:02:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:02:39 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:02:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 218F3234C052 for ; Wed, 15 Jul 2009 09:02:15 -0700 (PDT) Message-ID: <1390793193.1247673735136.JavaMail.jira@brutus> Date: Wed, 15 Jul 2009 09:02:15 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4304) Network Server shutdown should handle exceptions and finish the server shutdown completely In-Reply-To: <433377956.1247509034809.JavaMail.jira@brutus> 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-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731534#action_12731534 ] Mamta A. Satoor commented on DERBY-4304: ---------------------------------------- I have committed the changes into trunk with revision 794303 and commit comments as follows. Working on mergine and running the tests on 10.5 codeline ********** I have made changes to NetworkServerControlImpl.java so we handle the exceptions during different steps of server shutdown and continue with the next step in shutdown rather than bailing out after the first exception. ********** > Network Server shutdown should handle exceptions and finish the server shutdown completely > ------------------------------------------------------------------------------------------ > > Key: DERBY-4304 > URL: https://issues.apache.org/jira/browse/DERBY-4304 > Project: Derby > Issue Type: Improvement > Components: Network Server > Affects Versions: 10.6.0.0 > Reporter: Mamta A. Satoor > Assignee: Mamta A. Satoor > Attachments: DERBY4304_handleExceptions_patch1_diff.txt > > > While working on DERBY-4053, found that an exception from Connection.close was not handled properly by the server shutdown code which caused a new instance server startup to hang. Resolved the problem with Connection close but in general, we should > 1) Make sure an exception during shutdown processing does not prevent the remaining shutdown tasks, like closing the server socket from occurring. > 2) Make sure any exceptions that occur in shutdown processing are reported to the console. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.