增加tomcat保持活动超时

增加tomcat保持活动超时,tomcat,timeout,hybris,keep-alive,Tomcat,Timeout,Hybris,Keep Alive,我正在尝试增加tomcat服务器上的超时时间。我当前的server.xml配置是: <Connector port="9002" maxHttpHeaderSize="8192" maxPostSize="4194304" maxThreads="150" protocol="org.apache.coyote.http11.Http11Protocol" executor="hybrisExecutor" enableLookups="false" acceptCount="100" c

我正在尝试增加tomcat服务器上的超时时间。我当前的server.xml配置是:

<Connector port="9002"
maxHttpHeaderSize="8192"
maxPostSize="4194304"
maxThreads="150"
protocol="org.apache.coyote.http11.Http11Protocol"
executor="hybrisExecutor"
enableLookups="false"
acceptCount="100"
connectionTimeout="120000"               
keepAliveTimeout="600"
disableUploadTimeout="true"
URIEncoding="UTF-8"
SSLEnabled="true"
scheme="https"
secure="true"
clientAuth="false"
sslProtocol = "TLS"
keystoreFile="${catalina.home}/lib/keystore"
keystorePass=""/>

多个目录中有server.xml文件。有2个目录。一个具有可配置模板(/hybris/config/tomcat/conf),这些模板通过配置参数进行了丰富,然后放入tomcat目录(/hybris/bin/platform/tomcat/conf),以便在ant all或ant server过程中使用

如果对平台目录中的版本进行更改,则在ant all或ant server期间将覆盖这些更改。确保更改配置目录中的server.xml

Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Connection: Keep-Alive
Content-Type: application/json;charset=UTF-8
Date: Wed, 30 May 2018 16:12:27 GMT
Expires: 0
**Keep-Alive: timeout=5, max=81**
Pragma: no-cache
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=38E87AAAED514858A91383908307CBF1; Path=""; 
Secure;HttpOnly
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block