Richard Frovarp wrote:
Jann Forrer wrote:
One problem is that we use a quite old version of ehcache. I think it is
1.2. It seems that certain parameter as e.g. eternal
are not available for cache configuration in this version:
http://www.terracotta.org/confluence/display/integrations/EHCache+generic
At least we configure ehcache with eternal = false but that has no
effect :-(
HTH
Jann
Yeah, changing it in the ehcache.xml file does not affect the cache,
only the cache manager (or something like that). It has to be changed
in the cocoon.xconf file, then it works. I wanted to give my setup a
couple more days to make sure it was functioning properly before
documenting it. Everything looks good, so I should be able to get it
up today in docu.
Richard
I've updated docu. I need to figure out how to get that into svn now.
The key is that we were changing the ehcache.xml file. That only
provides defaults for caches created with only a name, not a list of
parameters. Cocoon creates caches with a list of parameters, with the
hard coded defaults set the same as the shipped ehcache.xml. However, to
actually set those values, you must change the cocoon.xconf file where
EHDefaultStore gets its values from. I don't have anything overflowing
to disk, so it must be expiring. Otherwise I generate about 700 MB in
overflow in a day starting from an empty cache. I did up my maxobjects
to 30,000 to keep more in memory, but that can't account for the
dramatic drop. Plus I do finally see the expire thread running under
tomcat using jconsole.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]