Homepage
 
Search
ERICSSON GLOBAL
Getting started with load balancing and clustering Tomcat web containers using Apache HTTP server 
*
 
Membership
Membership
Get knowledge, support and experience in our free developer program.
Log in
User name
Password

Wednesday, April 12, 2006

This article walks you through getting started with load balancing and clustering Apache Tomcat using Apache HTTP server. Following the simple steps, you will learn and experience how clustered Tomcat instances work with a common front-end load balancer.

Enterprise web applications are expected to be scalable, fast and reliable and able to handle fail-over behavior. With increasing traffic on websites, the performance of applications degrades and it is necessary to distribute client requests to different machines in order to perform parallel processing. Besides distributing the requests, it is also important to increase the availability of systems so that if one web server goes down, another web server transparently processes the client request on behalf of the client. Client requests towards web containers are distributed using a common front-end load balancer and high availability is achieved using a set of clustered machines with the same set of files and similar configuration. There are various solutions for load balancing and clustering. 

This article walks you through getting started with load balancing and clustering Java 2 Enterprise Edition (J2EE) web containers using a sample configuration. We will use the following open source tools on Windows 2000:

1.      Apache Tomcat-5.0.30 as a web container.
2.      Apache HTTP Server 2.0.59 to front the clustered Tomcat servers
3.      mod_jk 1.2.6_2.0.50 connector to integrate Apache with the clustered Tomcat servers.

The system architecture we will demonstrate looks like this:


By Rehman Adil




E-mail this page icon Tell your friends    Send this page    Send this page    Send this page   Send this page   Send this page Printable version icon Printable version

Last published December 10, 2008
News and articles
November 3, 2009
November 2, 2009
Your opinion
How many applications have you downloaded to your mobile phone?
None
Less than 10
More than 10
More than 20
 
Marc & Mark
Sharing their thoughts on business.