[ http://issues.apache.org/jira/browse/COCOON-1868?page=all ]
Antonio Gallardo closed COCOON-1868:
------------------------------------
Fix Version: 2.2-dev (Current SVN)
2.1.10-dev (current SVN)
Resolution: Fixed
This bug was fixed by updating ehcache to 1.2. The patch was applied because it
allows to configure a disk-persistent ehcache property.
> 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
> Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
> Attachments: EHDefaultStore-2.patch, 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