ProxyPass it self works (unlike in MODCLUSTER-274), sticky session for other contexts stops working if I try using it.
Jean-Frederic Clere wrote:
Could you describe that problem? Sticky sessions do work do you get a fail-over or 503?
I get nothing, only 200 and then an exception in the application because it can't find the session. If I look at the headers I can see that the cookie changes betwen requests. In http log I get no errors.
Here the output from Tamper Date Firefox plugin after clicking the submit button on a web form twice:
13:36:04.592[306ms][total 306ms] Status: 200[OK]
POST https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Content Size[3056] Mime Type[text/xml]
Request Headers:
Host[jsplb01z.uyellow.yellowcorp.test]
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[en-us,en;q=0.5]
Accept-Encoding[gzip, deflate]
Connection[keep-alive]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
Referer[https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow]
Content-Length[708]
Cookie[JSESSIONID=F2E805E5BD30955710EE6E2F39907175.vertragsverlauf_z_02]
Pragma[no-cache]
Cache-Control[no-cache]
Post Data:
AJAXREQUEST[criteriaForm%3Acriteria]
criteriaForm[criteriaForm]
criteriaForm%3AcriteriaTogglePanel[true]
criteriaForm%3Aj_id23[]
criteriaForm%3Aj_id26[]
criteriaForm%3Aj_id29[]
criteriaForm%3AobservationPeriodRadio[5]
criteriaForm%3AobservationPeriodChosenStartCalendarInputDate[23.05.2007]
criteriaForm%3AobservationPeriodChosenStartCalendarInputCurrentDate[05%2F2007]
criteriaForm%3AchosenObservationPeriodEndCalendarInputDate[22.05.2012]
criteriaForm%3AchosenObservationPeriodEndCalendarInputCurrentDate[05%2F2012]
criteriaForm%3AreportingDateInputDate[23.05.2012]
criteriaForm%3AreportingDateInputCurrentDate[05%2F2012]
criteriaForm%3Aj_id48[on]
javax.faces.ViewState[j_id2]
criteriaForm%3Asubmit[criteriaForm%3Asubmit]
[]
Response Headers:
Date[Tue, 10 Apr 2012 11:36:04 GMT]
Ajax-Response[true]
Cache-Control[no-cache, must-revalidate, max_age=0, no-store]
Expires[0]
Pragma[no-cache]
Content-Type[text/xml;charset=UTF-8]
Vary[Accept-Encoding]
Content-Encoding[gzip]
Content-Length[3056]
Keep-Alive[timeout=10]
Connection[Keep-Alive]
13:36:04.914[21ms][total 21ms] Status: 304[Not Modified]
GET https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/a4j/g/3_3_2.SR1org.richfaces.renderkit.html.iconimages.DisabledCalendarIcon/DATB/eAFjYJjAOeU%21AASIAi0_.yellow Load Flags[LOAD_NORMAL] Content Size[-1] Mime Type[application/x-unknown-content-type]
Request Headers:
Host[jsplb01z.uyellow.yellowcorp.test]
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0]
Accept[image/png,image/*;q=0.8,*/*;q=0.5]
Accept-Language[en-us,en;q=0.5]
Accept-Encoding[gzip, deflate]
Connection[keep-alive]
Referer[https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow]
Cookie[JSESSIONID=F2E805E5BD30955710EE6E2F39907175.vertragsverlauf_z_02]
If-Modified-Since[Sun, 20 May 2012 08:16:02 GMT]
Response Headers:
Date[Tue, 10 Apr 2012 11:36:04 GMT]
Connection[Keep-Alive]
Keep-Alive[timeout=10]
Expires[Thu, 01 Jan 1970 01:00:00 CET]
Cache-Control[no-cache]
13:36:04.915[21ms][total 21ms] Status: 304[Not Modified]
GET https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/a4j/g/3_3_2.SR1org.richfaces.renderkit.html.iconimages.CalendarIcon/DATB/eAFjYJjAOeU%21AASIAi0_.yellow Load Flags[LOAD_NORMAL] Content Size[-1] Mime Type[application/x-unknown-content-type]
Request Headers:
Host[jsplb01z.uyellow.yellowcorp.test]
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0]
Accept[image/png,image/*;q=0.8,*/*;q=0.5]
Accept-Language[en-us,en;q=0.5]
Accept-Encoding[gzip, deflate]
Connection[keep-alive]
Referer[https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow]
Cookie[JSESSIONID=F2E805E5BD30955710EE6E2F39907175.vertragsverlauf_z_02]
If-Modified-Since[Sun, 20 May 2012 08:16:02 GMT]
Response Headers:
Date[Tue, 10 Apr 2012 11:36:04 GMT]
Connection[Keep-Alive]
Keep-Alive[timeout=10]
Expires[Thu, 01 Jan 1970 01:00:00 CET]
Cache-Control[no-cache]
13:36:05.861[39ms][total 39ms] Status: 500[Internal Server Error]
POST https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Content Size[-1] Mime Type[text/html]
Request Headers:
Host[jsplb01z.uyellow.yellowcorp.test]
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[en-us,en;q=0.5]
Accept-Encoding[gzip, deflate]
Connection[keep-alive]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
Referer[https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow]
Content-Length[708]
Cookie[JSESSIONID=F2E805E5BD30955710EE6E2F39907175.vertragsverlauf_z_02]
Pragma[no-cache]
Cache-Control[no-cache]
Post Data:
AJAXREQUEST[criteriaForm%3Acriteria]
criteriaForm[criteriaForm]
criteriaForm%3AcriteriaTogglePanel[true]
criteriaForm%3Aj_id23[]
criteriaForm%3Aj_id26[]
criteriaForm%3Aj_id29[]
criteriaForm%3AobservationPeriodRadio[5]
criteriaForm%3AobservationPeriodChosenStartCalendarInputDate[23.05.2007]
criteriaForm%3AobservationPeriodChosenStartCalendarInputCurrentDate[05%2F2007]
criteriaForm%3AchosenObservationPeriodEndCalendarInputDate[22.05.2012]
criteriaForm%3AchosenObservationPeriodEndCalendarInputCurrentDate[05%2F2012]
criteriaForm%3AreportingDateInputDate[23.05.2012]
criteriaForm%3AreportingDateInputCurrentDate[05%2F2012]
criteriaForm%3Aj_id48[on]
javax.faces.ViewState[j_id2]
criteriaForm%3Asubmit[criteriaForm%3Asubmit]
[]
Response Headers:
Date[Tue, 10 Apr 2012 11:36:05 GMT]
Set-Cookie[JSESSIONID=7A3EFC3CC8E5C209BA9E2B64AA79257B.vertragsverlauf_z_01; Path=/lossratio_z; Secure]
Content-Type[text/html;charset=UTF-8]
Vary[Accept-Encoding]
Content-Encoding[gzip]
Connection[close]
Transfer-Encoding[chunked]
13:36:05.920[42ms][total 42ms] Status: 200[OK]
GET https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/resources/images/yellow_logo.png Load Flags[LOAD_NORMAL] Content Size[15139] Mime Type[image/png]
Request Headers:
Host[jsplb01z.uyellow.yellowcorp.test]
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0]
Accept[image/png,image/*;q=0.8,*/*;q=0.5]
Accept-Language[en-us,en;q=0.5]
Accept-Encoding[gzip, deflate]
Connection[keep-alive]
Referer[https://jsplb01z.uyellow.yellowcorp.test/lossratio_z/pages/lossratio.yellow]
Cookie[JSESSIONID=7A3EFC3CC8E5C209BA9E2B64AA79257B.vertragsverlauf_z_01]
If-Modified-Since[Wed, 18 Jan 2012 19:06:10 GMT]
If-None-Match[W/"15139-1326913570000"]
Response Headers:
Date[Tue, 10 Apr 2012 11:36:05 GMT]
Pragma[No-cache]
Cache-Control[no-cache]
Expires[Thu, 01 Jan 1970 01:00:00 CET]
Accept-Ranges[bytes]
Etag[W/"15139-1301322364000"]
Last-Modified[Mon, 28 Mar 2011 14:26:04 GMT]
Content-Type[image/png]
Content-Length[15139]
Keep-Alive[timeout=10]
Connection[Keep-Alive]