Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 49531 invoked from network); 1 Aug 2007 23:40:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 23:40:40 -0000 Received: (qmail 16877 invoked by uid 500); 1 Aug 2007 23:40:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16836 invoked by uid 500); 1 Aug 2007 23:40:38 -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 16827 invoked by uid 99); 1 Aug 2007 23:40:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 16:40:38 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 23:40:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D03667141F6 for ; Wed, 1 Aug 2007 16:39:52 -0700 (PDT) Message-ID: <13885301.1186011592849.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 16:39:52 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2933) When network server disconnects due to an I/O Exception it does not always log the exception that caused the error In-Reply-To: <11051576.1184279884620.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 [ https://issues.apache.org/jira/browse/DERBY-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-2933: ---------------------------------- Attachment: derby-2933_diff.txt Here is another attempt at a patch. I am not really all that pleased with it as I fear it may still gobble some unexpected exceptions. This patch is the same as the first except for it does not log an exception for 1) SocketExceptions which are usually the client disconnecting. 2)The case where DDMReader.fill() expects bytes but gets none. This is the case when the database is shutdown. I'd appreciate if someone can take a look. At least the patch does have the advantage that it will log some of the exceptions that were not being logged before. It is just a question of whether that is good enough. Kathey > When network server disconnects due to an I/O Exception it does not always log the exception that caused the error > ------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2933 > URL: https://issues.apache.org/jira/browse/DERBY-2933 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.2.2.1 > Reporter: Kathey Marsden > Assignee: Kathey Marsden > Attachments: derby-2933_diff.txt, DERBY-2933_no_commit_diff.txt, derby-2933_stat.txt > > > I found this issue when debugging my attempted fix for DERBY-2892. The I/O Exception that occurs in writeScalarStream is not logged. To reproduce apply the patch in DERBY-2892 and run the repro there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.