tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chakravarthy, Sundar" <schakravar...@doas.ga.gov>
Subject Tomcat 4.1.18 + Mod_JK + Apache 2.0.43
Date Mon, 30 Jun 2003 18:40:54 GMT

Hi,

We have Apache with mod_jk on Solaris 8 load-balanced with 2 local
Tomcats.
What I notice is that mod_jk seems to be sending all requests to only
one Tomcat . If it fails the other Tomcat gets all the requests again
i.e mod_jk seems to be doing failover but not load-balancing. 

Any suggestions ? 

Thanks
Sundar

workers.properties 
#####################


#Define 1 real worker using ajp13

worker.list=loadbalancer

# Set propeties for worker1 (ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=11009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=12009
worker.worker2.lbfactor=50
worker.worker2.cachesize=10
worker.worker2.cache_timeout=600
worker.worker2.socket_keepalive=1
worker.worker2.socket_timeout=300

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1,worker2
#####################



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message