Windows Next machine runs multiple tomcat

Source: Internet
Author: User

First, the original Tomcat configuration of the machine is not changed.

Two. Download the new Tomcat decompression version, address: http://tomcat.apache.org/download-80.cgi three. After the download is complete decompression, in order to facilitate the distinction, it is best to extract the file alias (name arbitrarily)------------- Open the extracted Tomcat and make the modification-------------------   1. Find Bin/startup.bat, right-click Edit, start adding in first line                   set JAVA_HOME=D:\Develop\jdk1.8.0 _121                 set Catalin_home=d:\software Development kit\tomcattest7                  //The first one is the installation directory of my JDK. The second one is the installation directory of my Tomcat    2. Find Conf/server.xml, right click Edit, you need to modify three places:                        ① as shown, Modify 8005 to an unused port.                  


② Change the default port of 8080 to an unused port.

The 8009 in ③ is modified to an unused port.  Four. Configure 3, 4 、..... N Tomcat can be done with just a repeat of the above action

Windows Next machine runs multiple tomcat

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.