读书人

Tomcat启动45秒解决有关问题

发布时间: 2012-11-01 11:11:32 作者: rapoo

Tomcat启动45秒解决问题

TimeoutwaitingforTomcatv5.5&nbspServer@localhost tostart.Serverdidnotstartafter45s
eclipse设置的问题
eclipse wtp 3.2, 在winodw -> preferences -> server里,有项Server timeout delay ,就它了,
选个Longer应该就不会有问题了。

另外一种方法:
'Starting SERVER_NAME' has encountered a problem.
Server SERVER_NAME was unable to start within 50 seconds. If the server requires more time, try increasing the timeout in the server editor.

修改方法:
编辑servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout ",把值改大,比如start-timeout ="50000"。当然,需要重启eclipse。

读书人网 >软件架构设计

热点推荐