tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: AJP13 connection through a firewall
Date Wed, 19 Jun 2002 13:44:00 GMT
We're currently releasing mod_jk 1.2.0 so new features
should be discussed but I'll be +1 to add this to jk 1.2.0
before release but with features off by default.

Thanks to send patches to the list

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: Jan Singer [mailto:jan.singer@singer-tc.de]
>Sent: Tuesday, June 18, 2002 7:06 PM
>To: tomcat-dev@jakarta.apache.org
>Subject: AJP13 connection through a firewall
>
>
>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:tomcat-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:tomcat-dev-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message