Proposition: How do I fix an issue with the default startup timeout of 45 seconds when you start Tomcat in Eclipse?
In Eclipse's Java EE project, start Tomcat to debug the Servlet and the like, after the breakpoint, you will encounter the Tomcat start 45 seconds timeout problem, the following is the way to solve this problem:
First find this file, where \your workspace is the directory where you workspace the project:
\your workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml
The content after opening servers.xml is as follows:
<?XML version= "1.0" encoding= "UTF-8" standalone= "no"?><Servers><Serverauto-publish-setting= "2"Auto-publish-time= "1"Configuration-id= "/servers/tomcat v8.0 Server at Localhost-config"Deploydir= "Wtpwebapps"hostname= "localhost"ID= "Tomcat v8.0 Server at localhost"name= "Tomcat v8.0 Server at localhost"Runtime-id= "Apache Tomcat v8.0"Server-type= "org.eclipse.jst.server.tomcat.80"Server-type-id= "org.eclipse.jst.server.tomcat.80"Start-timeout= "$"Stop-timeout= " the"testenvironment= "true"timestamp= "+"><ListKey= "Modules"Value0= "spring_mvc3::org.eclipse.jst.jee.server:spring_mvc3::jst.web::3.0"/></Server></Servers>
Change the start-timeout parameter from 45 to 1800 (in seconds).
Restarting Eclipse will take effect.
(Note: Landlord in Eclipse Luna SR2 (v4.4.2) Build id:20150219-0600 + Tomcat v8.0 under test, I did not find in Eclipse Luna SR2 on stackoverflow.com said the Server settings interface, the above method is your own reference to the following first article groped out. )
Reference:
Http://stackoverflow.com/questions/4845219/change-tomcat-servers-timeout-in-eclipse
Http://stackoverflow.com/questions/104640/how-can-i-disable-the-eclipse-server-startup-timeout
How to fix Eclipse Tomcat startup timeout in seconds?