Does anyone have a good site or example, besides the tutorial on onJava.com "Clustering and Load Balancing in Tomcat 5"? I will be developing a new web application. Iplanet 6.1 will be the webserver, Tomcat 5.0.28 will be servlet engine, and IBM Websphere will be the app server. My Tech Arch wants the load balancing between tomcat instances. Is that handled by the web server(iplanet) or tomcat itself? Also, what type of load balancer should I use. Should I configure using mod_jk (is this apache only thing)? Does anyone already have this set up? Thanks in advance.
Hi Jason, I am not sure about IPlanet, but surely you can do this with Apache.
The load balancing is carried out at the web server level using the connectors.
With Apache, you have several ways of load balancing multiple instances of Tomcats. The prominent are: mod_jk2 or mod_proxy I personally prefer mod_jk2 and I have clustered multiple tomcat succeesfully with full fail-over and user session sharing between the two. Unfortunately mod_jk2 is no longer supported by Apache.org .However, thats not a big concern as you can still download and install mod_jk2 from their website and once configured properly you will rarely need any support.