eclipse tomcat timeout时间设置
eclipse tomcat默认启动timeout时间太短,导致项目启动时间一长,就报错
如下设置:
工作空间\.metadata\.plugins\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" deployDir="wtpwebapps" hostname="localhost" id="Tomcat v6.0 Server at localhost"
name="Tomcat v6.0 Server at localhost" runtime-id="Apache Tomcat v6.0" server-
type="org.eclipse.jst.server.tomcat.60" server-type-id="org.eclipse.jst.server.tomcat.60" start-
timeout="10000" stop-timeout="10000" testEnvironment="true" timestamp="0"/> //设置
</servers>
设置好之后 restart eclipse
posted on 2017-03-21 17:16 signheart 阅读(4891) 评论(0) 编辑 收藏 举报