Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 88093 invoked from network); 15 Apr 2007 09:50:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2007 09:50:56 -0000 Received: (qmail 96560 invoked by uid 500); 15 Apr 2007 09:50:55 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 96537 invoked by uid 500); 15 Apr 2007 09:50:55 -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 96526 invoked by uid 99); 15 Apr 2007 09:50:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 02:50:55 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.160.178.142] (HELO p15122102.pureserver.info) (217.160.178.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 02:50:48 -0700 Received: from [192.168.1.2] (dslb-084-060-112-072.pools.arcor-ip.net [84.60.112.72]) by p15122102.pureserver.info (Postfix) with ESMTP id C8C193AC225 for ; Sun, 15 Apr 2007 11:53:09 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) To: Tomcat Developers List Message-Id: <92955326-0A12-4B32-9E28-6242DE06D105@objektpark.de> Content-Type: multipart/alternative; boundary=Apple-Mail-7-754928783 From: Peter Rossbach Subject: Comet API question Date: Sun, 15 Apr 2007 11:50:24 +0200 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7-754928783 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Filip and Remy Often, if my HTTP request needs to get a database connection and the connection pool is empty, the request will block for some period of time. The problem is that the blocking request will consume a thread while it it blocking. How can I free up the request thread when the DB pool can be block? Can I set a event retry timeout and get back the request thread without an error? regards peter --Apple-Mail-7-754928783--