Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] RE: mod_proxy_balancer back end status check

Philip Wigg

2010-03-09

Replies: Find Java Web Hosting

Author LoginPost Reply
On 9 March 2010 17:47, Edward Quick <Edward.Quick@(protected):
> 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-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.