in the actual development often encountered multiple projects at the same time, back and forth is not easy to switch, then can be deployed under multiple tomcat.
Modify some configurations to start multiple tomcat at the same time
Start by looking at the relevant information, see an article One myeclipse configuring multiple tomcat at the same time
Try not to succeed, it feels so complicated. And this article is also reproduced everywhere, do not know who is the original
Configuring Tomcat in MyEclipse does not introduce much
If you have two Tomcat to modify one of them, you can
Modify the Server.xml file under tomcat\conf
One
Found it
<server port= "8005" shutdown= "Shutdown" >
instead
<server port= "8123" shutdown= "Shutdown" >
PS: Can be changed to any number, as long as there is no conflict (hereinafter)
Two
Found it
<connector port= "8080" protocol= "http/1.1" connectiontimeout= "20000" redirectport= "8443"/>
instead
<connector port= "8888" protocol= "http/1.1" connectiontimeout= "20000" redirectport= "8443"/>
Three
Found it
<connector port= "8009" protocol= "ajp/1.3" redirectport= "8443"/>
instead
<connector port= "8321" protocol= "ajp/1.3" redirectport= "8443"/>
This step can not be modified, but when you start the following error will be reported
Info: Port busy 8009 java.net.BindException:Address already in Use:jvm_bind
does not affect the running
MyEclipse Configuration launches multiple Tomcat