1. I downloaded two versions of tomcat8.x, one Tomcat8.0.17 and Tomcat8.0.20.
2. Change the server.xml in the corresponding directory respectively.
The first place to change:
<server port= "8005" shutdown= "shutdown" > I need to deploy two first one to: 8016, second change to: 8019
The second area to be changed:
<connector port= "8080" protocol= "http/1.1"
connectiontimeout= "20000"
redirectport= "8443"/> I need to deploy two first to change to: 8017, second to: 8020
The third area to be changed:
<connector port= "8009" protocol= "ajp/1.3" redirectport= "8443"/> I need to deploy two first one to: 8018, second to: 8021
3, to MyEclispe2014, find window-preferences, input tomcat can be found.
Select the path where the first Tomcat is located.
Configure the JDK again, if you have previously configured it, then do not, here we use jdk1.8.0_40.
Then, configure the launch interface.
After entering the interface
Copy two copies of the default Tomcat 8.x, and change the name separately. Change the path of the corresponding interface. Just fine. Apply just fine.
Similarly, configure the additional. Apply. Finally, click Close on the bottom right corner.
It would be nice to add different projects separately. Can be started at the same time. Give it a try.
This is the time to be here. Next time, have the opportunity to continue to share. Thank you!
How to configure multiple tomcat8.x series application servers in one myeclipse2014ga while running