A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Clustering and load balancing with Apache webservices
Joined: Jun 20, 2010
Aug 11, 2010 23:01:47
Can any one help me in configuring the apache webservices in cluster mode...
i guess the changes needs to be done in httpd.conf file
Also,how to manage session migration & replication.Any help will be appreciated.
Joined: Oct 27, 2005
Aug 13, 2010 02:14:56
Here's some example configuration I got from a consultant when we required something similar:
ProxyPass / balancer://mycluster stickysession=JSESSIONID <Proxy balancer://mycluster> BalancerMember http://tomcat1:8080 route=tomcat1 loadfactor=50 BalancerMember http://tomcat2:8080 route=tomcat2 loadfactor=50 </Proxy>
The stickysession will redirect you to the same cluster member as long as your
session (JSESSIONID) remains the same.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Clustering and load balancing with Apache webservices
Using Seam in conjunction with Tomcat en JSF
Introductory Tutorial on Web services
Tutorials for Web Services
Applying Security to the Web Service using Apache Axis 1.4
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015