title: HAProxy loadbalancing HTTPs and session failover
body: <p>We are investigating if it is possible to use HAProxy to load balance across multiple tomcat servers. We would like to use HTTPs for all requests and use sessions via the JSESSIONID cookie. HAProxy doesn't support SSL natively but we can use stunnel in front of it.</p>
  
  <p>With this setup in mind:</p>
  
  <p>1) Do we have to use sticky sessions (subsequent request always go to the same tomcat instance) ?</p>
  
  <p>2) If we do have to use sticky sessions then how could we solve updating our tomcat instance with a new webapp deployment without having to force the users to log out (losing their sessions) ?</p>