On 27/03/2014 03:08, Matthew Turany wrote: > Is it possible to configure either apache or tomcat to send a packet every > x number of seconds so that at the client end the gateway thinks the > session is still active and will keep the connection open, or is this > something best put into the actual web app?
http://tomcat.apache.org/connectors-doc/reference/workers.html socket_keepalive You'll need to configure the OS to send the packets frequently enough. Alternatively, change the application design: - One request to trigger generation of the report - N requests to retrieve report which returns either "still processing" (maybe with an ETA) or "here it is". Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org