Windows Server deploys tomcat on multiple different ports

Source: Internet
Author: User



Environment: Two Tomcat7.0.20, using a jvm,jdk7,win7 64-bit system.

    1. A compressed version of Tomcat is not available for use with the installation version.

    2. The configuration of the first Tomcat does not change.

    3. Add the environment variable catalina_home2, the value for the new Tomcat address, and the environment variable CATALINA_BASE2 to the new Tomcat address.

    4. Modify the Startup.bat in the new Tomcat to change the catalina_home to Catalina_home2.

    5. Modify the Catalina.bat in the new Tomcat and change the catalina_home to Catalina_home2,catalina_base to Catalina_base2.

    6. Change the port to a port that is not used.

    7. Success!

    8. Third, fourth ..... Wait for N Server reference 3~6 step order!

    9. Perform 1, Netstat–ano view port condition on cmd command line

    10. Tasklist View the running program situation

    11. Kill a program that takes up more ports than you need



This article is from "Ghost" blog, please make sure to keep this source http://fangwei009.blog.51cto.com/5234706/1857337

Windows Server deploys tomcat on multiple different ports

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.