tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Hayes" <ha...@esped.com>
Subject Tomcat and IIS load balancing configuration
Date Mon, 29 Aug 2005 18:45:30 GMT
I am testing a load balancing configuration with Tomcat and IIS using the
isapi_redirector.  My configuration works if I have a single worker defined
in my workers.properties file but it fails if I try to add a second worker
(ie, I change the balance_workers entry near the bottom of the file to the
one that is currently commented out).

One of the symptoms I see of the problem is that when my servlet calls
request.getRequestedSessionId() I get back a null.

Here is my workers.properties file:
============================================================
workers.tomcat_home=d:\tomcat
workers.java_home=c:\progra~1\java\jre15~1.0_0
ps=\
worker.list=wlb

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
worker.ajp13w.cachesize=500
worker.ajp13w.cache_timeout=600
worker.ajp13w.socket_keepalive=1
worker.ajp13w.recycle_timeout=300
worker.ajp13w.lbfactor=1
worker.ajp13w.debug=9

worker.ajp13x.type=ajp13
worker.ajp13x.host=localhost
worker.ajp13x.port=8010
worker.ajp13x.cachesize=500
worker.ajp13x.cache_timeout=600
worker.ajp13x.socket_keepalive=1
worker.ajp13x.recycle_timeout=300
worker.ajp13x.lbfactor=1
worker.ajp13x.debug=9

worker.wlb.type=lb
#worker.wlb.balance_workers=ajp13w,ajp13x
worker.wlb.balance_workers=ajp13w
worker.wlb.sticky_session=1

worker.jkstatus.type=status
============================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message