It's not a secret anymore!
The moose likes Tomcat and the fly likes Clustering Tomcat... Any thoughts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Clustering Tomcat... Any thoughts?" Watch "Clustering Tomcat... Any thoughts?" New topic

Clustering Tomcat... Any thoughts?

Ravi Sathish
Ranch Hand

Joined: Feb 26, 2002
Posts: 131
Hi Guys
I know there's a lot of information on this; But i would dearly appreciate if someone threw light on these issues:
Tomcats can be clustered for load-balancing and apache http server can do it. The documents say so:
so far so good:
But in balancer-howto.html:
Apache 2 configuration the autors mention:
First we must create a rewrite map (for mod_rewrite) (balancing.conf):
Where can I find this balancing.conf?
Has anybody tried these things
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

The first thing ( I think ) to be absolutely clear on is:

are you using Tomcat stand-alone or Apache, connected to Tomcat, through a connector?

That will mostly dictate how you proceed to load-balance and cluster your tomcat install.
Ravi Sathish
Ranch Hand

Joined: Feb 26, 2002
Posts: 131
Sorry about not backing to you.
Yes I am trying to use apache 2.0 as load balancer.
I have 2 instances of tomcat listening on ports 11009 and ports 12009 repsectively.
I have connected them with apache usinhg mod_jk2
I agree. Here's the link:
subject: Clustering Tomcat... Any thoughts?
jQuery in Action, 3rd edition