Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B3589D05 for ; Mon, 5 Mar 2012 19:02:19 +0000 (UTC) Received: (qmail 87126 invoked by uid 500); 5 Mar 2012 19:02:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 87100 invoked by uid 500); 5 Mar 2012 19:02:19 -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 87090 invoked by uid 99); 5 Mar 2012 19:02:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 19:02:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 19:02:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 073A59901 for ; Mon, 5 Mar 2012 19:01:58 +0000 (UTC) Date: Mon, 5 Mar 2012 19:01:58 +0000 (UTC) From: "Kathey Marsden (Reopened) (JIRA)" To: derby-dev@db.apache.org Message-ID: <732788085.23303.1330974118031.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <267614164.10104.1307696579022.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (DERBY-5271) Client may hang if the server crashes due to a java.lang.Error 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-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-5271: ----------------------------------- reopen to fix affects version. I think this goes all the way back. > Client may hang if the server crashes due to a java.lang.Error > -------------------------------------------------------------- > > Key: DERBY-5271 > URL: https://issues.apache.org/jira/browse/DERBY-5271 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.9.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > Fix For: 10.8.2.2, 10.9.0.0 > > Attachments: derby-5271-1a-inital_fix_proposal.diff > > > When certain types of errors are raised while the network server is processing a client request, the server is left in a semi-degraded state. The problem this issue is concerned with, is that the client socket is kept open even though the server in a kind of degraded state (server JVM still alive). This causes the client to hang, until the server JVM is killed, in a read-call on the socket. > I'm able to reproduce this with an OOME being raised on the server. > In my opinion, hanging when there is no chance of progression is bad behavior. Furthermore, it causes trouble for automated testing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira