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

  • 相关阅读:
    分布式id 实现方式
    windows查看端口占用以及关闭相应的进程
    spring boot Swagger 集成
    WebJars 进行 css js 资源文件管理
    HTTP Proxy Servlet 代理服务使用
    Netflix Falcor获取JSON数据
    graphql 新API 开发方式
    既使用maven又使用本地Jar包
    maven 几个插件的使用
    Linux有问必答:如何检查Linux的内存使用状况
  • 原文地址:https://www.cnblogs.com/xmaomao/p/3036049.html
Copyright © 2011-2022 走看看