From dev-return-47279-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed Sep 03 08:35:27 2003 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 18551 invoked from network); 3 Sep 2003 08:35:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Sep 2003 08:35:27 -0000 Received: (qmail 27189 invoked by uid 500); 3 Sep 2003 08:34:21 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 27065 invoked by uid 500); 3 Sep 2003 08:34:19 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 26960 invoked from network); 3 Sep 2003 08:34:17 -0000 Received: from unknown (HELO mserv.UGent.be) (157.193.40.40) by daedalus.apache.org with SMTP; 3 Sep 2003 08:34:17 -0000 Received: from tarzan.ugent.be (tarzan.ugent.be [157.193.40.45]) by mserv.UGent.be (8.12.9/8.12.9) with ESMTP id h838YPRP012565 for ; Wed, 3 Sep 2003 10:34:25 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by tarzan.ugent.be (Postfix) with ESMTP id 1782F69FAF for ; Wed, 3 Sep 2003 10:35:23 +0200 (CEST) Received: from tarzan.ugent.be ([127.0.0.1]) by localhost (tarzan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26294-03 for ; Wed, 3 Sep 2003 10:35:22 +0200 (CEST) Received: from allserv.UGent.be (allserv.ugent.be [157.193.40.42]) by tarzan.ugent.be (Postfix) with ESMTP id C1D1469FC5 for ; Wed, 3 Sep 2003 10:35:20 +0200 (CEST) Received: from otsrv1.iic.rug.ac.be (otsrv1.iic.ugent.be [157.193.121.51]) by allserv.UGent.be (8.12.8/8.12.8) with ESMTP id h838YMiJ011445 for ; Wed, 3 Sep 2003 10:34:22 +0200 (MEST) Received: from yum.ot (host100 [192.168.123.100]) by otsrv1.iic.rug.ac.be (8.11.6/8.11.6) with ESMTP id h838YMx00419 for ; Wed, 3 Sep 2003 10:34:22 +0200 Subject: CommandManager again (was RE: [VOTE] Migrate from the aging ECM) From: Bruno Dumon To: dev@cocoon.apache.org In-Reply-To: References: Content-Type: text/plain Organization: Outerthought Message-Id: <1062577796.1980.1028.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 03 Sep 2003 10:29:56 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by UGent DICT X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, 2003-09-03 at 10:23, Carsten Ziegeler wrote: > I think we should do this switch asap. *If* we can solve the commandmanager > issue discussed in the other thread, I will make a 2.1.1 release this week. The issue can in fact be fixed immediately by changing the way we use the PooledExecutor class. In the TPCThreadManager class (in excalibur-event), change the line: m_threadPool.waitWhenBlocked(); to m_threadPool.discardWhenBlocked(); functionally, this shouldn't change anything (I think), and it will avoid the problem in PooledExecutor completely. If you have some time available to try this out, that would be great. Of course, this doesn't fix the original problem we had in PooledExecutor, but I'm starting to doubt if this can be fixed at all. Anyhow, I'm communicating with Doug Lea about that. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org