I am having intermittent problems with a servlet running on JBoss, with Apache redirecting all requests through mod_proxy_ajp.so.
Sometimes for REST requests I get 503 errors from Apache. When this happens, Apache error_log has this in it:
[Mon Oct 12 09:10:19 2009] [error] (32)Broken pipe: ajp_ilink_send(): send failed [Mon Oct 12 09:10:19 2009] [error] (32)Broken pipe: proxy: send failed to 127.0.0.1:8009 (localhost)
After several unsuccessful attempts, it will start working again.
I searched for some and found that I was not the only one who ran into the problem. The only solution I found was to make sure Apache started after JBoss (I restart Apache after restarting JBoss).
The strange problem with this problem is that other servlets work in this JBoss, and I have no problem there.
A servlet is a CXF JAX-RS.
Apache - 2.2.6.
source share