[
https://issues.apache.org/jira/browse/WICKET-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov updated WICKET-4165:
------------------------------------
Priority: Minor (was: Major)
> HttpSessionDataStore uses asynchronous saving by default
> --------------------------------------------------------
>
> Key: WICKET-4165
> URL: https://issues.apache.org/jira/browse/WICKET-4165
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.0, 1.5.1, 1.5.2
> Environment: Apache Tomcat 6.0.x and jetty
> Reporter: Mikko Pukki
> Priority: Minor
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> HttpSessionDataStore uses asynchronous saving and store itself expects saving
> thread to be a "wicket thread". There is no need for asynchronous saving as
> HttpSessionDataStore saves all data to HTTPSession and therefore data is held
> in memory. HttpSessionDataStore should default to synchronous action.
> There is a lot of errors like this on log with default setting:
> "ERROR - HttpSessionDataStore - Cannot store the data for page with id
> '0' in session with id '1x6veaq6f0b23trchiio53f3g'"
> When setting "getStoreSettings().setAsynchronous(false);" in application's
> init everything seems to work ok.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira