The session cookie is set to .....jmv_web1 while your worker is set to jvm_web2. I guess you've go jmv and jvm mixed up.
Henk Matteo Turra wrote: > > I upgraded my apache+jk+tomcat configuration with new JK connector > 1.2.20 > > > > My system is one Apache http server and two tomcat running on two > different machines (say web1 and web2) > > > > I put sticky session in my load balancer worker (I can see it from Jk > Status Manager page) but request jump between the two tomcat. > > > > I check jvmRoute in server.xml in both tomcat instance and they > correspond to the workers names. > > > > I changed the jk loglevel to debug and I see the following messages: > > > > init_ws_service::mod_jk.c (584): Service protocol=HTTP/1.1 method=GET > host=(null) addr=10.0.0.11 name=pippo port=80 auth=(null) user=(null) > laddr=10.0.0.11 raddr=10.0.0.11 > > service::jk_lb_worker.c (840): service sticky_session=1 > id='0D8CB99EBC3F747DA5B66183C67C8BF6.jmv_web1' > > get_most_suitable_worker::jk_lb_worker.c (733): searching worker for > partial sessionid 0D8CB99EBC3F747DA5B66183C67C8BF6.jmv_web1 > > get_most_suitable_worker::jk_lb_worker.c (741): searching worker for > session route jmv_web1 > > get_most_suitable_worker::jk_lb_worker.c (785): found best worker > jvm_web2 (jvm_web2) using method 'Request' > > service::jk_lb_worker.c (860): service worker=jvm_web2 route=jvm_web2 > > ajp_get_endpoint::jk_ajp_common.c (2315): acquired connection pool > slot=0 > > ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp marshaling done > > ajp_service::jk_ajp_common.c (1771): processing jvm_web2 with 2 retries > > > > Does anybody knows why? > > __________________________________________________________ > > > > KION SpA Matteo TURRA > > Via Cristoni, 84 Sviluppo Web > > 40033 Casalecchio di Reno (BO) > > Tel. +39 (051) 6111411 diretto +39 (051) 6111430 > > Fax +39 (051) 570423 > > http://www.kion.it <http://www.kion.it/> > mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > > -- View this message in context: http://www.nabble.com/JK-1.2.20---Sticky-session-doesn%27t-work-properly-tf2952502.html#a8258828 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]