We have been using EHCache with CF8 for a while now with no issues.
We are now moving to CF 9 and it seems that the baked-in version of EHCache with CF 9 is actually conflicting with our EHCache setup.
So is there:
- Any way to disable the baked-in version of EHCache? This would be a temporary solution.
- If we use the CF9 baked-in caching, is there any way to specify more than one cache in
ehcache.xmland most importantly, toputinto that specific cache via the tag?
Many thanks in advance.
Just create the CacheManager using the overloaded constructor which takes the path to your ehcache config file as an argument
http://ehcache.org/apidocs/net/sf/ehcache/CacheManager.html#CacheManager%28java.lang.String%29
This will create a non-singleton CacheManager which will play nice with CF9