tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shantanu Pavgi <pa...@uab.edu>
Subject Re: http-tomcat - AJP ilink receive failed - 500/503 errors
Date Tue, 21 Dec 2010 16:11:58 GMT

Thanks for the tips Chris. 

I had tried AJP PING/PONG options which worked for a while, but not consistently. Seems like
a better solution would be to work with network folks regarding firewall config. 

Just want to mention a nice Perl script that I found during debugging: http://www.perlmonks.org/?node_id=766945
, useful for sending AJP ping requests to Tomcat independent of web server. 

--
Shantanu.


On Dec 16, 2010, at 1:54 PM, Christopher Schultz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Shantanu,
> 
> On 12/15/2010 5:45 PM, Shantanu Pavgi wrote:
>> There was a firewall between two systems (distinct from CentOS
>> iptables), which dropped (idle) connections after some time. Not sure
>> about exact firewall config here. The Apache web server would throw
>> an 500/503 error when it tried to reuse an open connection which
>> firewall had already closed.  The issue was resolved by using
>> disablereuse parameter in ProxyPass directive.
>> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
> 
> mod_jk (and therefore AJP) supports a ping operation in order to keep
> the channels open but validate them (and re-connect if necessary) before
> using them. You might want to look for those options in mod_proxy_ajp to
> improve performance.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk0Kbn4ACgkQ9CaO5/Lv0PBZGACfVg8rodAPEAn7bhqm3OGJrifC
> SrkAoIeWVDqZ+3Q0i4g8hcJ/10HXLrxY
> =9H2n
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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