Tomcat Manual Deployment

Tomcat Deployment

In this tutorial, we are going to learn on how to deploy a WAR (Web Archive) file to the tomcat server manually without using the tomcat manager. If you don`t have a war file, then download it from here. I have created a sample war file for the deployment purposes. Download it and save to your favorite directory.

Now, look for a directory under $Tomcat_Home directory with the name webapps.Copy the WAR file to the following directory.


Where /usr/local/tomcat/apache-tomcat-7.0.25 = Tomcat Home Directory.

Without restarting the server, I was able to access the application:

Tomcat logs:

Jan 28, 2012 7:05:51 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /usr/local/tomcat/apache-tomcat-7.0.25/webapps/TomcatSampleWebApp.war
Tomcat Manual Deployment Article : Completed