Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C34F18B78 for ; Wed, 12 Aug 2015 17:01:46 +0000 (UTC) Received: (qmail 18888 invoked by uid 500); 12 Aug 2015 17:01:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 18784 invoked by uid 500); 12 Aug 2015 17:01:45 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 18769 invoked by uid 99); 12 Aug 2015 17:01:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 17:01:45 +0000 Date: Wed, 12 Aug 2015 17:01:45 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DBCP-444) InvalidateConnection can result in closed connection returned by getConnection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DBCP-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz updated DBCP-444: ----------------------------- Affects Version/s: 2.1 > InvalidateConnection can result in closed connection returned by getConnection > ------------------------------------------------------------------------------ > > Key: DBCP-444 > URL: https://issues.apache.org/jira/browse/DBCP-444 > Project: Commons Dbcp > Issue Type: Bug > Affects Versions: 2.1, 2.1.1 > Reporter: Phil Steitz > Fix For: 2.1.2 > > > BasicDataSource#invalidateConnection closes the pooled connection before invalidating it. If a getConnection request arrives between the close and invalidate, a closed connection could be returned to a client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)