Atea - Hero's Grave

          面向對象,開源,框架,敏捷,云計算,NoSQL,商業智能,編程思想。

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

          如今項目要用eclipse轉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...
          當時不能上網,就一個個文件點開排查。
          最后找到了修改方法:
          編輯servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout",把值改大,比如start-timeout="50000"。當然,需要重啟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 閱讀(3890) 評論(3)  編輯  收藏 所屬分類: IDE

          評論

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

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

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

          主站蜘蛛池模板: 长泰县| 故城县| 页游| 松阳县| 宝应县| 湄潭县| 五寨县| 铜山县| 新津县| 合川市| 德令哈市| 木里| 伽师县| 龙胜| 洛扎县| 贡嘎县| 北碚区| 湖州市| 界首市| 浑源县| 美姑县| 建瓯市| 玛多县| 确山县| 黄冈市| 桃园市| 南召县| 察哈| 苏州市| 天等县| 兰坪| 珲春市| 綦江县| 平遥县| 沾化县| 北碚区| 华蓥市| 息烽县| 宜州市| 卓尼县| 凤庆县|