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

  • 相关阅读:
    数字基本数据类型范围比较
    java中float和double的区别
    ASP.NET中javascript与c#互相访问
    Javascript技术之详尽解析event对象
    Java基础-Java中的Calendar和Date类
    逻辑运算符
    JS获取当前时间
    几秒后刷新页面
    【LiteOS】LiteOS任务篇源码分析删除任务函数
    POJ 2385 Apple Catching (DP)
  • 原文地址:https://www.cnblogs.com/xmaomao/p/3036049.html
Copyright © 2011-2022 走看看