net.sf.ehcache.CacheException

Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was Can't find resource: /terracotta-ehcache-version.properties

Solutions on the web200

  • Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was Can't find resource: /terracotta-ehcache-version.properties
  • via Terracotta by vinnie, 1 year ago
    Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was null
  • Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was null
  • Stack trace

    • net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was Can't find resource: /terracotta-ehcache-version.properties at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:109) at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178) at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:198) at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:150) at net.sf.ehcache.CacheManager.getClusteredInstanceFactory(CacheManager.java:558) at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:506) at net.sf.ehcache.Cache.initialise(Cache.java:1068) at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1125) at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1156) at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1052) at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1019) at de.tmobile.cache.MemoryDataStore.clear(MemoryDataStore.java:261) at de.tmobile.cache.MemoryDataStore.initIfNeccessary(MemoryDataStore.java:117) at de.tmobile.cache.MemoryDataStore.get(MemoryDataStore.java:127) at de.tmobile.cache.CascadedCacheImpl.get(CascadedCacheImpl.java:102) at de.tmobile.cache.proxy.CascadedCacheInvocationHandler.invoke(CascadedCacheInvocationHandler.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy359.getSnippetMap(Unknown Source) at de.tmobile.ecare.business.services.impl.SnippetCacheServiceImpl.getSnippetMap(SnippetCacheServiceImpl.java:118) at de.tmobile.ecare.business.services.impl.SnippetCacheServiceImpl.prefillCache(SnippetCacheServiceImpl.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) at $Proxy365.prefillCache(Unknown Source) at de.tmobile.ecare.business.services.impl.CacheServiceImpl.refresh(CacheServiceImpl.java:114) at de.tmobile.ecare.business.services.CacheServiceBean.refresh(CacheServiceBean.java:104) at de.tmobile.ecare.business.services.CacheServiceBean_w1psoo_ELOImpl.refresh(CacheServiceBean_w1psoo_ELOImpl.java:548) at de.tmobile.ecare.business.services.async.command.RefreshCacheCommand.execute(RefreshCacheCommand.java:69) at de.tmobile.ecare.business.services.async.BusinessAccessMDBean.onMessage(BusinessAccessMDBean.java:193) at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466) at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371) at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:328) at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659) at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345) at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3822) at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115) at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: java.lang.RuntimeException: Can't find resource: /terracotta-ehcache-version.properties at net.sf.ehcache.util.ProductInfo.parseProductInfo(ProductInfo.java:69) at net.sf.ehcache.util.ProductInfo.<init>(ProductInfo.java:49) at net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory.assertCoreVersionMatches(ExpressEnterpriseTerracottaClusteredInstanceFactory.java:56) at net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory.<init>(ExpressEnterpriseTerracottaClusteredInstanceFactory.java:24) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92) ... 43 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.