Related Documentation : Integrations : Using Ehcache with the Google App Engine : Configuring ehcache.xml for Google App Engine
Configuring ehcache.xml for Google App Engine
Make sure the following elements are commented out:
*<diskStore path="/path/to/store/data"/>
*<cacheManagerPeerProviderFactory class= ../>
*<cacheManagerPeerListenerFactory class= ../>
Within each cache element, ensure that:
*overFlowToDisk and diskPersistent are omitted
*persistence strategy=none
*no replicators are added
*there is no bootstrapCacheLoaderFactory
*there is no Terracotta configuration
Use the following Ehcache configuration to get started.
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ehcache.xsd" >
<cacheManagerEventListenerFactory class="" properties=""/>
<defaultCache
maxEntriesOnHeap="10000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
memoryStoreEvictionPolicy="LRU">
<persistence strategy="none"/>
</defaultCache>
<!--Example sample cache-->
<cache name="sampleCache1"
maxEntriesOnHeap="10000"
maxEntriesLocalDisk="1000"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
memoryStoreEvictionPolicy="LFU"
/>
</ehcache>
Copyright © 2014 Software AG, Darmstadt, Germany.

Product Logo |   Feedback