Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 30502 invoked from network); 17 Apr 2004 07:05:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Apr 2004 07:05:24 -0000 Received: (qmail 41569 invoked by uid 500); 17 Apr 2004 07:04:57 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 41258 invoked by uid 500); 17 Apr 2004 07:04:55 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 41229 invoked from network); 17 Apr 2004 07:04:54 -0000 Received: from unknown (HELO smtp.easystreet.com) (69.30.22.10) by daedalus.apache.org with SMTP; 17 Apr 2004 07:04:54 -0000 Received: from apache.org (dsl-208-161-106-6.dsl.easystreet.com [208.161.106.6]) by smtp.easystreet.com (Postfix) with ESMTP id E72D56DC056 for ; Sat, 17 Apr 2004 00:05:06 -0700 (PDT) Message-ID: <4080D722.609@apache.org> Date: Sat, 17 Apr 2004 00:05:06 -0700 From: Craig McClanahan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [commons-pool] Dynamic pooling configuration. References: <200404161857.i3GIv6qk017556@smtp.domainsystems.com> In-Reply-To: <200404161857.i3GIv6qk017556@smtp.domainsystems.com> Content-Type: text/plain; charset=us-ascii; 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 Victor Subick wrote: >Hello, I have used this pooling package in the past and it is wonderful. >Thanks again (Jakarta) for a wonderful product. I love you guys and gals. > > > >I have a question. How can I change the behavior of the pooling package to >load all my poolable objects initially instead of on demand. Say that I >define 10 maxActives but I want to instantiate all 10 at runtime and keep >them idle forever regardless of use. I wish this to be dynamic. So that I >can specify this behavior at runtime (via a properties file) whether it is >on demand (default behavior) or all at startup. > > > I'm by no means an expert on all aspects of [pool], but won't setting the "minIdle" property do what you want? Craig McClanahan --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org