I am using cache and ehcache plugin. I have configured ehcahe.xml as follow
<ehcache name="backEndData">
<diskStore path="user.dir/src/main/webapp/cache"/>
<defaultCache
maxElementsInMemory="0"
maxElementsOnDisk="10000"
eternal="false"
overflowToDisk="true">
</defaultCache>
</ehcache>
It is working in development environment perfectly but how to make this working after deploying war file.