7.1.1 Using mod_proxy

This configuration uses Apache proxy balancer module along with proxy module to load balance JBoss cluster on HTTP protocol.

Uncomment the following module configurations in APACHE_HOME/conf/httpd.conf file

LoadModule proxy_balancer_module modules/mod_proxy_balancer.so 
LoadModule proxy_balancer_module modules/mod_proxy.so 
LoadModule proxy_balancer_module modules/mod_proxy_http.so
Note: For Linux, the default APACHE_HOME is /etc/httpd/

There are two methods to implement mod_proxy based load balancing:

  • Using mod_headers

  • Using JSESSIONID

// Ethnio survey code removed