Atea - Hero's Grave

          面向?qū)ο螅_源,框架,敏捷,云計(jì)算,NoSQL,商業(yè)智能,編程思想。

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 0 文章 :: 28 評論 :: 0 Trackbacks
          以前沒碰到過這種問題,在eclipse下只轉(zhuǎn)過Tomcat,沒超時過。
          后來奔向了netbeans。據(jù)我所知netbeans沒有server超時設(shè)定,時間太長的話項(xiàng)目build會失敗但server總是能起來。這樣再build項(xiàng)目的話運(yùn)行是沒問題的。

          如今項(xiàng)目要用eclipse轉(zhuǎn)JBoss,于是遇到了timeout:

          '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...
          當(dāng)時不能上網(wǎng),就一個個文件點(diǎn)開排查。
          最后找到了修改方法:
          編輯servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout",把值改大,比如start-timeout="50000"。當(dāng)然,需要重啟eclipse。

          PS:剛才搜索到了另一個方法,明天再試試:
          Double-click the server in the Servers view to open the server editor. Then expand the Timeouts section on the right side of the editor.
          posted on 2008-09-03 18:07 Atea 閱讀(3886) 評論(3)  編輯  收藏 所屬分類: IDE

          評論

          # re: 用eclipse啟動server超時的解決辦法 2008-09-03 20:11 Kevin Chen
          汗死,雙擊你添加的服務(wù)器,會出現(xiàn)一個可編輯的面板,有個Timeout的可以設(shè)置的,哪里需要那么復(fù)雜  回復(fù)  更多評論
            

          # re: 用eclipse啟動server超時的解決辦法[未登錄] 2008-09-04 08:28 Atea
          @Kevin Chen
          呵呵,也就是方法2。找到了..  回復(fù)  更多評論
            

          # re: 用eclipse啟動server超時的解決辦法 2008-11-18 11:50 啊啊阿
          方法3:
          直接點(diǎn)擊ECLIPSE 的菜單 WINDOWS-->preferences,選擇SERVER,進(jìn)行設(shè)置  回復(fù)  更多評論
            


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 濮阳县| 龙岩市| 息烽县| 凤台县| 桐梓县| 叙永县| 垣曲县| 丰县| 台安县| 蒲江县| 松桃| 胶州市| 遵义市| 门头沟区| 河津市| 乌拉特后旗| 广水市| 江孜县| 临夏县| 正安县| 荣成市| 诸暨市| 四平市| 久治县| 北安市| 绥芬河市| 忻州市| 老河口市| 明星| 岳池县| 清苑县| 宜都市| 定远县| 邵阳县| 安吉县| 奉新县| 宝鸡市| 龙陵县| 喀什市| 盐津县| 朝阳县|