昨天被一个问题烦了要死, Timeout waiting for Tomcat v5.5 Server @ localhost to start. Server did not start after 45s,原来没遇到过,一直在程序里找啊找 ,一直怀疑连接池有问题,后来google了一把,
才知道是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.
找了半天没找到server editor...
编辑servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout",把值改大,比如start-timeout="50000"。当然,需要重启eclipse。
posted on 2008-05-21 17:28
doodoosun 阅读(1535)
评论(1) 编辑 收藏 所属分类:
XML