tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Web server and tomcat - firewall
Date Wed, 07 May 2008 09:05:35 GMT
Hi Andrew,

Andrew Hole schrieb:
> 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 (???).

How do you know?

> [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)

What is errno 54 on your platform?

perl -e 'use POSIX;print POSIX::strerror(54),"\n"'

> [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?

DisableReuse will have a huge performance hit, but will eliminate any 
problems w.r.t. reusing idle connections, which might have been dropped 
by the firewall.

Post version of mod_jk and configuration.

> Thank you and I apologise for the inconvenience.
> 
> 
> 
> Greetings

Regards,

Rainer


---------------------------------------------------------------------
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