Anna University Regional Campus, Coimbatore

Department of Computer Science and Engineering

Experiment 4 - Installing & Configuring Tomcat Web Server

AIM:

To install and configure Tomcat Web Server.

PROCEDURE:

  1. Visit Apache Tomcat home page with a web browser, and click the "Download" link under the "Tomcat 7.0.70 Released" section.
  2. Click "32-bit Windows zip" link under the "Binary Distributions" section. Save the download file as "apache-tomcat-7.0.70-windows-x86.zip" to a temporary folder.
  3. Unzip the downloaded file to the installation folder C:\apache-tomcat-7.0.70.
  4. Open a command line window and navigate to the Tomcat bin directory:
  5. C:\> cd apache-tomcat-7.0.70\bin
    C:\apache-tomcat-7.0.70\bin> startup
                
  6. If you encounter the error "The CATALINA_HOME environment variable is not defined correctly," set the following environment variables:
  7. Configure these variables through:
  8. My Computer -> Right-click Properties -> Advanced System Settings -> Environment Variables
                
  9. Configure Tomcat by modifying the following XML files located in C:\apache-tomcat-7.0.70\conf:
  10. Try to start the Tomcat server again using the "startup" command:
  11. C:\apache-tomcat-7.0.70\bin> startup
                

Sample Output:

Output Image 1 Output Image 2

RESULT:

Thus, the Tomcat server was successfully installed and configured.