Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. авг 16, 2017 10:20:05 PM org.apache.catalina.core.StandardContext listenerStart
  2. SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
  3. 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
  4. 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
  5. 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
  6. 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
  7. e names for each CacheManager in the config or do one of following:
  8. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  9. 2. Shutdown the earlier cacheManager before creating new one with same name.
  10. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  11. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  12. at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  13. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  14. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  15. at java.lang.Thread.run(Thread.java:745)
  16. 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:
  17. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  18. 2. Shutdown the earlier cacheManager before creating new one with same name.
  19. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  20. ... 5 more
  21. 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:
  22. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  23. 2. Shutdown the earlier cacheManager before creating new one with same name.
  24. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  25. ... 5 more
  26. 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:
  27. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  28. 2. Shutdown the earlier cacheManager before creating new one with same name.
  29. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  30. ... 5 more
  31. 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:
  32. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  33. 2. Shutdown the earlier cacheManager before creating new one with same name.
  34. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  35. at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
  36. ... 5 more
  37. 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:
  38. 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
  39. 2. Shutdown the earlier cacheManager before creating new one with same name.
  40. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  41. at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:628)
  42. at net.sf.ehcache.CacheManager.init(CacheManager.java:392)
  43. at net.sf.ehcache.CacheManager.<init>(CacheManager.java:270)
  44. at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
  45. ... 5 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement