wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Clustering Tomcat, Jetty (or any Java WebServer) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Clustering Tomcat, Jetty (or any Java WebServer)" Watch "Clustering Tomcat, Jetty (or any Java WebServer)" New topic

Clustering Tomcat, Jetty (or any Java WebServer)

Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
Has anyone here ever clustered Tomcat or any other Java Web Server? Can you give me some information on how I would do this? Both in software/programming specifics as well as physical location within a network of the diff. parts?
Specifically, I'm interested in a Fail-Over or Load-Balancing cluster setup.
daniel schulken
Ranch Hand

Joined: Sep 23, 2000
Posts: 34
Ive tryed it in tomcat 5.0.16 which seems to work on win2k systems, but i was unable to get it to work correctly on a linux slackware 9.X system. Current the clustering seems to be under development and in most situations will work.
The primary developer is doing his best to get some issues worked out with it and is very open and responsive to changes.
Shouldnt this thread be in the tomcat group?
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
No, I'm wondering about clustering of any Java Web Server - if others work better than tomcat in that setup, then I'd think about switching.
Can you give me a bit more info on what you did:
1. Were both your clustered instances on the same server?
2. Did you cluster through apache?
3. Did you also cluster a database and/or app server?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

I am going to move this thread to the Tomcat forum. This is a Web Server setup issue rather than a Servlet question.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Clustering Tomcat, Jetty (or any Java WebServer)
Similar Threads
Tomcat Shutdown problem
Load Properties file when tomcat will start
java 1.5
Tomcat stops on web service exception
problem with EL in my JSP page