Remove your tomcat workers from the worker.list, you only need to
reference the balance worker here:

worker.list=loadbalancer

your load balancer worker then refers to the tomcat workers:

worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3


-Jorge

-----Original Message-----
From: nohacks [mailto:philipfwil...@gmail.com] 
Sent: Wednesday, April 08, 2009 4:11 PM
To: users@tomcat.apache.org
Subject: Re: Tomcat 6 Cluster with Apache 2.2.9 issues


This is my workers.properties file too.
Thanks
Phil


# workers.properties
ps=/

# list the workers by name
worker.list=tomcat1,tomcat2,tomcat3,loadbalancer

#
# Specifies the load balance factor when used with # a load balancing
worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.

# ------------------------
# First tomcat server
# ------------------------
worker.tomcat1.port=18009
worker.tomcat1.host=192.168.70.101
worker.tomcat1.type=ajp13
worker.tomcat1.lbfactor=33

# ------------------------
# Second tomcat server
# ------------------------
worker.tomcat2.port=19009
worker.tomcat2.host=192.168.70.102
worker.tomcat2.type=ajp13
worker.tomcat2.lbfactor=33

# ------------------------
# Third tomcat server
# ------------------------
worker.tomcat3.port=20009
worker.tomcat3.host=192.168.70.103
worker.tomcat3.type=ajp13
worker.tomcat3.lbfactor=33

# -----------------------
# Load Balancer worker
# ------------------------
#
# The loadbalancer (type lb) worker performs weighted round-robin # load
balancing with sticky sessions.
# Note:
#  ----> If a worker dies, the load balancer will check its state
#        once in a while. Until then all work is redirected to peer
#        worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3

#
# END workers.properties
#


--
View this message in context:
http://www.nabble.com/Tomcat-6-Cluster-with-Apache-2.2.9-issues-tp229579
94p22958289.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to