mod_jk/1.2.23

Hello,

I'm trying to configure a cluster using stiky_session. This is the relevant part of configuration:
###
worker.node1_partition1.port=8009
worker.node1_partition1.host=172.16.130.110
worker.node1_partition1.type=ajp13
worker.node1_partition1.lbfactor=1
worker.node1_partition1.connection_pool_timeout=600
worker.node1_partition1.socket_keepalive=1

worker.node2_partition1.port=8009
worker.node2_partition1.host=172.16.130.112
worker.node2_partition1.type=ajp13
worker.node2_partition1.lbfactor=1
worker.node2_partition1.connection_pool_timeout=600
worker.node2_partition1.socket_keepalive=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1_partition1,node2_partition1
worker.loadbalancer.sticky_session=1
###

but this is the result on the mod_jk.log:
###
[Mon Jun 08 15:31:09 2009]loadbalancer node1_partition1 jboss.conaddeltirreno.it 0.006444 /MontopolisStorico/menu/logout.do [Mon Jun 08 15:31:09 2009]loadbalancer node2_partition1 jboss.conaddeltirreno.it 0.005739 /MontopolisStorico/login.jsp [Mon Jun 08 15:31:19 2009]loadbalancer node1_partition1 jboss.conaddeltirreno.it 0.112901 /MontopolisStorico/j_acegi_security_check [Mon Jun 08 15:31:19 2009]loadbalancer node2_partition1 jboss.conaddeltirreno.it 0.006513 /MontopolisStorico/index.jsp [Mon Jun 08 15:31:19 2009]loadbalancer node1_partition1 jboss.conaddeltirreno.it 0.004456 /MontopolisStorico/login.jsp
###

as you can see, mod_jk send requests to both nodes even they are related to the same session. JSESSIONID is normally stored in cookie, but I have tried with JSESSIONID in URL without success.

Thanks, Marco





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

Reply via email to