45-second timeout resolution when Eclipse starts Tomcat

Source: Internet
Author: User
Tags tomcat server

When you start a Tomcat server in eclipse, you often get a Tomcat server startup error with a 45-second timeout due to many system initialization items, and the following error occurs.


We used to find the XML configuration file, which corresponds to the value of timeout 45, and was modified to be considered large enough to solve the problem.

< Span style= "FONT-FAMILY:HELVETICA,TAHOMA,ARIAL,SANS-SERIF; font-size:14px; Line-height:25.200000762939453px "> But sometimes it's troublesome, sometimes it's not possible to find a timeout attribute value in the config file, so there's a quick workaround here.  
     solution:  
    1, double-click the corresponding server in the servers view to open the server's properties interface. such as:



2. In the Timeouts->start attribute, change the value 45 to be large enough.
3. Save the changes and restart Tomcat. If you still report a timeout error, continue with the above steps to change the start value under timeouts.


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.