Server Tomcat v6.0 Server at localhost was unable to start within 600 seconds.

eclipse启动tomcat时遇到超时的问题(Server Tomcat v6.0 Server at localhost was unable to start within 45)。解决办法如下:

编辑servers.xml(your_workspace/.metadata/.plugins /org.eclipse.wst.server.core/servers.xml),修改"start-timeout"的值,把值改大,比如 start-timeout="50000",单位为s。修改完后,需要重启eclipse。

ps:stop-timeout="15",修改此值,能延长Tomcat停止服务的时间。

相关推荐