• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 27762
196
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.
 
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic