Search code examples
apachetomcatmod-proxy

Tomcat stops responding to Apache


I'm trying to resolve an issue about connecting Apache and Tomcat with mod_proxy_ajp. In my case, the Tomcat stops to response the Apache, and the apache log prints logs error message like this:

[Mon May 06 15:22:47 2013] [error] ajp_read_header: ajp_ilink_receive failed
[Mon May 06 15:22:47 2013] [error] (120006)APR does not understand this error code: proxy: read response failed from [::1]:18009 (localhost)

I have no idea. Anyone can help me?


Solution

  • Try this :

    1. try with increase the number of thread count. (It will postpone the errors)
    2. In tomcat configuration try "org.apache.coyote.ajp.AjpProtocol" instead the APR.