MyEclipse Configuration launches multiple Tomcat

Source: Internet
Author: User

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

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.