tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Web server and tomcat - firewall
Date Tue, 06 May 2008 22:06:31 GMT

could be the extra space

JkOptions + DisableReuse

should be

JkOptions +DisableReuse

someone will correct me if I am wrong :)

if you are not using disable reuse, one has to match up the max clients on the httpd side
with the maxThreads on the tomcat side, so that you don't leave connections hanging.

do a "netstat -na |grep <ajp port number>"
on both the httpd machine and the tomcat machine, to see the state of 
the AJP connections

Filip

Andrew Hole wrote:
> Hi all|
>
>
>
> Maybe you could help me to solve a problem with your experience.
>
> My company has implemented a solution of 3 layers (Apache web server, Tomcat
> Container and Database). There is a firewall between the web server and the
> tomcat.
>
> We get the following errors in mod_jk log:
>
>
>
> These errors are caused by loss of TCP packages in firewall (???).
>
> [Tue May 06 16:24:03 2008] [2704:3128] [error] jk_ajp_common.c (951): (p11)
> can't receive the response message from tomcat, network problems or tomcat (
> 10.202.131.130:8009) is down (errno=54)
>
> [Tue May 06 16:24:03 2008] [2704:3128] [error] jk_ajp_common.c (1592): (p11)
> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
>
> (is not true when log says that tomcat is down because some requests get the
> correct response)
>
>
>
> Setting "JkOptions + DisableReuse" in httpd.conf does not solve the problem.
> Any suggestions?
>
>
>
> Thank you and I apologise for the inconvenience.
>
>
>
> Greetings
>
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.9/1417 - Release Date: 5/6/2008 8:07 AM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message