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

eclipse中 tomcat 起动超时

2012-08-10 
eclipse中 tomcat 启动超时tomcat 运行J2EE项目时,启动报错,如下......?Server Tomcat v7.0 Server at loc

eclipse中 tomcat 启动超时

tomcat 运行J2EE项目时,启动报错,如下......

?

Server Tomcat v7.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 7 内容是这样的:
<server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers2/Tomcat v7.0 Server at localhost-config" deployDir="wtpwebapps" hostname="localhost" id="Tomcat v7.0 Server at localhost" name="Tomcat v7.0 Server at localhost" runtime-id="Apache Tomcat v7.0" server-type="org.eclipse.jst.server.tomcat.70" server-type-id="org.eclipse.jst.server.tomcat.70" start-timeout="450" stop-timeout="150" testEnvironment="true" timestamp="3"/>

更好的办法是:
  在tomcat server 的overview中,找到timeouts,那里有
  指定完成启动与关闭的时间限制,手动修改下就好.

热点排行