cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corin Moss" <Corin.M...@tvnz.co.nz>
Subject EHStore overflow to disk
Date Thu, 15 Apr 2004 05:20:32 GMT

Hi Guys,

I'm trying to test the EHStore against JCS store.  I've changed roles
etc, and, although the EHStore is being used, and pipelines are being
executed properly, the store is not correctly written to disk.  The
store data file reaches 1 meg, and then is cleared, at which point it is
never re-touched.

Has anyone got this working successfully before?

My config is as follows:

(xconf)

<persistent-store logger="core.store.persistent">
  <parameter name="cache-name" value="perscache" />
  <parameter name="maxobjects" value="10" />
<persistent-store>


(ehcache xml)
<ehcache>
    <diskStore path="/www/cocoon/work"/>

    <defaultCache
        maxElementsInMemory="10"
        eternal="true"
        timeToIdleSeconds="120"
        timeToLiveSeconds="120"
        overflowToDisk="true"
        />
</ehcache>

I'm not seeing any errors coming back through to Cocoon. I've not yet
been able to make EHCache log properly tho.

Anyone else seen similar behaviour? :)

Thanks,

Corin


================================================================
CAUTION: This e-mail and any attachment(s) contains information
that is intended to be read only by the named recipient(s). It
may contain information that is confidential, proprietary or the
subject of legal privilege. This information is not to be used by
any other person and/or organisation. If you are not the intended
recipient, please advise us immediately and delete this e-mail
from your system. Do not use any information contained in it.

================================================================
For more information on the Television New Zealand Group, visit
us online at http://www.tvnz.co.nz
================================================================

Mime
View raw message