Multiple tomcat installed on a single host

Source: Internet
Author: User

1. Download the extracted version of Tomcat, and extract two times, respectively named Tomcat_server_01 and tomcat_server_02;

2. Enter the Tomcat_server_01\bin directory and edit the service file to

Set SERVICE_NAME=TOMCAT8

Switch

Set Service_name=tomcat8_1

3. Run service.bat install command, installation;

4. Enter the Tomcat_server_02\bin directory, edit the service file, and change the service_name to Tomcat8_2;

5. Enter the tomcat_server_02\conf directory, edit the Server file, and change the port number starting with 8 to start with 9;

6. Run service.bat install command, installation;

7. Running the services.msc, you can see that two Tomcat services have been installed and started separately;

8. Open the browser, enter http://localhost:8080/and http://localhost:9080/respectively, the two servers can be seen to run normally.

Multiple tomcat installed on a single host

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.