AnsweredAssumed Answered

VariableInstanceEntity was updated by another transaction

Question asked by jcosano on Jan 4, 2011
Latest reply on Jan 5, 2011 by jcosano
Sometimes I had this error in my logs files:

org.activiti.engine.ActivitiOptimisticLockingException: VariableInstanceEntity[2002635] was updated by another transaction concurrently
        at org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:390)
        at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:303)
        at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:141)
        at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:97)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:44)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.activiti.engine.impl.RuntimeServiceImpl.setVariables(RuntimeServiceImpl.java:97)

I'm not doing anything with transactions… how can I avoid this error?

Outcomes