Deploying on Tomcat

Tomcat does not require a deployment process. Instead, you simply copy the .war file to the web application directory.

This task shows you how to:

Related Topics
Deploying on WebLogic
Deploying on WebSphere
Deploying on Sun Java System Application Server (UNIX Only)

Deploy using Tomcat

To deploy J2EE applications using Tomcat:

  • Copy the enovia.war file from the SERVERHOME/distrib/ directory to app/<Jakarta-TomCat>/webapps/.

Start or stop Tomcat

To start or stop Tomcat:

  1. To start Tomcat, use startup.sh, which is found in the app/tomcat/bin/ directory.

  2. To stop Tomcat, use shutdown.sh, which is also found in the app/tomcat/bin/ directory.

View Tomcat log files

To view Tomcat log files:

  • View the catalina.out file under the app/tomcat/logs/ directory.

Undeploy using Tomcat

To undeploy a J2EE application using Tomcat, you delete the web application subdirectory (e.g., ematrix/) under the app/tomcat_install/webapps/ directory.

  1. Stop Tomcat by using shutdown.sh.

  2. Delete the web application directory under the app/tomcat_install/webapps/ directory. This is usually called ematrix.