On 9 March 2010 17:47, Edward Quick <edward.qu...@igindex.co.uk> wrote:
> Here’s my configuration. After the 15 seconds timeout, the back end server
> (listening on port 8080 here)  returns a 502 page. Is there any
> configuration I can add to detect that beforehand, and get the balancer to
> redirect my request to the other server member?
>
> Timeout 15
>
> ProxyPass /HelloWorld/ balancer://tomcat/HelloWorld/
> ProxyPassReverse /HelloWorld/ balancer://tomcat/HelloWorld/
>
> <Proxy balancer://tomcat>
>  BalancerMember http://localhost:8080 route=jvm001 redirect=jvm002
>  BalancerMember http://localhost:8082 route=jvm002
> </Proxy>

You could try using AJP instead of HTTP between Apache and Tomcat, and
use the ping parameter. Search for 'ping' here:-

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

-- Phil

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to