Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Tomcat Standalone Load Balancing & Clustering

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Jason
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

regards,
Rahul..
 
Jason Milliron
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your input but my company wants to use Iplanet for the webserver. That is one of our company standards. Has anyone used Iplanet 6 for load balancing?
 
    Bookmark Topic Watch Topic
  • New Topic