1. Tomcat using a compressed version cannot be used with the installation version.
2. The configuration of the first Tomcat does not change.
3. Add the environment variable catalina_home2, which is the new Tomcat address, add the environment variable CATALINA_BASE2, and the value is the new Tomcat address.
4. Modify the Startup.bat in the new Tomcat and change all of 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. Modify the Conf/server.xml file:
6.1 <server port= "8005" shutdown= "shutdown" > This port does not change
6.2 <connector port= "8080" maxhttpheadersize= "8192"
maxthreads= "minsparethreads=" maxsparethreads= "75"
Enablelookups= "false" redirectport= "8443" acceptcount= "100"
connectiontimeout= "20000" disableuploadtimeout= "true"/> Change the port 8080 to a port that is not used, such as 8888.
6.3<connector port= "8009"
Enablelookups= "false" redirectport= "8443" protocol= "ajp/1.3"/> This port does not change
7 Success!
2 Tomcat on a single computer