Hey, We had some discussion soon with Willy about this wonderful way of passing the cookie in URL from tomcat! The main issue is that tomcat does not setup the cookie in the query string. Instead of that, it append to the URL using the semicolon as a separator. Which make in unparsable from HAProxy.
cheers On Tue, Jul 10, 2012 at 4:29 PM, Gerd Müller <[email protected]> wrote: > Hi list, > > I have a site which creates urls like > that ... /url.do;jsessionid=5EEAE69608218C1E063C1AB25B2DDEAD > > I configured my haproxy like that. > > listen mysite 88.88.88.88:80 > mode http > maxconn 1000 > capture cookie jsessionid len 52 > default_backend TEST > > backend TEST > timeout server 360s > option httpclose > option forwardfor > option allbackups > option httpchk / > balance roundrobin > fullconn 1100 > server j1 192.168.0.1:80 cookie j1 > server j2 192.168.0.2:80 cookie j2 > cookie jsessionid prefix > appsession jsessionid len 52 timeout 3h mode path-parameters > request-learn > > With disabled clientside cookies it seems like it works sometime but > sometimes not. > > What did I make wrong? Any suggestion is welcome :) > > Cheers, > > Gerd

