Re: [Geotools-devel] Allowing web applications to undeploy without perm gen leaks, a first cut

2010-05-19 Thread Jody Garnett
Wow that is a tangle! I am still keen to have a GeoTools.cleanup() method; and perhaps a GeoTools.registerCleanup( Cleanup ) so that our "dependencies" can register themselves to be cleaned. Boy I am stick of Factory SPI :-( Please commit on trunk as you say; we are fixing mistakes/sanity. Jo

[Geotools-devel] Allowing web applications to undeploy without perm gen leaks, a first cut

2010-05-19 Thread Andrea Aime
Hi, so as you I've been working on allowing web applications to properly undeploy without leaking permanent generation memory. I have a first cut that solves all the problems I've been able to find so far. Unfortunately it still does not allow GS to actually undeploy cleanly, but it's a step in