Enterprise Java Community: Load-balancing Tomcat with Apache
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
- tomcat
- , apache
- , server
- , load-balancing
- , Load
- , Balancing
- , clustering
- , introduction
- , httpd
- , HTTP
- , 5.5
- , Verteilung
- , cluster
- , java
- , mod_jk
- , web
- , balancer
- , vs
- , jmeter
- , operations
Bookmark History
Saved by 10 people (-2 private), first by anonymouse user on 2008-02-27
- Omotelet on 2009-01-30 - Tags load , balancer , vs , cluster
- Alm-74 on 2009-01-22 - Tags apache , load-balancing , tomcat , server
- Pierre-yves on 2008-05-14 - Tags apache , tomcat , load-balancing , clustering
- Djhell on 2008-03-26 - Tags Apache , HTTP , Server , Tomcat , 5.5 , httpd , Load , Balancing , Verteilung
- Atinsood on 2008-03-20 - Tags apache , mod_jk , tomcat
Public Sticky notes
ProxyPass /apache-load-balancing-1.0 balancer://mycluster stickysession=JSESSIONID
<Proxy balancer://mycluster>
BalancerMember ajp://tomcat1:8009/apache-load-balancing-1.0 route=tomcat1 loadfactor=50
BalancerMember ajp://tomcat2:8009/apache-load-balancing-1.0 route=tomcat2 loadfactor=50
</Proxy>
Highlighted by pierre-yves
Safe removal of a server node When an application server (real worker) has to be taken offline for maintenance, set a very low load factor for the server due to be taken offline. Few new users will be served by that server. All existing users ‘sticking’ to this real worker will continue to be processed by this real worker. This will help reduce the number of users who will have to login again when the real worker is taken offline.After some time, the real worker is disabled and taken offline. Once it is ready to come online, the worker is enabled again in balancer manager.
Highlighted by pierre-yves


Public Comment