Romeh / spring-boot-web-Ehchache-3-Persistance

Spring Boot Web with Ehchache 3 file persistance support plus how to do cache operations
9 stars 10 forks source link

Data persisted is refreshed after application restart. #2

Closed naveenkumaran closed 5 years ago

naveenkumaran commented 5 years ago

Although in the ehcache.xml persistence element is specified, the cache data is not persisted across restart. The index file is not created when the application is shutdown. I hope the issue is related to clean shutdown. Could you help to identify the cause and give a solution on how to solve it

naveenkumaran commented 5 years ago

Closing the issue as the cache index is not generated only when the JVM exits with -1