Tomcat 等价于这些 WebLogic 设置的是什么

What are the Tomcat Equivalent to these WebLogic settings

谁能告诉我这些 WebLogic 设置的 Tomcat 等价物是什么:

假设您谈论的是 HTTP 请求而不是 JDBC 连接,通常这些是 Tomcat 连接器中的设置,可在 server.xml:

中配置

https://tomcat.apache.org/tomcat-8.0-doc/config/http.html

您要查找的具体值是:

connectionTimeout
socket.soKeepAlive

结果时间限制比较棘手。您将需要一个阀门来执行此操作。参见:

http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Stuck_Thread_Detection_Valve

Tomcat request timeout

<Context ...>
  ...
  <Valve 
    className="org.apache.catalina.valves.StuckThreadDetectionValve"
    threshold="60" />
  ...
</Context>