海水正藍

          面朝大海,春暖花開
          posts - 145, comments - 29, trackbacks - 0, articles - 1
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
          錯誤
          Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
          修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。
          <servers>
          <server hostname="localhost" id="JBoss v5.0 at localhost" name="JBoss v5.0 at
          localhost" runtime-id="JBoss v5.0" server-type="org.eclipse.jst.server.generic.jboss5"
          server-type-id="org.eclipse.jst.server.generic.jboss5" start-timeout="1000" stop-
          timeout="15" timestamp="0">
          <map jndiPort="1099" key="generic_server_instance_properties" port="8090"
          serverAddress="127.0.0.1" serverConfig="default"/>
          </server>
          </servers>
          把 start-timeout="45" 改為 start-timeout="1000" 或者更長
          重啟eclipse就可以了。
          這個原因就是:啟動tomcat需要的時間比45秒大了,Eclipse會判斷tomcat在默認的時間是否啟動了,如果在默認45秒沒有啟動就會報錯了。

          評論

          # re: Server Report was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.  回復  更多評論   

          2015-06-25 11:01 by zjh
          設置還是沒用,,服務器也重啟了。。。。。。。。。。

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


          網站導航:
           
          主站蜘蛛池模板: 寿光市| 邓州市| 双柏县| 时尚| 会昌县| 昌江| 修武县| 察雅县| 侯马市| 罗甸县| 金塔县| 昌平区| 武城县| 四川省| 壤塘县| 仙居县| 英德市| 津市市| 普定县| 郸城县| 昌乐县| 花莲市| 云南省| 金门县| 长子县| 九龙城区| 林芝县| 封丘县| 寻甸| 蓬安县| 白山市| 房山区| 新干县| 香格里拉县| 乐昌市| 襄垣县| 梅河口市| 兴安盟| 界首市| 瓮安县| 称多县|