zoukankan      html  css  js  c++  java
  • Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds.

    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.

    Tomcat服务器启动超时!

    修改 \workspace\.metadata\.plugins\org.eclipse.wst.server.core 

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <servers>
    <server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v6.0 Server at localhost-config" hostname="localhost" id="Tomcat v6.0 Server at localhost" name="Tomcat v6.0 Server at localhost" runtime-id="Apache Tomcat v6.0" server-type="org.eclipse.jst.server.tomcat.60" server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="45" stop-timeout="15" testEnvironment="false" timestamp="8">
    <list key="modules" value0="ROOT::org.eclipse.jst.jee.server:ROOT::jst.web::2.5"/>
    </server>
    <server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v6.0 Server at HHDW-config" hostname="localhost" id="Tomcat v6.0 Server at HHDW" name="Tomcat v6.0 Server at HHDW" runtime-id="Apache Tomcat v6.0 " server-type="org.eclipse.jst.server.tomcat.60" server-type-id="org.eclipse.jst.server.tomcat.60" start-timeout="45" stop-timeout="15" testEnvironment="false" timestamp="2">
    <list key="modules" value0="hhdw::org.eclipse.jst.jee.server:hhdw::jst.web::2.5"/>
    </server>
    </servers>

     或者在Eclipse的server视图窗口下双击Tomcat服务器,然后在server.xml配置文件里的右边有个什么time的选项打开之后就可以直接设置启动时间和停止时间限制

  • 相关阅读:
    (八)CXF之用spring添加拦截器
    (七)CXF之与spring整合发布web服务
    (六)CXF之自定义拦截器
    借鉴mini2440的usb-wifi工具集在Beagleboard上移植无线网卡
    ubuntu设置网络
    mysql优化学习
    java日期转化
    Navicat使用
    (转载)windows下mysql忘记密码
    java读取文件乱码
  • 原文地址:https://www.cnblogs.com/xmaomao/p/3036049.html
Copyright © 2011-2022 走看看