Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- авг 16, 2017 10:20:05 PM org.apache.catalina.core.StandardContext listenerStart
- SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error c
- reating bean with name 'transactionManager': Cannot resolve reference to bean 'transactionManager_ro' while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error cre
- ating bean with name 'transactionManager_ro': Cannot resolve reference to bean 'sessionFactory_ro' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
- bean with name 'sessionFactory_ro': Invocation of init method failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide uniqu
- e 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'transactionManager_ro' while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager_ro': Cannot resolve reference to bean 'sessionFactory_ro' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory_ro': Invocation of init method failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- ... 5 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager_ro': Cannot resolve reference to bean 'sessionFactory_ro' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory_ro': Invocation of init method failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- ... 5 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory_ro': Invocation of init method failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- ... 5 more
- Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
- ... 5 more
- Caused by: net.sf.ehcache.CacheException: Another unnamed 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.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:628)
- at net.sf.ehcache.CacheManager.init(CacheManager.java:392)
- at net.sf.ehcache.CacheManager.<init>(CacheManager.java:270)
- at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
- ... 5 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement