Workaround for Eclipse 45-second timeout when booting tomcat

Source: Internet
Author: User

When Eclipse launches Tomcat, the default configured startup timeout is 45 seconds. If the project needs to load more things, the startup time will be longer, if the start more than 45 seconds will be an error. There are two ways to solve this, and only one is to modify the startup time.

1. Modify the Server.xml configuration file under Eclipse's workspace.

Find the Eclipse workspace and find the Server.xml configuration file in the workspace, such as my Eclipse's server.xml in: E:\program\workspace\.metadata\.plugins\ Org.eclipse.wst.server.core folder below, find Servers.xml, open the file, find start-timeout= "45" content, change 45 to 45 larger than the value, such as my change to start-timeout= " 60 ", save.

2. Open the Eclipse development tool, double-click the corresponding server in the servers view, open the server's property interface, there is a timeouts on the right, find the start (in seconds), the inside of the 45 is larger, for example, I changed to 60. As shown in the following:

In fact, the above two kinds of modification are the same, but the way is not the same.

Workaround for Eclipse 45-second timeout when booting tomcat

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.