commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rickard Öberg <rick...@dreambean.com>
Subject [Launcher] Restart of process?
Date Tue, 02 Nov 2004 10:50:41 GMT
Hi!

Background: I want to implement an auto-update feature for our webapp 
running in Tomcat. The way it will work is that it will download an 
update from a known location and expand it on the server. Then the 
process will be killed and an Ant task should replace the old version 
with the new, and finally Tomcat should be restarted.

Question: can I use commons-launcher to accomplish this? Tomcat 5 
already uses the launcher, but I can't find out how to handle restarts 
gracefully, or even just handle the process result in a meaningful way.

Are there better ways to do this?

Has anyone done anything similar before?

/Rickard


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


Mime
View raw message