CDV ❯ DistributedCache refactoring causes NoClassDefFoundError for standalone H2LC
Bug
Status:Closed
2 Major
Resolution:Fixed
teck
Reporter:teck
July 29, 2009
0
Watchers:0
August 20, 2009
July 29, 2009
Description
From Hibernate33CacheTest for revision 17918 tc-3.1 branch
java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory
at org.terracotta.cache.evictor.EvictionStatistics.(EvictionStatistics.java:25)
at org.terracotta.cache.impl.DistributedCacheImpl.initializeOnLoad(DistributedCacheImpl.java:89)
at org.terracotta.cache.impl.DistributedCacheImpl.(DistributedCacheImpl.java:69)
at org.terracotta.modules.hibernatecache.clustered.CacheStoreDso.(CacheStoreDso.java:19)
at org.terracotta.modules.hibernatecache.clustered.TerracottaHibernateCacheImpl.(TerracottaHibernateCacheImpl.java:56)
at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newCache(ComponentFactoryImpl.java:37)
at org.terracotta.modules.hibernatecache.PlainTerracottaHibernateCacheProvider.buildCacheInternal(PlainTerracottaHibernateCacheProvider.java:27)
at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.buildCache(BaseTerracottaCacheProvider.java:66)
at org.terracotta.modules.hibernatecache.BootstrapCacheProvider.buildCache(BootstrapCacheProvider.java:76)
at org.terracotta.hibernate.TerracottaHibernateCacheProvider.buildCache(TerracottaHibernateCacheProvider.java:40)
at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.buildEntityRegion(RegionFactoryCacheProviderBridge.java:96)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at org.terracotta.hibernate.tests.HibernateUtil.getSessionFactory(HibernateUtil.java:34)
at org.terracotta.hibernate.tests.Client1.run(Client1.java:29)
at org.terracotta.hibernate.tests.ClientBase.execute(ClientBase.java:18)
at org.terracotta.hibernate.tests.Client1.main(Client1.java:22)
Caused by: java.lang.ClassNotFoundException: org.terracotta.cache.CacheConfigFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 17 more
fixed in revision 17953