Eclipse starts Tomcat Timeout exception

Source: Internet
Author: User
Tags tomcat apache tomcat


Server Tomcat v6.0 Server at localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.

The Tomcat startup times in Eclipse This exception may be that the Tomcat configuration timeout time in the server is a little short. However, there may be a configuration file error, such as the use of angle brackets (<>) in an XML file without special handling (with <! [cdata[... ]]> wrapped up) and other simple grammatical problems.

Length of timeout when Tomcat starts: direct modification. \workspace\.metadata\.plugins\org.eclipse.wst.server.core\ folder in the Server.xml file in the start-timeout on the line, the length of time you decide, The unit is seconds.

<server auto-publish-setting= "2" auto-publish-time= "1"
	configuration-id= "/servers/tomcat v6.0 server at Localhost-config "
	deploydir=" Wtpwebapps "hostname=" localhost "
	id=" Tomcat v6.0 Server at localhost "
	name = "Tomcat v6.0 Server at localhost" runtime-id= "Apache Tomcat v6.0"
	server-type= "org.eclipse.jst.server.tomcat.60"
	server-type-id= "org.eclipse.jst.server.tomcat.60" start-timeout= "stop-timeout="
	testenvironment= "True" timestamp= "1" >
    <list key= "Modules value0=" Tank_sd::org.eclipse.jst.jee.server:tank_sd::jst.web: : 2.5 "/>
</server>
Remember to restart Eclipse when you have finished modifying it.

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.