You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Chakravarthy, Sundar" <sc...@doas.ga.gov> on 2003/06/30 20:40:54 UTC

Tomcat 4.1.18 + Mod_JK + Apache 2.0.43

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