Site icon Tutorial

Deployment on Tomcat startup

If you are not interested in using the Tomcat Manager, or TCD, then you’ll need to deploy your web applications statically to Tomcat, followed by a Tomcat startup. The location you deploy web applications to for this type of deployment is called the appBase which is specified per Host. You either copy a so-called exploded web application, i.e. non-compressed, to this location, or a compressed web application resource .WAR file.

The web applications present in the location specified by the Host’s (default Host is “localhost”) appBase attribute (default appBase is “$CATALINA_BASE/webapps”) will be deployed on Tomcat startup only if the Host’sdeploy OnStartup attribute is “true”.

The following deployment sequence will occur on Tomcat startup in that case:

Exit mobile version