昨天被一個問題煩了要死, 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 閱讀(1538)
評論(1) 編輯 收藏 所屬分類:
XML