JK 1.2.14 with Tomcat 5.0.28 and Apache 2.0.52 on Linux RH AS4, Tomcats
are installed on different machines. I cannot get a load balancing
worker to work. mod_jk forwards request to tomcat just fine as long as I
don't try and use a load balancing worker in my worker.list. The
mod_jk.log says "did not find a worker".
==============workers.properties====================
worker.list=router
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=server.ip1
worker.worker1.port=8009
worker.worker1.lbfactor=1
worker.worker1.cachesize=10
# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=server.ip2
worker.worker2.port=8009
worker.worker2.lbfactor=1
worker.worker2.cachesize=10
worker.router.type=lb
worker.router.balance_workers=worker1,worker2
#worker.router.sticky_seesion=True
worker.status.type=status
=============mod_jk.config======================
JkWorkersFile /etc/httpd/conf.d/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel trace
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /jmx-console/*.jsp router
JkMount /jkstatus/* status
================================================
When I use worker.list=worker1,worker1 and replace JkMount
/jmx-console/*.jsp worker1 requests are forwarded, but I loose load
balancing. Its like the minute I put the load balancer worker into the
list, the whole workers configuration is bad.
Thanks in advance,
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]