Atea - Hero's Grave

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

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 0 文章 :: 28 評(píng)論 :: 0 Trackbacks
          以前沒碰到過(guò)這種問題,在eclipse下只轉(zhuǎn)過(guò)Tomcat,沒超時(shí)過(guò)。
          后來(lái)奔向了netbeans。據(jù)我所知netbeans沒有server超時(shí)設(shè)定,時(shí)間太長(zhǎng)的話項(xiàng)目build會(huì)失敗但server總是能起來(lái)。這樣再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)時(shí)不能上網(wǎng),就一個(gè)個(gè)文件點(diǎn)開排查。
          最后找到了修改方法:
          編輯servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout",把值改大,比如start-timeout="50000"。當(dāng)然,需要重啟eclipse。

          PS:剛才搜索到了另一個(gè)方法,明天再試試:
          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 閱讀(3884) 評(píng)論(3)  編輯  收藏 所屬分類: IDE

          評(píng)論

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

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

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

          主站蜘蛛池模板: 延寿县| 遂宁市| 呼伦贝尔市| 怀宁县| 平武县| 都江堰市| 庄浪县| 海晏县| 乐山市| 吉安市| 资溪县| 谷城县| 钦州市| 湖北省| 嘉定区| 宁夏| 西和县| 什邡市| 绩溪县| 博白县| 观塘区| 长治市| 雷州市| 罗甸县| 石泉县| 屏东市| 东台市| 海门市| 淮滨县| 淄博市| 新津县| 宣威市| 普定县| 竹溪县| 肥西县| 东辽县| 金塔县| 临澧县| 突泉县| 长顺县| 抚顺市|