Search code examples
wso2load-balancingvaadinjsessionid

How to enable Sticky Session in WSO2 Elastic Load Balancer for Vaadin


wso2 or vaadin people I follow this guide to setup ELB for WSO2 Application Server http://docs.wso2.org/wiki/display/ELB203/Setup+ELB+with+WSO2+Application+Server

The ELB works perfectly. However, My vaadin application show this error.

Cookies disabled

This application requires cookies to function.
Please enable cookies in your browser and click here to try again.

Vaadin related commit link. http://dev.vaadin.com/changeset/11570/svn

It should be some problem related to session/cookie.

I am willing to provide more information if needed


Solution

  • It turns out the bug is fixed in wso2 svn trunk but not in lastest ELB/ESB. I get two JSESSIONID cookie, thats why passthrough proxy fails. Hope it helps someone.

    See https://wso2.org/jira/browse/ESBJAVA-1659