com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet

Terracotta Project Issue Tracker | Tim Eck | 6 years ago
  1. 0

    The ultimate exception is: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item {quote} 20:36:55,622 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:161) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheE xception: java.io.InvalidClassException: failed to read class descriptor at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:540) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99) 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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy74.initServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158) ... 32 more Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to re ad class descriptor at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:78) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536) ... 55 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:98) at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172) at org.hibernate.loader.Loader.list(Loader.java:2167) at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68) ... 58 more Caused by: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:93) at org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29) at org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131) at org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287) at org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791) at net.sf.ehcache.Cache.get(Cache.java:1411) at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91) ... 71 more Caused by: java.io.InvalidClassException: failed to read class descriptor at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1566) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90) ... 81 more Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item at java.lang.ClassLoader.findClass(ClassLoader.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ... 90 more {quote}

    Terracotta Project Issue Tracker | 6 years ago | Tim Eck
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet
  2. 0

    The ultimate exception is: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item {quote} 20:36:55,622 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:161) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheE xception: java.io.InvalidClassException: failed to read class descriptor at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:540) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99) 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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy74.initServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158) ... 32 more Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to re ad class descriptor at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:78) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536) ... 55 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:98) at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172) at org.hibernate.loader.Loader.list(Loader.java:2167) at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68) ... 58 more Caused by: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:93) at org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29) at org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131) at org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287) at org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791) at net.sf.ehcache.Cache.get(Cache.java:1411) at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91) ... 71 more Caused by: java.io.InvalidClassException: failed to read class descriptor at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1566) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90) ... 81 more Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item at java.lang.ClassLoader.findClass(ClassLoader.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ... 90 more {quote}

    Terracotta Project Issue Tracker | 6 years ago | Tim Eck
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet
  3. 0

    java.lang.ClassNotFoundException: boolean

    terracotta.org | 8 months ago
    net.sf.ehcache.CacheException: java.lang.ClassNotFoundException: boolean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to run java application with commons cli in console

    Stack Overflow | 2 years ago | Den
    java.lang.NoClassDefFoundError: org/apache/commons/cl i/ParseException
  6. 0

    commons-logging issue

    GitHub | 4 years ago | nadirvardar
    java.lang.NoClassDefFoundError: com/sun/org/apache/commons/logging/LogFactory

  1. andyglick 2 times, last 6 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item

    at java.lang.ClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.findClass(ClassLoader.java:359)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    3 frames
  3. org.terracotta.modules
    ThreadContextAwareClassLoader.loadClass
    1. org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34)
    1 frame
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:247)
    2 frames
  5. org.terracotta.cache
    DsoSerializationStrategy$OIS.readClassDescriptor
    1. org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96)
    2. org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103)
    2 frames
  6. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564)
    2. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    5 frames
  7. Ehcache
    SerializationModeElementData.create
    1. net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27)
    1 frame
  8. org.terracotta.modules
    ElementSerializationStrategy.deserialize
    1. org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26)
    2. org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15)
    2 frames
  9. org.terracotta.cache
    SerializedEntry.getDeserializedValue
    1. org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132)
    1 frame
  10. org.terracotta.modules
    ClusteredStoreBackend.onEvict
    1. org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90)
    2. org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29)
    2 frames
  11. org.terracotta.cache
    TerracottaDistributedCache.getTimestampedValueQuiet
    1. org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375)
    2. org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214)
    3. org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131)
    4. org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177)
    4 frames
  12. org.terracotta.modules
    ClusteredStore.getQuiet
    1. org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287)
    2. org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270)
    2 frames
  13. Ehcache
    AbstractReadWriteEhcacheAccessStrategy.putFromLoad
    1. net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791)
    2. net.sf.ehcache.Cache.get(Cache.java:1411)
    3. net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91)
    4. net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90)
    4 frames
  14. Hibernate
    Loader.list
    1. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180)
    2. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898)
    3. org.hibernate.loader.Loader.doQuery(Loader.java:773)
    4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
    5. org.hibernate.loader.Loader.doList(Loader.java:2294)
    6. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
    7. org.hibernate.loader.Loader.list(Loader.java:2167)
    7 frames
  15. Hibernate
    QueryImpl.list
    1. org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936)
    2. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
    3. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
    4. org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
    4 frames
  16. Liferay Portal Impl
    QueryImpl.list
    1. com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68)
    1 frame
  17. Liferay Portal Service
    ServiceComponentPersistenceImpl.findByBuildNamespace
    1. com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67)
    2. com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52)
    3. com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536)
    4. com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457)
    4 frames
  18. Liferay Portal Impl
    ServiceComponentLocalServiceImpl.initServiceComponent
    1. com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99)
    1 frame
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  20. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    3 frames
  21. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  22. Liferay Portal Impl
    ChainableMethodAdvice.invoke
    1. com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
    2. com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
    3. com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
    4. com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
    4 frames
  23. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    4 frames
  24. Unknown
    $Proxy74.initServiceComponent
    1. $Proxy74.initServiceComponent(Unknown Source)
    1 frame
  25. Liferay Portal Service
    ServiceComponentLocalServiceUtil.initServiceComponent
    1. com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243)
    1 frame
  26. Liferay Portal Impl
    PluginPackageHotDeployListener.invokeDeploy
    1. com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306)
    2. com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217)
    3. com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158)
    3 frames
  27. Liferay Portal Service
    PortletContextListener.contextInitialized
    1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109)
    2. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182)
    3. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38)
    4. com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99)
    5. com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
    6. com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
    7. com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
    8. com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
    8 frames
  28. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:519)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    18 frames
  29. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  30. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames