当前位置: 代码迷 >> Web前端 >> tomcat加载工程报启动超时异常解决
  详细解决方案

tomcat加载工程报启动超时异常解决

热度:149   发布时间:2012-11-26 11:48:49.0
tomcat加载工程报启动超时错误解决
错误信息
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

解决方案
eclipse空间地址+ \.metadata\.plugins\org.eclipse.wst.server.core\servers.xml

<?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 (3)"
  saveSeparateContextFiles="false" 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="83">
    <list key="modules" value0="adlib::org.eclipse.jst.j2ee.server:adlib::jst.web::2.4"/>
  </server>
</servers>

修改 start-timeout="1000" 或更大,默认为45
  相关解决方案