I want to do something with ehcache in Java that I think should be extremely simple, but I\'ve spent enough time frustrating myself with the docs...
Write a
this might be a little late but i had the same problem: what helped was to shutdown the cache manager.
(from the docu: http://ehcache.org/documentation/code-samples#ways-of-loading-cache-configuration)
Shutdown the singleton CacheManager:
CacheManager.getInstance().shutdown();
Shutdown a CacheManager instance, assuming you have a reference to the CacheManager called :
manager.shutdown();