You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/09/05 17:41:36 UTC

DO NOT REPLY [Bug 36507] New: - mod_proxy_balancer does not handle sticky sessions with tomcat correctly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36507>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36507

           Summary: mod_proxy_balancer does not handle sticky sessions with
                    tomcat correctly
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bachhube@fmi.uni-passau.de
                CC: bachhube@fmi.uni-passau.de


Apache Tomcat uses JSESSIONID values like
95C5BB2B084DB06938BF798FCF3B3994.tomcat2 for sticky sessions. "tomcat2" is the
route set in jvmRoute in the Engine element in server.xml. 

I expected that mod_proxy_balancer would match its path argument against the
part after the . from JSESSIONID, but it tries to match against the whole cookie
and fails obviousely. (in httpd-2.1.6-alpha/modules/proxy/mod_proxy_balancer.c,
find_route_worker function)

That way, balancer is useless as a replacement for mod_jk load balancing with
sticky sessions.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org