Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 49660 invoked from network); 11 Feb 2008 14:52:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 14:52:33 -0000 Received: (qmail 23317 invoked by uid 500); 11 Feb 2008 14:52:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23289 invoked by uid 500); 11 Feb 2008 14:52:25 -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 23267 invoked by uid 99); 11 Feb 2008 14:52:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 06:52:24 -0800 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 14:51:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52511714074 for ; Mon, 11 Feb 2008 06:52:08 -0800 (PST) Message-ID: <12946599.1202741528334.JavaMail.jira@brutus> Date: Mon, 11 Feb 2008 06:52:08 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3379) "No Current connection" on PooledConnection.getConnection() if pooled connection is reused during connectionClosed processing In-Reply-To: <17502088.1201895588502.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-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-3379: ----------------------------------- Attachment: derby-3379-1a-enforce_no_chaining.stat derby-3379-1a-enforce_no_chaining.diff 'derby-3379-1a-enforce_no_chaining.diff' is an attempt to fix both the NPE and the bug hiding underneath. The basic strategy is to make sure the last DSS has the chaining bits set to no chaining when endWriteChain is called and the data is flushed (sent over the wire). I am not sure if this is the best approach, but it fixes the bug. I have run suites.All successfully with an earlier version of the patch, and I'm now running both derbyall and suites.All with this version to confirm that nothing breaks. Patch is ready for review, but not for commit. There is an unnecessary method rename in there that will go into a separate commit. > "No Current connection" on PooledConnection.getConnection() if pooled connection is reused during connectionClosed processing > ----------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3379 > URL: https://issues.apache.org/jira/browse/DERBY-3379 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1 > Reporter: Kathey Marsden > Attachments: derby-3379-1a-enforce_no_chaining.diff, derby-3379-1a-enforce_no_chaining.stat > > > This is the client version of bug DERBY-2142. It can be reproduced by enabling the test, DataSourceTest.testPooledReuseOnClose() for client. I am opening a new issue for client as the embedded fix was backported to 10.1 and I am guessing the client fix won't be backported that far. Better to keep it as a separate issue. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.