Hi Guys,
i try to use Appache httpd + mod_jk as a load balancer for Jboss EAP servers on windows servers. I use JBoss EAP 6.3 and apache 2.4. I have implemented load balancer according to documantation in this link. Looks everything are great but every request is send to new server without checking session id (JSessionId). The problem is exactly same with problem descripted in this link
workers.properties file:
# GLOBAL TANIMLAR worker.list=BMDWebLoadBalancer,int_prod_1,int_prod_2 ## PAYSWEB TANIMLARI worker.int_prod_1.port=8009 worker.int_prod_1.host=prod1 worker.int_prod_1.type=ajp13 worker.int_prod_1.lbfactor=1 worker.int_prod_2.port=8009 worker.int_prod_2.host=prod2 worker.int_prod_2.type=ajp13 worker.int_prod_2.lbfactor=1 worker.BMDWebLoadBalancer.type=lb worker.BMDWebLoadBalancer.balance_workers=int_prod_1,int_prod_2 worker.BMDWebLoadBalancer.sticky_session=True
httpd.conf file is standard for simple mod_jk configuration.
I have written simple servlet to test which Jboss server getting request. I notice that every request goes to new server in order even if i use same pc and same browser. For ex: I have two Jboss behind apache mod_jk and when i press F5 for chrome, connected jboss is change always. It should simple sent request to same server from same client (same session or ip + client application like chrome browser etc.).
Are there anybody to hellp me?
Thasnks in advance and have great devoleping day