commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: [exec] Design of commons-exec
Date Tue, 02 Aug 2005 14:18:03 GMT
Tomasz Pik wrote:
>>* Process destroyer: adds itself as a shutdown hook, Execute adds and
>>removes created processes to ensure that they are correctly destroyed
>>when the JVM stops.
> 
> 
> I'm sure it works in Ant but I'm worry about using such solution in server-side
> applications where JVM (in therory) do not stop - just application is being
> redeployed over and over.

I agree. Right now everything is tuned for Ant-type applications (quick 
runs). In the case of long-runnings JVMs a Watchdog is more appropriate. 
In the current code I got the ProcessDestroyer is not optional but I'll 
make a note of fixing that.

Thanks!

/niklas

------------------
Niklas Gustavsson
niklas@protocol7.com
http://www.protocol7.com


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message