tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47795] New: service sticky_session not being set correctly with multiple isapi_redirect.dll loaded
Date Mon, 07 Sep 2009 22:25:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47795

           Summary: service sticky_session not being set correctly with
                    multiple isapi_redirect.dll loaded
           Product: Tomcat Connectors
           Version: 1.2.28
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: isapi
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: chris.moore@healthlink.net


--- Comment #0 from ceemour <chris.moore@healthlink.net> 2009-09-07 15:25:11 PDT ---
Have an IIS 6 Web site with isapi redirects to two tomcat engines with sticky
support enabled.
isapi filters are the 1.2.28 with chunked encoding suport.
When only a single isapi is loaded into IIS all is fine

here is the output of the isapi log with loglevel set to trace

first request as expected no sticky yet with id =empty

[Tue Sep 08 10:15:17.455 2009] [2500:2532] [trace] jk_lb_worker.c (1065): enter
[Tue Sep 08 10:15:17.455 2009] [2500:2532] [debug] jk_lb_worker.c (1114):
service sticky_session=1 id='empty'
[Tue Sep 08 10:15:17.455 2009] [2500:2532] [trace] jk_lb_worker.c (903): enter
[Tue Sep 08 10:15:17.455 2009] [2500:2532] [debug] jk_lb_worker.c (997): found
best worker ndb1 (ndb1) using method 'Request'

second request beautiful found the worker with the correct route

[Tue Sep 08 10:15:17.533 2009] [2500:2532] [trace] jk_lb_worker.c (1065): enter
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [debug] jk_lb_worker.c (1114):
service sticky_session=1 id='4E30F16C3E76C48D4F9E444B360CDC54.ndb1'
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [trace] jk_lb_worker.c (903): enter
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [debug] jk_lb_worker.c (942):
searching worker for partial sessionid 4E30F16C3E76C48D4F9E444B360CDC54.ndb1
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [debug] jk_lb_worker.c (950):
searching worker for session route ndb1
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [debug] jk_lb_worker.c (964): found
worker ndb1 (ndb1) for route ndb1 and partial sessionid
4E30F16C3E76C48D4F9E444B360CDC54.ndb1
[Tue Sep 08 10:15:17.533 2009] [2500:2532] [trace] jk_lb_worker.c (967): exit

in this case the jvmroute parameter has been set to ndb1 in the first tomcat


If I add another instance of the isapi dll into the web site I get an unusual
service sticky_session log entry

[Tue Sep 08 10:21:08.705 2009] [3936:3008] [trace] jk_lb_worker.c (1065): enter
[Tue Sep 08 10:21:08.705 2009] [3936:3008] [debug] jk_lb_worker.c (1114):
service sticky_session=3682862 id='blah blah blah'
[Tue Sep 08 10:21:08.705 2009] [3936:3008] [trace] jk_lb_worker.c (903): enter
[Tue Sep 08 10:21:08.705 2009] [3936:3008] [debug] jk_lb_worker.c (942):
searching worker for partial sessionid blah blah blah
[Tue Sep 08 10:21:08.705 2009] [3936:3008] [debug] jk_lb_worker.c (950):
searching worker for session route blah blah blah
[Tue Sep 08 10:21:08.705 2009] [3936:3008] [debug] jk_lb_worker.c (997): found
best worker ndb1 (ndb1) using method 'Request'

The service sticky_session=3682862 is incorrect and so is the information after
it and there is no way that stickiness can work

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message