[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]
Running terracotta on tomcat  XML
Forum Index -> Ehcache
Author Message
NonSense

neo

Joined: 06/30/2014 00:56:37
Messages: 4
Offline

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.
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team