读书人

eclipse中 tomcat 起动超时

发布时间: 2012-08-10 12:19:33 作者: rapoo

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,那里有
  指定完成启动与关闭的时间限制,手动修改下就好.

读书人网 >Eclipse开发

热点推荐