Eclipse Project released to Tomcat was loaded two times

Source: Internet
Author: User

Recently, it was discovered that the Eclipse project was loaded two times after it was released to Tomcat. When Tomcat was started, the project was loaded two times and the project started two times.

Launch Tomcat two times load project

The cause is a problem with the Server.xml setting.

Solution: On the right side of the project, there is a servers

Here is a server.xml file, open, observe the end of the file,

Delete Context tag. Be careful not to delete the </Host>.

After the change, as shown below (that is, a </Host> tag remains):



Eclipse Project released to Tomcat was loaded two times

Related Article

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.