Carpentier Luc (Uniway) wrote:
I even found contradictory information. In the docs it states that the workers should not be defined in the workers.list when you are using load balancing, but in the examples I found on the internet, they were defined in the workers.list (and yes I tried it but it just gives another error message).
Then always trust the official documentation :) Anyone can write whatever he likes, but that doesn't mean its true.
Could not find a worker for worker name=tomcat1.
OK :)
workers.tomcat_home=d:/java/apache-tomcat-5.5.15 workers.java_home=C:/Program Files/Java/jdk1.5.0_06 ps=/
You don't need the above directives.
# define special the workers load balancer and jkstatus worker worker.list=wlb,jkstatus
This means that you have 2 workers from which you can mount context.
# A list of all the workers that are load balanced. worker.wlb.balance_workers=tomcat1
OK, so you have added at least one member to loadbalancer.
# Send servlet for context .do to worker named worker1 JkMount /*.do tomcat1
Use: JkMount /*.do wlb You map the url to loadbalancer worker, and then the loadbalancer will decide to which node route the request depending on the algorithm selected (In you case by request). Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]