Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] sticky_session doesn't work

王科选

2010-09-01

Replies: Find Java Web Hosting

Author LoginPost Reply
 Hi, I'm using Apache/2.2.16 (Win32) mod_jk/1.2.30 , and had set the
sticky_session=1, but it doesn't work!

will someone help me please, thanks!

Here is the workers.properties:

  worker.list = balancer,status

   worker.tomcat1.port=8010

   worker.tomcat1.host=10.3.1.17
   worker.tomcat1.type=ajp13
   worker.tomcat1.lbfactor = 1

   worker.tomcat2.port=8010
   worker.tomcat2.host=10.3.1.18
   worker.tomcat2.type=ajp13
   worker.tomcat2.lbfactor = 1

   worker.balancer.type=lb
   worker.balancer.balance_workers=tomcat1,tomcat2
   worker.balancer.sticky_session=1

   worker.status.type=status

And I'm also wondering how apache descides which tomcat a session
belongs to ?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.