You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Derek Greer <dg...@fedex.com> on 2005/01/26 17:47:54 UTC

Jakarta Tomcat Connector - Load Balancing

I'm trying to use the Tomcat Connector to do load balancing through the 
IIS filter, however the sessions do not seem to be '"sticky".  According 
to the documentation, the session is set to sticky by default.  Even so, 
after seeing non-sticky behavior I set my lb worker explicitly (i.e. 
worker.lbworker.sticky_session=1).  Why is this not working?


Derek Greer

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


RE: Jakarta Tomcat Connector - Load Balancing

Posted by "Richard Mixon (qwest)" <rn...@qwest.net>.
Derek Greer wrote:
> Thanks.  I don't recall reading this in any of the documentation.  Can
> you explain what setting this actually does?
>
>
> Derek
>
> Mladen Turk wrote:
>
>> Derek Greer wrote:
>>
>>> I'm trying to use the Tomcat Connector to do load balancing through
>>> the IIS filter, however the sessions do not seem to be '"sticky".
>>> According to the documentation, the session is set to sticky by
>>> default.  Even so, after seeing non-sticky behavior I set my lb
>>> worker explicitly (i.e. worker.lbworker.sticky_session=1).  Why is
>>> this not working?
>>>
>>
>> Could be various reasons, but the first one is:
>> Did you set the jvmRoute to match the worker names?

It is documented both in the server.xml, in the JK doc and in the Tomcat
configuration documentation.
e.g - http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/engine.html


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


Re: Jakarta Tomcat Connector - Load Balancing

Posted by Derek Greer <dg...@fedex.com>.
Thanks.  I don't recall reading this in any of the documentation.  Can 
you explain what setting this actually does?


Derek

Mladen Turk wrote:

> Derek Greer wrote:
>
>> I'm trying to use the Tomcat Connector to do load balancing through 
>> the IIS filter, however the sessions do not seem to be '"sticky".  
>> According to the documentation, the session is set to sticky by 
>> default.  Even so, after seeing non-sticky behavior I set my lb 
>> worker explicitly (i.e. worker.lbworker.sticky_session=1).  Why is 
>> this not working?
>>
>
> Could be various reasons, but the first one is:
> Did you set the jvmRoute to match the worker names?
>
> Mladen.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

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


Re: Jakarta Tomcat Connector - Load Balancing

Posted by Mladen Turk <ml...@jboss.com>.
Derek Greer wrote:
> I'm trying to use the Tomcat Connector to do load balancing through the 
> IIS filter, however the sessions do not seem to be '"sticky".  According 
> to the documentation, the session is set to sticky by default.  Even so, 
> after seeing non-sticky behavior I set my lb worker explicitly (i.e. 
> worker.lbworker.sticky_session=1).  Why is this not working?
> 

Could be various reasons, but the first one is:
Did you set the jvmRoute to match the worker names?

Mladen.

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