-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony,

On 5/25/12 12:07 PM, Anthony J. Biacco wrote:
> worker.list=jkstatus,app-03,loadbalancer loadbalancer: does NOT
> work (503) app-03: works
> 
> worker.list=jkstatus,loadbalancer,app-03 loadbalancer: works 
> app-03: does NOT work (503)
> 
> worker.list=jkstatus,loadbalancer loadbalancer: works app-03: does
> NOT work (500)

I can confirm that load-balancing works properly in my environment[1]
with this workers.properties:

worker.list=jk-status

worker.jk-status.type=status

# Template worker
worker.template.type=ajp13
worker.template.host=localhost
worker.template.connection_pool_timeout=60
worker.template.socket_timeout=300
worker.template.max_packet_size=65536

worker.list=crazy-lb
worker.crazy-lb.type=lb
worker.crazy-lb.balance_workers=worker23,worker03

worker.list=worker01
worker.worker01.reference=worker.template
worker.worker01.port=8015

[more workers defined in exactly the same way]

All worked as well as I expected (see below).

- -chris

[1] Environment:
  Debian Linux kernel 2.6.32 x86_64
  Apache httpd 2.2.16-6
  mod_jk 1.2.36 (just built it myself against httpd 2.2.16-6)
  Oracle Java 1.6.0_26-b03 (though not terribly relevant)
  Tomcat 7.0.27 and Tomcat 6.0.35 (I balanced two different TC versions
     and two different webapps... the results were not pretty but
     proved that mod_jk was working properly)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+/udIACgkQ9CaO5/Lv0PAH1gCfd6Dqc3IoLUQzQTN0zFnINpko
K+YAoMBkcEwxJP5tKhYG87I9XdFoChML
=/OIp
-----END PGP SIGNATURE-----

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

Reply via email to