List Info

Thread: isapi_redirect.dll - load balancing issues with sticky sessions




isapi_redirect.dll - load balancing issues with sticky sessions
country flaguser name
United States
2007-03-06 05:56:55
Hi everyone,

i have an issue with isapi_redirect.dll:

I'm testing an application (struts, hibernate and jsf), that
runs in
multiple tomcat instances.

On the webserver (IIS6) i have the isapi_redirect.dll module
installed
(version 1.2.20 i think)

As long as loadbalancing is not activated everything runs
smoothly
(... only one instance is used).

But as soon as I balance the application with a
loadbalanced_worker -
the requests are randomly distributed (based on the lbfactor
of
course) to the application instances - thus loosing all
session data
from one request to the next.
I have the sticky_session option enabled of course - but it
doesn't
seem to do what i expect of it 

Can anyone point me in the right direction on this one?

Thanks in advance,

cheers

Moritz

the uriworkermap.properties
----------------------------------------------------------
/omdsexplorer*=omdsexplorerbalancer

here the workers.property file:
------------------------------------------------------------
------------------------------
worker.list=omdsexplorerbalancer

worker.omdsexplorerTemplate.type=ajp13
worker.omdsexplorerTemplate.connection_pool_size=10
worker.omdsexplorerTemplate.connection_pool_timeout=3600
worker.omdsexplorerTemplate.sticky_session=1
worker.omdsexplorerTemplate.lbfactor=2
worker.omdsexplorerTemplate.socket_keepalive=True
worker.omdsexplorerTemplate.retries=2
worker.omdsexplorerTemplate.fail_on_status=500

worker.omdsexplorer1.reference=worker.omdsexplorerTemplate
worker.omdsexplorer1.host=158.226.253.110
worker.omdsexplorer1.port=8009
#worker.omdsexplorer1.activation=d

worker.omdsexplorer2.reference=worker.omdsexplorerTemplate
worker.omdsexplorer2.host=158.226.253.110
worker.omdsexplorer2.port=8010
#worker.omdsexplorer2.activation=d

worker.omdsexplorer3.reference=worker.omdsexplorerTemplate
worker.omdsexplorer3.host=158.226.253.110
worker.omdsexplorer3.port=8011
worker.omdsexplorer3.lbfactor=1

worker.omdsexplorerbalancer.type=lb
worker.omdsexplorerbalancer.balance_workers=omdsexplorer1,om
dsexplorer2,omdsexplorer3
worker.omdsexplorerbalancer.sticky_session=1
worker.omdsexplorerbalancer.method=S


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Apache Tomcat" group.
To post to this group, send email to Apache-Tomcatgooglegroups.com
To unsubscribe from this group, send email to
Apache-Tomcat-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups.google.com/group/Apache-Tomcat?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )