[ http://issues.apache.org/jira/browse/COCOON-1868?page=comments#action_12417269 ]
Antonio Gallardo commented on COCOON-1868: ------------------------------------------ I did not test in cocoon 2.1.8. I tested directly in cocoon 2.1.10-dev. Of course, while testing I also opened some pages in order to add some entries to the cache. I am glad the bug is already fixed in our trunk just by upgrading to ehcache 1.2. I agree this add functionality, but IMHO it must be refactored since in the patch "diskPersistent" depends on "overflow-to-disk"=true and the ehcache docs states this parameters are independent of each other. WDYT? > When using EHDefaultStore in overflow-to-disk=false mode, shutting the jvm > down results in a spoolToDisk error > -------------------------------------------------------------------------------------------------------------- > > Key: COCOON-1868 > URL: http://issues.apache.org/jira/browse/COCOON-1868 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.8 > Reporter: Ard Schrijvers > Assignee: Antonio Gallardo > Priority: Minor > Attachments: EHDefaultStore.patch > > When using EHDefaultStore in overflow-to-disk=false mode, shutting the jvm > down results in a spoolToDisk error. This is because diskPersistent is not > Parameterizable and always TRUE. However, when overflow-to-disk is false > (caching in memory only), when shutting the JVM down, ehcache is trying to > flush the cache to disk because diskPersistent is true. > Added diskPersistent parameter, which is FALSE when overflow-to-disk is > false, and default TRUE when overflow-to-disk is TRUE. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
