How to set Tomcat boot time in eclipse

Source: Internet
Author: User
Tags jboss

Symptom: Starting Tomcat in Eclipse always prompts "server Tomcat v5.5 server @ localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.  

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.

How to set Tomcat boot time in eclipse

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.