Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

workers.properties question

Simon Zeng

2004-05-21


Hi,

I have a question about workers.properties setting

In mod_jk.log, I have
     JkMount /* loadbalancer

In workers.properties, I have

  worker.list = worker1, worker2, loadbalancer   (1)

  #worker1 configuration
  #worker2 configuration

  #-------Load balancer worker --
  worker.loadbalancer.type=lb
  worker.loadbalancer.balanced_workers = worker1, worker2 (2)

worker1 and worker2 are real tomcat instance. loadbalance is for dispatching
message to worker1 and worker2.

My question do I need worker1 and worker2 on line(1). Somewhere between
lines in tomcat HOWTO, I read those workers on line (2) are those not on
line(1). I tried both keep them on line(1) aand remove them from line(1) and
don't see any different result.

Could anyone please enlighten me which is the right way and where can I find
description on suchs issues?

Thanks,
-Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.