When you start Tomcatserver in Eclipse, the following error occurs because of a Tomcatserver startup error that results in a 45-second timeout due to many system initialization items.
Once we generally find the XML configuration file, the corresponding timeout value of 45, change to feel big enough to solve the problem.
< Span style= "FONT-FAMILY:HELVETICA,TAHOMA,ARIAL,SANS-SERIF; font-size:14px; Line-height:25.200000762939453px "> But sometimes this is very troublesome, sometimes in the configuration file can not find a timeout attribute value, so there is a high-speed solution.
solution:
1, double-click the appropriate server in Servers view to open the server's properties interface. For example,
2. In the Timeouts->start attribute, change the value 45 to be large enough.
3, save changes, restart Tomcat. Assuming that the timeout error is still reported, continue with the above steps to change the start value under timeouts.
45-second timeout solution when Eclipse launches Tomcat