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

Source: Internet
Author: User
Tags apache tomcat

Project with SSM, the following error occurred during deployment

Server Tomcat v8.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 startup time is set too short to start properly.

I am using the MyEclipse2015, directly through the page to modify

You can also fix it by modifying the configuration file:

First locate the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.

<server auto-publish-setting= "2" auto-publish-time= "1" deploydir= "Wtpwebapps" has-configuration= "false" hostname = "localhost" id= "Tomcat v8.0 Server at localhost" java-location= "D:\soft\myeclipse2015\binary\ Com.sun.java.jdk7.win32.x86_64_1.7.0.u45 "Name=" Tomcat v8.0 Server at localhost "runtime-id=" Apache Tomcat v8.0 " server-location= "D:\soft\apache-tomcat-8.0.36-windows-x64\apache-tomcat-8.0.36" server-type= " org.eclipse.jst.server.tomcat.80 "server-type-id=" org.eclipse.jst.server.tomcat.80 "start-timeout=" 120 " Stop-timeout= "testenvironment=" false "timestamp=" "useautodeploy=" true ">
<list key= "Modules" value0= "book::org.eclipse.jst.jee.server:book::jst.web::3.0%%exploded"/>
</server>

Change the start-timeout= "45" to start-timeout= "120" or longer and set it according to the project size.
And finally restart the compiler.

Server Tomcat v8.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.