Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 56486 invoked from network); 21 Oct 2008 15:43:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 15:43:51 -0000 Received: (qmail 86986 invoked by uid 500); 21 Oct 2008 15:43:46 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 86935 invoked by uid 500); 21 Oct 2008 15:43:46 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 86924 invoked by uid 99); 21 Oct 2008 15:43:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 08:43:46 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 15:42:36 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3212.me.freeserve.com (SMTP Server) with ESMTP id 1FE9B7000089 for ; Tue, 21 Oct 2008 17:43:13 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.159.239]) by mwinf3212.me.freeserve.com (SMTP Server) with ESMTP id E9A597000088 for ; Tue, 21 Oct 2008 17:43:12 +0200 (CEST) X-ME-UUID: 20081021154312957.E9A597000088@mwinf3212.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id E03551A45D7 for ; Tue, 21 Oct 2008 16:43:23 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5rkXTAuMZMWZ for ; Tue, 21 Oct 2008 16:43:20 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 6A1B31A41D1 for ; Tue, 21 Oct 2008 16:43:20 +0100 (BST) Message-ID: <48FDF88C.5080708@apache.org> Date: Tue, 21 Oct 2008 16:43:08 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Tomcat connection pool contribution References: <48FB4C62.2040706@hanik.com> <48FDE29C.3040308@hanik.com> <48FDF1FE.4020503@hanik.com> In-Reply-To: <48FDF1FE.4020503@hanik.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Filip Hanik - Dev Lists wrote: > Remy and Yoav, I totally understand where you are coming from, and I > have thought about it for while before I suggested adding it here > > 1. commons-dbcp is very stagnant, they are not even accepting > performance improvement patches > https://issues.apache.org/jira/browse/POOL-75 That patch hasn't been rejected. It is more a case of no-one has had the cycles to review the latest patch. The commons folks were very accommodating with https://issues.apache.org/bugzilla/show_bug.cgi?id=43552 once I showed up on dev@commons and started to offer to help. Reviewing the open commons-pool and commons-dbcp issues has been on my to do list for a while but to date, no-one has raised a Tomcat bug or complained on the users list so I haven't got around to it yet. > 2. Remy's comment -"Tomcat does not do connection pools" > We sure do, the fact that we ship with one, means we do connection > pools. and we are in the job of refactoring commons-dbcp, and now you > can't even compile Tomcat with JDK 1.6, nor run it with JDK 1.6 since > the java.sql API's are not implemented. a user doesn't care of this is a > project from elsewhere, he/she just feels it is a hinder. I am pretty sure it will run on a 1.6 JDK - it just has to be compiled on 1.5 > 3. Yoav's comment - "I don't want to bloat Tomcat with extra stuff" > Depends on the definition of bloating, our hacks around commons-dbcp, > the size of the library (commons-dbcp-193k, new pool-36k) itself, and > the build script > we've already bloated our system with crud from commons-dbcp, not > working properly here Calling commons-dbcp crud is rather harsh. If there are issues, join the commons-dev list and offer to help fix them. > 4. Going with the little piece of code (8classes) elsewhere is a bit > moot, the code is complete, it's not gonna attract a community based on > 8classes. And that is why it would be awkward putting it anywhere else, > its not like this code is gonna grow and evolve into a large organic > project, hence within the ASF, it would be considered dead even before > it started. As a refactoring of DBCP (as Remy suggested) in Commons I think there would be enough a community behind it. Putting it in extras is another possibility. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org