[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Async write is losing data  XML
Forum Index -> Terracotta for Web Sessions
Author Message
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ł
 
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team