[GeoNetwork-devel] Bug in Intermap kernal prevents clean shutdown of Tomcat [SEC=UNCLASSIFIED]

Folks,

I posted this one back in June and have yet to see it applied to the trunk.

When attempting to shutdown GeoNetwork (2.2) deployed on Tomcat(5.5.26) the application hangs. Tomcat does not cleanly exit. This is causing problems in unix as the process must be manually killed (ports are being held open).

The problem is with the way org.wfp.vam.intermap.kernel.TempFiles

uses the Timer API. Changing line 55 from:

timer = new Timer();

to:

timer = new Timer(true);

forces the Timer to use a daemon thread. This allows Tomcat to shutdown

completely.

Regards,

Stephen Davies

Hi Stephen,

On ven, 2008-10-10 at 14:23 +1100, Stephen.Davies@anonymised.com wrote:

Folks,

I posted this one back in June and have yet to see it applied to the
trunk.

I applied your fix (even if I'm not an Intermap expert). Thanks.
Trac ticket is also closed on that topic.
http://trac.osgeo.org/geonetwork/ticket/69

To keep track and apply all patches after review, I think we should use
trac a bit more ! and also the idea of a regular IRC meeting proposed by
Jeroen 2 weeks ago is a good idea.

Ciao.
Francois