cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: VERY odd exceptions...
Date Tue, 25 May 2004 11:30:15 GMT
On 25 May 2004, at 11:22, Ugo Cei wrote:
> Pier Fumagalli wrote:
>>
>> I seriously think (I can't see it but can definitely smell it) that 
>> it  happens because one of those handlers (somehow) gets recycled, 
>> and it's  reused before it's actually fully disposed...
>> So, I _seriously_ think that by fixing the problem adding the  
>> appropriate synchronizations, we'll not solve a deeper bug somewhere 
>> in  the pools...
>
> I am more and more inclined to think that pooling is harmful more than 
> it is useful. Components shouldn't be pooled by default, only on 
> special occasions and after careful consideration. Apparently, doing a 
> bug-free pool is harder than it seems.

Oh, well... I totally agree with you on this... Especially since the 
JVMs got quite a lot faster in the last few years... Pooling JDBC 
connections is one thing, pooling random objects another.

> I'm sorry if this isn't of any help to you in this situation, Pier.

Well, my only problem is that the whole "shabang" is pooled to death at 
the moment.

	Pier


Mime
View raw message