pomelko
journeyman
Joined: 03/15/2012 12:17:17
Messages: 13
Offline
|
Hi,
We are using open-source Terracotta Server Array (3.5.4) as java sessions store (using WebSessions, configured in Tomcat context.xml <Valve className="org.terracotta.session.TerracottaTomcat60xSessionValve" tcConfigUrl="localhost:9510">; more details here)
I guess that by default WebSessions write sessions to Terracotta asynchronously (and I don't want to use synchronousWrite params, becouse of performence). I found out that some changes on session are lost during Tomcat restart. Is it possible to make sure that all of changes are flushed from Tomcat to Terroctta, before Tomcat restart?
Thanks in advance
Paweł
|