[ 
http://issues.apache.org/jira/browse/COCOON-1868?page=comments#action_12417272 
] 

Ard Schrijvers commented on COCOON-1868:
----------------------------------------

You have indeed a good point. With ehcache 1.1 I assumed dependency between the 
two parameters because of the spoolToDisk error, but with ehcache 1.2, this 
dependency is indeed not there anymore. I will remove the dependency and add 
another patch having the two parameters independent. I think 
diskPersistent=true by default, right?

> 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

Reply via email to