您的位置:首页 > 运维架构 > Tomcat

tomcat启动超时解决方法

2013-10-09 14:37 405 查看
ServerTomcatv7.0Serveratlocalhostwasunabletostartwithin45seconds.Iftheserverrequiresmoretime,tryincreasingthetimeoutintheservereditor.

修改workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。<servers>
<serverauto-publish-setting="2"auto-publish-time="1"configuration-id="/Servers/Tomcatv7.0Server-config"deployDir="wtpwebapps"hostname="localhost"id="Tomcatv7.0Server"name="Tomcatv7.0Server"runtime-id="Tomcatv7.0Server"server-type="org.eclipse.jst.server.tomcat.70"server-type-id="org.eclipse.jst.server.tomcat.70"start-timeout=""stop-timeout="45"testEnvironment="true"timestamp="5">
<listkey="modules"value0="test::org.eclipse.jst.jee.server:test::jst.web::3.0"/>
</server>
</servers>把start-timeout="45"改为start-timeout="1000"或者更长
重启eclipse就可以了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tomcat 启动超时