Is it not possible to extract the sessions from the servlet container in my application code? I could elect a node to schedule a periodic serialization to a data store. On restarts, I could deserialize from this store to inject the sessions back into the servlet container. I would handle the session expiry logic in the application or database logic.
Sincerely Manak