Foros de discusión

Classloader problem with Liferay 6.2.1-GA2 and newest Social Office

Martin Jonik, modificado hace 9 años.

Classloader problem with Liferay 6.2.1-GA2 and newest Social Office

Junior Member Mensajes: 69 Fecha de incorporación: 14/08/12 Mensajes recientes
Get following exception when installing the newest Social Office from the marketplace.. The previous version works fine. Anyone knows a solution for that?

ul 01, 2014 1:34:43 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.
DefaultElementValueComparator. The eventual following stack trace is caused by an error thrown for debugging purpo
ses as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at net.sf.ehcache.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:126)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:84)
at net.sf.ehcache.config.ElementValueComparatorConfiguration.createElementComparatorInstance(ElementValueCo
mparatorConfiguration.java:57)
at net.sf.ehcache.Cache.initialise(Cache.java:1073)
at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1336)
at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1396)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1278)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1222)
at com.liferay.portal.cache.ehcache.EhcachePortalCacheManager.addCache(EhcachePortalCacheManager.java:241)
at com.liferay.portal.cache.ehcache.EhcachePortalCacheManager.getCache(EhcachePortalCacheManager.java:136)
at com.liferay.portal.cache.MultiVMPoolImpl.getCache(MultiVMPoolImpl.java:47)
at com.liferay.portal.dao.orm.common.EntityCacheImpl._getPortalCache(EntityCacheImpl.java:336)
at com.liferay.portal.dao.orm.common.EntityCacheImpl.getResult(EntityCacheImpl.java:123)
at com.liferay.portal.kernel.dao.orm.EntityCacheUtil.getResult(EntityCacheUtil.java:47)
at com.liferay.tasks.service.persistence.TasksEntryPersistenceImpl.fetchByPrimaryKey(TasksEntryPersistenceI
mpl.java:5616)
at com.liferay.tasks.service.persistence.TasksEntryPersistenceImpl.fetchByPrimaryKey(TasksEntryPersistenceI
mpl.java:5664)
at sun.reflect.GeneratedMethodAccessor896.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.
java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150
)
at com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPer
Martin Jonik, modificado hace 9 años.

RE: Classloader problem with Liferay 6.2.1-GA2 and newest Social Office

Junior Member Mensajes: 69 Fecha de incorporación: 14/08/12 Mensajes recientes
Sorry for that. Seems to need a server restart.
Granger Guillaume, modificado hace 9 años.

RE: Classloader problem with Liferay 6.2.1-GA2 and newest Social Office

New Member Mensajes: 3 Fecha de incorporación: 18/05/10 Mensajes recientes
Have you find a solution? I have the same problem.

Thanks.
Martin Jonik, modificado hace 9 años.

RE: Classloader problem with Liferay 6.2.1-GA2 and newest Social Office

Junior Member Mensajes: 69 Fecha de incorporación: 14/08/12 Mensajes recientes
you need to restart the application server.