Server Tomcat v7.0 server at localhost is unable to start within seconds

Source: Internet
Author: User

Tomcat Timeout Solution problemAn issue that ran out of 45 seconds when Eclipse started Tomcat:

Error: Server Tomcat v7.0 server at localhost is unable to start within seconds

The error message is that we limit the time that is caused by the deployment. Modify the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.
Change the start-timeout= "45" to start-timeout= "100" or longer, depending on the project size of each student. Finally, you can restart eclipse.
Server Tomcat v7.0 server at localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.

Solution.


1. Find the bottom of the server in the Eclipse menu-"window->preferencs": Server timeout delay is set to Unlimited!
However, this option is not found in Eclipse 3.6,3.7.


2. Modify the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.
<font color= "Ed1c24" >start-timeout= "" "</font> stop-timeout=" "testenvironment=" true "timestamp=" 5 "></div> <div> <list key=" modules "value0=" Newkia::org.eclipse.jst.jee.server:newkia::jst.web: : 2.5 "/></div> <div>


Change start-timeout= "45" to start-timeout= "1000" or longer


Remember to restart Eclipse

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Server Tomcat v7.0 server at localhost is unable to start within seconds

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.