Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 33868 invoked from network); 21 Jun 2009 17:28:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jun 2009 17:28:19 -0000 Received: (qmail 72843 invoked by uid 500); 21 Jun 2009 17:28:30 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 72730 invoked by uid 500); 21 Jun 2009 17:28:29 -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 72720 invoked by uid 99); 21 Jun 2009 17:28:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 17:28:29 +0000 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 17:28:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62732234C004 for ; Sun, 21 Jun 2009 10:28:07 -0700 (PDT) Message-ID: <1840640201.1245605287389.JavaMail.jira@brutus> Date: Sun, 21 Jun 2009 10:28:07 -0700 (PDT) From: "Mark Thomas (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (DBCP-212) PoolingDataSource closes physical connections 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/DBCP-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DBCP-212. ------------------------------ Resolution: Fixed The numerous sync changes made in POOL 1.5.x should eliminate the remaining issues reported here. In particular: - no factory method is called from within a sync block - borrowObject() uses syncs only where necessary - the implementation of fair queuing ensures that an object will be allocated to a waiting thread when it is returned DBCP 1.3 will include POOL 1.5.1. In the mean time, you should still see most of the benefit by switching to POOL 1.5.1 or later > PoolingDataSource closes physical connections > --------------------------------------------- > > Key: DBCP-212 > URL: https://issues.apache.org/jira/browse/DBCP-212 > Project: Commons Dbcp > Issue Type: Improvement > Affects Versions: 1.2.2 > Environment: Windows XP, Java 1.5.0_06-b05, Sybase ASE 12.5.4, jConnect 6.0.5 EBF 13862, Commons Pool 1.3 > Reporter: Marcos Sanz > Fix For: 1.3 > > Attachments: DBCPtester.java, DBCPtester.java, output.txt > > > By executing the attached program and monitoring the process id of the physical connections at the database server, it is possible to demonstrate that the connections are being actually physically closed and reopened by the application at a very high rate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.