wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat4.x cluster setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat4.x cluster setup" Watch "Tomcat4.x cluster setup" New topic
Author

Tomcat4.x cluster setup

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Can someone point me to a step by step setup process for Clustering Tomcat4.x? The Tomcat documentations that i saw, only talk about Tomcat5.x clustering configurations

Thank you.
[ August 16, 2006: Message edited by: jaikiran pai ]

[My Blog] [JavaRanch Journal]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are you sure Tomcat 4x supports clustering?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

This is what i got from an article on Tomcat Clustering:

Clustering was available in the previous Tomcat version (version 4.1) as a third-party JAR file; it wasn't very easy to install or configure to make multiple Tomcat instances run in a cluster. JavaGroups is a popular choice for adding clustering capabilities in open source servlet containers (Tomcat) and application servers (JBoss). But in the latest version of Tomcat server, clustering comes as part of the main installation package. This minimizes all of the extra effort that goes into integrating third-party clustering implementations into the Tomcat server.


However, i could not find a detailed explanation as to how to set it up.
Reason why i am trying clustering with Tomcat4, is that we already have an application running on that version.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Personally I found the transition from Tomcat 4 to Tomcat 5.5.9 went very smoothly, you might give it a try.

Bill
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Will certainly give it a try. Thanks all

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

I had asked the same question on the Tomcat users list and here's the reply that i got:

clustering in 4.x was only experimental, and probably has a load of bugs
http://people.apache.org/~fhanik/index.html.old


So, moving to Tomcat-5.x for clustering is definitely what i'll be doing
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat4.x cluster setup