Multiple Tomcat servers are installed on one host, and multiple tomcat servers on one host

Source: Internet
Author: User

Multiple Tomcat servers are installed on one host, and multiple tomcat servers on one host

1. Download and decompress Tomcat, and name it Tomcat_Server_01 and Tomcat_Server_02;

2. Go to the Tomcat_Server_01 \ bin directory, edit the service file, and set

Set SERVICE_NAME = Tomcat8

Change

Set SERVICE_NAME = Tomcat8_1

3. Run the service. bat install command to install it;

4. Go to the Tomcat_Server_02 \ bin directory, edit the service file, and change SERVICE_NAME to Tomcat8_2;

5. Go to the Tomcat_Server_02 \ conf directory, edit the server File, and change all the ports starting with 8 to starting with 9;

6. Run the service. bat install command to install it;

7. Run services. msc. You can see that two Tomcat services have been installed and started separately;

8. Open the browser and enter http: // localhost: 8080/and http: // localhost: 9080/. Both servers are running normally.

Related Article

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.