Environment: Two Tomcat7.0.20, using a jvm,jdk7,win7 64-bit system.
A compressed version of Tomcat is not available for use with the installation version.
The configuration of the first Tomcat does not change.
Add the environment variable catalina_home2, the value for the new Tomcat address, and the environment variable CATALINA_BASE2 to the new Tomcat address.
Modify the Startup.bat in the new Tomcat to change the catalina_home to Catalina_home2.
Modify the Catalina.bat in the new Tomcat and change the catalina_home to Catalina_home2,catalina_base to Catalina_base2.
Change the port to a port that is not used.
Success!
Third, fourth ..... Wait for N Server reference 3~6 step order!
Perform 1, Netstat–ano view port condition on cmd command line
Tasklist View the running program situation
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