• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Apache Tomcat High Availability and Load Balancing

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I searched Tomcat HA on internet. a lot of talks are about Apache Web Server + Mod JK + Tomcat, which use one Apache as dispatcher. My question is do I have to load balancing the apache web server? What if the apache web server failed?

And also could we put hardware load balancer in front of Tomcat servers? How do I do that?
 
Saloon Keeper
Posts: 28410
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apache itself is frequently clustered, so it's not a single point of failure unless you set it up that way.

But there's no reason why you can't skip Apache and just use a hardware load balancer if you prefer. Apache is common in large part because it can also serve up non-Java content. And, of course because it's a lot cheaper than a hardware load balancer!

To use a hardware load balancer with Tomcat, consult the manufacturer's instructions.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic