Solved

Tomcat Load Balancing

Posted on 2004-09-20
6
287 Views
Last Modified: 2010-03-04
Our application is developed using   JSP,JS,Java  as Front eng and  Sql Server 2000 as backend.  (We are using Tomcat 5.025)

I would like to know how to implement Load balancing in Tomcat,
to improve the performance of the application.


Thanks in Advance
Santhoshi





0
Comment
Question by:santhoshi
  • 3
6 Comments
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12110834
You can do it together with Apache HTTPD server and mod_jk which will do load balancing between different tomcat servers.
Chekc http://www.ubeans.com/tomcat/ for details
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12110909
on tomcat 5 you can do load balancing on tomcat itself.
check
http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html
0
 

Author Comment

by:santhoshi
ID: 12120843
Thanks for your response. Both the links were useful.
Though, i couldn't download the software thro' the link provided in the site.

First Option is to use Apache Webserver along with mod_jk.

Another option is to do load balancing in Tomcat itself.
For this method, Apache Web Server is not required is it ?  
Any example available which explains the implementation ?
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 400 total points
ID: 12121380
I think examples are given on that links.
For second method (load blancing in TOmcat self) Apache httpd not needed.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question