Just in case, don't forget your component must inherit the avalon Poolable interface.
for your questions, see below :
On 10/02/2004 07:49, Daniel von Aesch wrote:
Hi,
Can someone explain me how the component pooling in cocoon exactly works ? I am new to cocoon and unfortunately I was not able to find out from the cocoon and avalon docs how the pooling of components works. 1. Are there "pool-min" instances created at startup ?
Yes, pool-min is the number of components instanciated at the cocoon startup. more info : http://avalon.apache.org/excalibur/api/org/apache/avalon/excalibur/pool/Poolable.html
Not sure, but I presume no objects are instanciated at cocoon startup2. If 1 is true - what could be wrong if there are not "pool-min" instances created at startup ?
Maybe your component didn't inherited the Poolable interface...3. We saw that even with pool-min and pool-grow, the system did not behaviour as exptected. It did not instantiate pool-min components and if a new component was requested there was exactly 1 new component instantiated (instead of pool-grow).
-- Olivier BILLARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
