Chapter 7.3 Deploying Web Applications on a running Tomcat server
You can easily deploy web applications to a running Tomcat server.
If the Host autodeploy attribute holds true, the Host attempts to deploy and update web applications dynamically.
A running Tomcat and the autodeploy set to “true” permit you to perform the following:
- Deploy .WAR files that are copied into the Host
appBase.
- Deploy exploded web applications that are copied into the Host
appBase.
- Re-deploy a web application that has been deployed from a
.WAR.
- Re-deploy a web application if the
/WEB-INF/web.xmlfile is updated.
- Re-deploy a web application if a Context Descriptor file is updated.
- Re-deploy a web application if a Context Descriptor file is added to the
$CATALINA_HOME/conf/[enginename]/[hostname]/directory.
- Undeploy a web application if its document base (docBase) is deleted.


