You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Wall <d....@computer.org> on 2009/07/23 00:10:05 UTC

Programmatically reload webapp in Tomcat 6

Manually, the Tomcat Manager web app allows me to easily restart a web 
app.  So, assuming I have the tomcat manager username and password, I 
can make a program invoke the same URL that probably would cause the web 
app to reload, using something like:

https://myhost.com/manager/html/reload?path=/THISONE

Is there a programmatic way to do this directly instead to make it 
easier to detect any errors or the like?  I basically would like a web 
app to be able to reload itself, without stopping Tomcat itself, such as 
after an automated download that installed some new versions of JARs and 
JSPs for the web app (allowing the web app to download upgrades, install 
them, then restart the web app so it's put into use).

Thanks,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org