45-second time-out workaround for eclipse when booting tomcat

Source: Internet
Author: User
Tags jboss

when Eclipse launches Tomcat, the default configured startup timeout is 45 seconds. If the project starts more than 45 seconds, it will be an error.

Two workarounds:
1. Change XML
Eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml

Start-timeout= "45"

Modify the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.
<servers>
<server hostname= "localhost" id= "JBoss v5.0 at localhost" name= "JBoss v5.0 at
localhost "runtime-id=" JBoss v5.0 "server-type=" ORG.ECLIPSE.JST.SERVER.GENERIC.JBOSS5 "
server-type-id= "org.eclipse.jst.server.generic.jboss5" start-timeout= "stop- "
timeout= "timestamp=" 0 ">
<map jndiport= "1099" key= "generic_server_instance_properties " port= "8090"
serveraddress= "127.0.0.1" serverconfig= "Default"/>
</server>
</servers>
Change the start-timeout= "45" to start-timeout= "100" or longer, depending on the project size of each student. Finally, you can restart eclipse.

2, double-click the corresponding server in the servers view, open the server's property interface, there is a timeouts on the right, the inside of the 45 bigger


45-second time-out workaround for eclipse 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.