• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

can tomcat cluster only leaves one server up, if that server is down, then start the second server?

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I am new to Tomcat cluster, so I will greatly appreciate any your help on my questin below.

I want to set up a tomcat cluster including 2 servers, but each time I only want one server is up; if that running server is down, the cluster will automatically start up the second server?

Can tomcat cluster do this? if so, could you tell me any info or link that how to do it?

Many thanks!
 
Bartender
Posts: 20828
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the benefit? It takes time to start/stop a Tomcat server. Not much, compared to its bigger relatives, but still it takes time. Keeping both nodes in a cluster alive means millisecond-speed failover instead of tens of seconds or more. And it's not like Tomcat is a major resource hog.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!