I have an linux server running with a JBoss Instance with apache2. Apache2 will use AJP connection to reverse proxy to JBoss.
I found these messages in the apache error.log:
[error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header [error] ajp_read_header: ajp_ilink_receive failed [error] (120006)APR does not understand this error code: proxy: read response failed from 184.108.40.206:8009 (hostname) [error] (111)Connection refused: proxy: AJP: attempt to connect to 220.127.116.11:8009 (hostname) failed [error] ap_proxy_connect_backend disabling worker for (hostname) [error] proxy: AJP: failed to make connection to backend: hostname [error] proxy: AJP: disabled connection for (hostname)25
I googled around but I can't seem to find any related topics. There are people say this behavior can be caused by misconfigured apache vs jboss. Telling the max amount of connections apache allows are far greater then jboss, causing the apache connection to time out.
But I know the app isn't used by thousands of simultaneous connections at the time not even hundreds of connections so I don't believe this could be a cause.
Does anybody have an idea? Or could tell me how to debug this problem?
I'm using these versions:
- Debian 4.3.5-4 64Bit
- Apache Version 2.2.16
- JBOSS Version 4.2.3.GA