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的选项打开之后就可以直接设置启动时间和停止时间限制

  • 相关阅读:
    迷宫寻找路径数
    136. 只出现一次的数字
    48. 旋转图像
    283. 移动零
    面试题 01.06. 字符串压缩
    位运算符
    367. 有效的完全平方数
    868. 二进制间距
    SpringAOP表达式
    Mybatis常见错误及纠错
  • 原文地址:https://www.cnblogs.com/xmaomao/p/3036049.html
Copyright © 2011-2022 走看看