Configuring ehcache.xml for Google App Engine
Make sure the following elements are commented out:
![*](bullet.gif)
<diskStore path="/path/to/store/data"/>
![*](bullet.gif)
<cacheManagerPeerProviderFactory class= ../>
![*](bullet.gif)
<cacheManagerPeerListenerFactory class= ../>
Within each cache element, ensure that:
![*](bullet.gif)
overFlowToDisk and diskPersistent are omitted
![*](bullet.gif)
persistence strategy=none
![*](bullet.gif)
no replicators are added
![*](bullet.gif)
there is no bootstrapCacheLoaderFactory
![*](bullet.gif)
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
maxEntriesLocalHeap="10000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
memoryStoreEvictionPolicy="LRU">
<persistence strategy="none"/>
</defaultCache>
<!--Example sample cache-->
<cache name="sampleCache1"
maxEntriesLocalHeap="10000"
maxEntriesLocalDisk="1000"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
memoryStoreEvictionPolicy="LFU"
/>
</ehcache>