C.4 Tomcat 4.1 and higher

Resources for installing and configuring Tomcat can be found at http://jakarta.apache.org/tomcat/index.html.

There are multiple ways to deploy a web application to Tomcat, but the first step is the same regardless:

If you have not already done so, create a WAR file containing the replets you wish to deploy. Refer to Deploying the Application as a WAR File for instructions on how to do this using the Enterprise Manager, or go to Appendix C.1, Manual Creation of a WAR file, for information on how to create a WAR file manually.

Once this is accomplished, a WAR file can be manually deployed as follows:

Copy the generated WAR file to the <CATALINA_HOME>/webapps directory, where <CATALINA_HOME> is the directory into which Tomcat 4.1 has been installed. (Exception: <CATALINA_BASE>/webapps should be used if you have used 'CATALINA_BASE' to configure Tomcat for multiple instances). The Tomcat server will automatically expand and deploy the WAR file when it starts up.

Alternatively, the WAR file can instead be deployed using the Tomcat Web Application Manager, as follows:

Go to 'http://localhost:8080/manager/html/' to access the Tomcat Web Application Manager. (You will need to log in as a Tomcat user that has a 'manager' role.)

Scroll down to the bottom of the page and use the 'Upload a WAR file to Install' option to install your WAR file.

 

Regardless of how it is deployed, the Context is generated from the WAR file name. Thus, if the WAR file is named “sree.war”, this product should launch from the following URL:

http://localhost:8080/sree/Reports

Likewise, the Enterprise Manager should launch from the following URL:

http://localhost:8080/sree/EnterpriseManager

See Also

Creating a WAR File Using Enterprise Manager, for details on WAR file creation.

<< C.3 WebLogic 7.0 and higher © 1996-2013 InetSoft Technology Corporation (v11.5) Appendix D: Exploding Configuration Files >>