- What version of Ehcache you are currently using;
2.9.0 dependency JAR
- Paste the configuration for the Cache/CacheManager you have an issue with; -
<diskStore path="/home/Test/CMS_CACHE_DISK" />
<transactionManagerLookup class="net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup" properties="jndiName=java:/TransactionManager" propertySeparator=";"/>
<cacheManagerEventListenerFactory class="" properties=""/>
<cache name="test"
maxEntriesLocalHeap="1000"
maxEntriesLocalDisk="10000"
eternal="false"
diskSpoolBufferSizeMB="20"
timeToIdleSeconds="40000"
timeToLiveSeconds="35000"
memoryStoreEvictionPolicy="LFU"
transactionalMode="off">
<persistence strategy="localTempSwap"/>
</cache>
- Add any name and version of other library or framework you use Ehcache with (e.g. Hibernate);
plain java 8+ webservice
- Providing JDK and OS versions maybe useful as well.
1.8+
Dear Team,
I cached in My single server for UAT environment and the cache memory stored in key and value pair manner, the service working fine, if I am moving to production the server location clustered two different box so that if request comes one server i can cache the data but if request comes second time, the cache might be not available so that , how do we manage this situation for ehcache . please some one suggest me the solution perspective.