Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 38406 invoked from network); 31 Aug 2003 08:23:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Aug 2003 08:23:19 -0000 Received: (qmail 66382 invoked by uid 500); 31 Aug 2003 08:22:48 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 66276 invoked by uid 500); 31 Aug 2003 08:22:47 -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 66256 invoked from network); 31 Aug 2003 08:22:47 -0000 Received: from unknown (HELO mwinf0404.wanadoo.fr) (193.252.22.27) by daedalus.apache.org with SMTP; 31 Aug 2003 08:22:47 -0000 Received: from anyware-tech.com (AToulouse-206-1-2-247.w81-50.abo.wanadoo.fr [81.50.189.247]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 9F78A38000F6 for ; Sun, 31 Aug 2003 10:22:47 +0200 (CEST) Message-ID: <3F51B057.1070903@anyware-tech.com> Date: Sun, 31 Aug 2003 10:22:47 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: poolable avalon in cocoon References: <007d01c36e36$1c282c30$61123951@astikoportable> In-Reply-To: <007d01c36e36$1c282c30$61123951@astikoportable> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Nicolas Maisonneuve wrote: > hy , > i hava some trouble with poolabe interface in cocon.. > > > i made a XMLDB avalon component . > > but > if i call the lookup 6 times, 6 instances are created .. > i would use the instances already created .. so in using the avalon > Poolable interface and adding the attributs pool-grow pool-max > pool-min , it would be ok .. but .. no > > if i call the lookup 6 times, 6 instances are created .. > > if someone can me help to understand .. Quick question : do you release() the instances after lookup() ? Because this is what puts instances back into the pool. Ah, and could you please send plain text mails, and not HTML ? Thanks. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com