Friday, May 30, 2014

Tomcat :Apache Web Server and Tomcat AJP issue

Problems : 
[error] ajp_read_header: ajp_ilink_receive failed
[error] (70007)The timeout specified has expired: proxy: read response failed from localhost:8009 (localhost)

Solutions :

Increase timeout
ProxyPass ajp://localhost:8009/ retry=0 timeout=10000 ttl=10000

-------------------------------------------------------------------------------------------------------------------

Problems: 
[error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)
[error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[error] ap_proxy_connect_backend disabling worker for (localhost)
[error] proxy: AJP: failed to make connection to backend: localhost
Solutions :

Add connectionTimeout and keepAliveTimeout to your AJP connector found in /etc/tomcat/server.xml.
Connector port="8009" protocol="AJP/1.3" redirectPort="8443" connectionTimeout="10000" keepAliveTimeout="10000" />

 source : 


  1. http://javaworkbench.blogspot.com/2013/09/apache-web-server-tomcat-ajp.html
  2. http://serverfault.com/questions/655362/mod-proxy-ajp-70007the-timeout-specified-has-expired-ajp-ilink-receive-can
  3. http://stackoverflow.com/questions/16394682/tomcat-stops-responding-to-apache

Related Posts:

0 comments:

Post a Comment