Ralph Goers wrote: > Sorry for the duplicate post - I posted this a couple of days ago but > got no answer in the midst of all the maven/flattening stuff. I'm hoping > this time I will. > > We have some questions about the store/cache. > > I've reviewed the wiki entries I could find: > http://wiki.apache.org/cocoon/DisablePersistentStore?highlight=%28store%29 > http://wiki.apache.org/cocoon/StoreComponents?highlight=%28store%29 > > and this from the main website: > http://cocoon.apache.org/2.1/developing/stores.html > > All of these appear to predate the switch to ehcache. What we are > wondering is if and how the settings in cocoon.xconf still apply, > especially since there are similar settings in ehcache.xml. For > example, if ehcache.xml specifies diskPersistent="true" and > maxElementsInMemeory="10000" and the generic store specifies > maxobjects="1000" and use-cache-directory="false", which settings win? > Or are the cocoon.xconf settings used at all? > Hmm, don't know exactly - but the settings from the xconf are passed to the EHCache (in the initialize method) - so I guess they are used...I have never seen/looked at the ehcache.xml.
Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
