tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Automated installer for war files
Date Wed, 16 Feb 2011 14:22:28 GMT
chris derham wrote:
>    - Check for existing installation - if one found
>    - shutdown existing service
>       - remove existing service
>       - remove existing tomcat instance
>    - deploy new war, along with appropriate configuration files
>    - register service
>    - startup service
I do not presume to understand exactly what your requirements are, but if you are talking

about deploying/redeploying /tomcat applications/, it seems a bit drastic to remove the 
whole tomcat instance just for deploying a new war.
The Tomcat Manager interface provides a programmatic way to stop an application within a 
running Tomcat instance, replace the application, and restart it, all of that without need

to even stop the Tomcat instance.
At one level above, you can also stop a Tomcat instance (under Windows, probably a 
Service), without having to de-register and re-register the Service.
And so on : you can also update the Tomcat software without necessarily updating the Java

JVM, and you can update the Java JVM without necessarily having to reboot the system, etc..
Maybe you should be more precise as to what exactly you want to be able to update 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message