Using Apache as a Load Balancer in front of GlassFish

  • This discussion could be used as a starting point.
  • Prashanth's blog entry provides good overview of loadbalancing in GlassFish V2.
  • Jan Luehe's blog describes how to configure httpd and GlassFish but it also includes an architectural overview, explaining how jvmRoute works in the load balancer scheme used by httpd as well as how it was implemented.

In answer to the question:
For load balancing, does GF have a plugin for Apache web server?

Shreedhar.Ganapathy said:
Sun Java System Application Server 9.1 officially supports load balancing using Apache Web Server and mod_jk plugin, also Microsoft IIS 6 and Sun's Web Server 6.1sp5 and 7.0 A number of blog entries have been written in blogs.oracle.com or java.net on supporting Apache web server for load balancing and proxying to GF. One such example with additional links in it: http://blogs.oracle.com/dadelhardt/entry/loadbalancing_with_mod_jk_and_glassfish