Deploy two Tomcat servers simultaneously under win7

Source: Internet
Author: User

Requirements:

Share a java_home

Install two Tomcat servers as services.

Method:

1. Two Tomcat servers use different catalina_home. If they are installed as services, you can modify the catalina_home path in the service. BAT file.

2. Two Tomcat listeners modify the server. xml file by listening to different port numbers and modifying the three port numbers

3. Install the service. Switch to the bin directory and run the service. Bat install command.

Note: Both instances are installed as services and the service names must be changed to different ones. Modify the service. BAT file

Set SERVICE_NAME = eugenicstomcat6 service name
Set pr_displayname = Apache eugenicstomcat 6 Display service name

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.