AnsweredAssumed Answered

Alfresco 2.2 / WCM / CIFS related exceptions

Question asked by gil.fernandes on Nov 14, 2007
Latest reply on Jan 29, 2008 by kvc
Hello,

I just was trying to upload on Windows Vista via CIFS the files of a web application (inside the WCM folders) and noticed these errors in the Java logs. I am using Alfresco 2.2

So, do you have any idea about what could be the cause for these exceptions.

Kind regards,

Gil Fernandes



16:43:43,596  ERROR [org.hibernate.AssertionFailure] an assertion failure occure
d (this may indicate a bug in Hibernate, but is more likely due to unsafe use of
the session)
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
        at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.ja
va:56)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)

        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)

        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:298)
        at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(Def
aultAutoFlushEventListener.java:41)
        at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:9
69)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at org.alfresco.repo.attributes.hibernate.MapEntryDAOHibernate.get(MapEn
tryDAOHibernate.java:79)
        at org.alfresco.repo.attributes.MapAttributeImpl.values(MapAttributeImpl
.java:233)
        at org.alfresco.repo.attributes.hibernate.AttributeDAOHibernate.evict(At
tributeDAOHibernate.java:166)
        at org.alfresco.repo.attributes.AttributeServiceImpl.setAttribute(Attrib
uteServiceImpl.java:258)
        at org.alfresco.repo.attributes.AttributeServiceImpl.setAttribute(Attrib
uteServiceImpl.java:161)
        at sun.reflect.GeneratedMethodAccessor564.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(Retryi
ngTransactionAdvice.java:93)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy64.setAttribute(Unknown Source)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl.setAttribute_if
_not_found(LinkValidationServiceImpl.java:1075)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl.updateWebappHre
fInfo(LinkValidationServiceImpl.java:1195)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl.updateStoreHref
Info(LinkValidationServiceImpl.java:1056)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl.updateHrefInfo(
LinkValidationServiceImpl.java:951)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl$1.execute(LinkV
alidationServiceImpl.java:495)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl$1.execute(LinkV
alidationServiceImpl.java:493)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:230)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:160)
        at org.alfresco.linkvalidation.LinkValidationServiceImpl.run(LinkValidat
ionServiceImpl.java:503)
        at java.lang.Thread.run(Thread.java:595)

Outcomes