Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 58140 invoked from network); 12 Jul 2005 12:30:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 12:30:49 -0000 Received: (qmail 96127 invoked by uid 500); 12 Jul 2005 12:30:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95890 invoked by uid 500); 12 Jul 2005 12:30:44 -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 95869 invoked by uid 99); 12 Jul 2005 12:30:43 -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; Tue, 12 Jul 2005 05:30:31 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0DB0A19 for ; Tue, 12 Jul 2005 14:30:28 +0200 (CEST) Message-ID: <1291623038.1121171428054.JavaMail.jira@ajax.apache.org> Date: Tue, 12 Jul 2005 14:30:28 +0200 (CEST) From: "Tomohito Nakayama (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-397) Make it sure for the connection to be closed in drda.Database#close() even if Exception happens in conn.rollback(). In-Reply-To: <172896031.1119963842363.JavaMail.jira@ajax.apache.org> 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-397?page=comments#action_12315560 ] Tomohito Nakayama commented on DERBY-397: ----------------------------------------- I remembered some more .... > I'm wondering what is the network server doing that is so different to require this method. >Or to look at it the other way, is this problem also an issue for regular applications against the emebdded driver? I thought there must be some essential difference between closing of networking connection and closing of embedded connection around here. What is the difference .... ? > Make it sure for the connection to be closed in drda.Database#close() even if Exception happens in conn.rollback(). > ------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-397 > URL: http://issues.apache.org/jira/browse/DERBY-397 > Project: Derby > Type: Sub-task > Components: Network Server > Reporter: Tomohito Nakayama > Assignee: Tomohito Nakayama > Attachments: derbyall_pass.txt, derbyall_report.txt, jdbcTrans.java, surveyDERBY397.patch.txt > > If exeption was happen in conn.rollback() In the code of drda.Database#close, > that connection was not closed and would be leaked. > http://svn.apache.org/repos/asf/incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Database.java > Make it sure to close connection between drda and engine, when drda.Database#close was called. -- 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