eclipse tomcat timeout时间设置

博客介绍了在eclipse工作空间下,进入G:\\Java Project\\Spring1.metadata.plugins\\org.eclipse.wst.server.core路径的servers.xml文件进行修改,可将45改成180。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、进入G:\Java Project\Spring1.metadata.plugins\org.eclipse.wst.server.core eclipse 工作空间下的servers.xml 文件

进行修改

<servers>
  <server auto-publish-setting="2" auto-publish-time="1" com.springsource.tcserver.asf="false" 

com.springsource.tcserver.name="base-instance" com.springsource.tcserver.version="9.0.13.B.RELEASE" configuration-

id="/Servers/Pivotal tc Server Developer Edition v4.0-config" deployDir="wtpwebapps" hostname="localhost" 

id="Pivotal tc Server Developer Edition v4.0" id-set="true" name="Pivotal tc Server Developer Edition v4.0" 

runtime-id="Pivotal tc Server Developer Edition (Runtime) v4.0" saveSeparateContextFiles="true" server-

type="com.pivotal.server.tc.90" server-type-id="com.pivotal.server.tc.90" start-timeout="120" stop-timeout="15" 

testEnvironment="false" timestamp="0"/>
  <server auto-publish-setting="2" auto-publish-time="1" configuration-id="/Servers/Tomcat v9.0 Server at 

localhost-config" deployDir="wtpwebapps" hostname="localhost" id="Tomcat v9.0 Server at localhost" name="Tomcat 

v9.0 Server at localhost" runtime-id="Apache Tomcat v9.0" server-type="org.eclipse.jst.server.tomcat.90" server-

type-id="org.eclipse.jst.server.tomcat.90" start-timeout="180" stop-timeout="15" testEnvironment="true" 

timestamp="0"/>
</servers>

就可以把45 改成180了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值