Can someone please tell me what the Tomcat equivalents are to these WebLogic settings:
- Connect Timeout
- Results Time Limit
- Keep Alive Enabled
Can someone please tell me what the Tomcat equivalents are to these WebLogic settings:
Assuming you are talking about HTTP requests and not JDBC connections, in general these are settings in a Tomcat connector, configurable in server.xml:
https://tomcat.apache.org/tomcat-8.0-doc/config/http.html
The specific values you are looking for are:
connectionTimeout
socket.soKeepAlive
Results time limit is trickier. You will need a valve to do this. See:
http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Stuck_Thread_Detection_Valve
<Context ...>
...
<Valve
className="org.apache.catalina.valves.StuckThreadDetectionValve"
threshold="60" />
...
</Context>