wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Setting up a cluster of Tomcats Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Setting up a cluster of Tomcats" Watch "Setting up a cluster of Tomcats" New topic

Setting up a cluster of Tomcats

Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
I need to setup a cluster of Tomcats in order to provide failover support. I know about tomcat to the extent of how to deploy a webapp on it and use that webapp. Otherwise I am a newbie to clustering. I went through the link http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html but that did not help me much. Could you please help me out or pint me to some simple documentation on how to do this?

Satya Deep

Thanks and Regards
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

The page you've posted walks you through this step by step, give you an overview, describes the architecture, and has example code for the configuration files. How does this not help?
What part has you stumped?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
Hi Ben
Thanks for posting. Actually the load-balancing part got me stumped.
Yes I agree the information given on http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html is pretty thorough. But I realized it only after I had gone through Wrox.Professional.Apache.Tomcat.6. ;)
I would recommend it as a good read if you are absolutely new to clustering and load balancing.

Satya Deep
Don't get me started about those stupid light bulbs.
subject: Setting up a cluster of Tomcats
Similar Threads
one servlet container per server or per JVM?
Session Management using 2 Tomcats
Session Problem in Tomcat
Hello World in JSP/JSTL/ANT using Ant, Eclipse & Tomcat
Clustering Using Tomcat and Apache