Install and configure APACHE-Tomcat-6.0.33

Source: Internet
Author: User

Apache -- tomcat-6.0.33Install configurations

  1. Download APACHE-Tomcat-6.0.33 and tomcat: tomcat.apache.org.
  2. Installation Directory: D: \ apache-Tomcat-6.0.33.
  3. Set the catalina_home environment variable:

Computer> Properties> advanced> environment variables> Add environment variables,

.

  1. If the project file has been compressed into a war package, name the war package root. War and place it in the webapps folder under the tomcat installation directory to replace the original root folder.
  2. Start Tomcat and double-click STARTUP. bat in the bin in the tomcat installation directory.
  3. Install Tomcat as a service method:

Run service. Bat install in the Tomcat bin directory.

  1. Tomcat port settings: Open Server. XML in D: \ apache-Tomcat-6.0.33 \ conf \; find the following content, change 8080 to 80, and restart the service.

<Connector Port = "8080" protocol = "HTTP/1.1"

Connectiontimeout = "20000"

Redirectport = "8443" type = "regxph" text = "yourobjectname"/>

Problems:

1. When running a webpage, some parts of the webpage are not displayed ==> the cache is deleted considering the cache issue. The cached directory is the Catalina folder under .. \ apache-Tomcat-6.0.32 \ conf, and the entire folder is deleted.

2. Before starting tomcat, make sure that no other service in the system has occupied port 8080 (default Tomcat port) and Port 8009 (Tomcat \'s ajp13 connector port)

3. If you have already installed IIs before installation, stop the IIS service first. Because both IIS and Apache use port 80 by default, otherwise it will conflict.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.