on-internet
← Community

Another CacheManager with same name 'cacheManager' already exists in the same VM

Stack Overflow ·

I receive this error when starting tomcat with ehcache and Spring. Another CacheManager with same name 'cacheManager' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. Spring 3.1 ehcache 2.9.0 No test context using this. This is a web JSF app. ehcache.xml <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi

Comments

Sign in or sign up to comment and upvote.

No comments yet.