[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: NonSense  XML
Profile for NonSense -> Messages posted by NonSense [4]
Author Message
Worked like a charm! Thank you.
Hi,

can somebody explain to me what does the following exception mean?
Code:
Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.lang.RuntimeException: Failed to instantiate ManagementServer.
 	at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
 	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221)
 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
 	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
 	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
 	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
 	... 138 more
 Caused by: net.sf.ehcache.CacheException: java.lang.RuntimeException: Failed to instantiate ManagementServer.
 	at net.sf.ehcache.CacheManager.init(CacheManager.java:419)
 	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:264)
 	at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:79)
 	... 145 more
 Caused by: java.lang.RuntimeException: Failed to instantiate ManagementServer.
 	at net.sf.ehcache.management.ManagementServerLoader.register(ManagementServerLoader.java:126)
 	at net.sf.ehcache.CacheManager.initializeManagementService(CacheManager.java:546)
 	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:509)
 	at net.sf.ehcache.CacheManager.init(CacheManager.java:388)
 	... 147 more
 Caused by: java.lang.RuntimeException: Several META-INF/services/net.sf.ehcache.management.ManagementServer found in the classpath, aborting agent start up
 	at net.sf.ehcache.management.ManagementServerLoader.loadOSorEEManagementServer(ManagementServerLoader.java:157)
 	at net.sf.ehcache.management.ManagementServerLoader.register(ManagementServerLoader.java:107)
 	... 150 more

Thx
Hi,

I am new to Terracotta, I downloaded the enterprise suite and try to make it run. When I read the documentation for ehcache http://terracotta.org/documentation/3.7.4/enterprise-ehcache/installation-guide there is mentioned the dev-console, but I cannot find it. Is the article outdated or what am I missing?
Tanks in advance.
Hi,

when I start my application I always get following error:
Code:
Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory.<init>(net.sf.ehcache.config.TerracottaClientConfiguration)
 	at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:91)
 	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221)
 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
 	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
 	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
 	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
 	... 138 more
 Caused by: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory.<init>(net.sf.ehcache.config.TerracottaClientConfiguration)
 	at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:100)
 	at net.sf.ehcache.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:116)
 	at net.sf.ehcache.CacheManager.init(CacheManager.java:307)
 	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:209)
 	at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:81)
 	... 145 more

Which terracotta jars and exactly where should they be copied to Tomcat to make it run?

Thanks for help.
 
Profile for NonSense -> Messages posted by NonSense [4]
Go to:   
Powered by JForum 2.1.7 © JForum Team