首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

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

2012-11-26 
tomcat加载工程报启动超时错误解决错误信息Server Tomcat v6.0 Server at localhost was unable to start

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

热点排行