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.
With this setup in mind:
1) Do we have to use sticky sessions (subsequent request always go to the same tomcat instance) ?
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) ?