cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: poolable avalon in cocoon
Date Sun, 31 Aug 2003 08:22:47 GMT
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



Mime
View raw message