Hi all,

we use Apache and Tomcat on to machines (both on a SUN Solaris) with a
firewall between them, which is configured to kill open and idle
connections after 60 minutes. This is done in a way that mod_jk (from
jakarta-tomcat-connectors-4.0.2-01) doesn't close the socket in the
pool. So the first request to a servlet after such a timeout isn't
handled correctly, one never gets a response. Sometimes a restart of
apache is necessary to resolve the problem.

I assume there are two solutions for this behaviour:

1. Set the SO_KEEPALIVE-Option on the sockets, so the connection can't
become idle so long
2. Set a timeout for the sockets, after which they will not be reused
but closed.

Now I've written a little Patch which does both. Each option can be set
through the workers.properties and the default behaviour does not change
the behaviour without the patch.

Do you think this can be usefull for someone else? Or does anyone have
comments or hints to this?

Thanks you for your patience,

Jan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to