http://tomcat.apache.org/connectors-doc/reference/workers.html
Did you read this? Did you do the tomcat part of config setting the jvmRoute?
On 04/11/2013 3:13 PM, "Nagaraju Kurma" <nagaraju.kurma@xxxxxxxxxxxxxx> wrote:Hi all,I am new to httpd and using the tomcat hosts behind of httpd. ------> (Apache2.2 and Tomcat-7)i achieved the load balancing perfectly but unable to achieve session replication (sticky session behavior).Due to this i unable to login into application.I noticed like this, At the first request it is pointing to Node-1 and at other request to other like Node-2...etc it seems, so due not having the session replication it is logging out and showing login page.This is my configuration :httpd.conf--------------added new content as part of httpd.confLoadModule jk_module modules/mod_jk.so<IfModule jk_module># Path to workers.propertiesJkWorkersFile E:\Apache2.2\conf\workers.properties# Path to jk logsJkLogFile E:/Apache2.2/logs/mod_jk.log# Jk log level [debug/error/info]JkLogLevel info# Jk log formatJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "# JkOptions for forwardingJkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories# JkRequestLogFormat set the request formatJkRequestLogFormat "%w %V %T"JkMount /ngcc/* balancer</IfModule>workers.properties--------------------------workers.tomcat_home=E:\Tomcat-Aworkers.java_home=E:\Java\jdk1.7.0_21#worker.list=worker1,worker2worker.list=balancerworker.worker1.port=2013worker.worker1.host=localhostworker.worker1.type=ajp13worker.worker1.lbfactor=1worker.worker2.port=7080worker.worker2.host=localhostworker.worker2.type=ajp13worker.worker2.lbfactor=1worker.balancer.type=lbworker.balancer.balance_workers=worker1,worker2worker.balancer.method=B# should be routed back to the same #Tomcat worker.worker.balancer.sticky_session=True (tested with True also)I think there is lack in configuration it seems.... please find out and let me know, any help is appreciated.Thanks & regardsNagaraju
Thanks & Regards,
Nagaraju K