05-18-2011 06:58 AM
ProcessEngineConfiguration processEngineConfiguration = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault();
processEngineConfiguration.setDataSource(this.activitiDataSource);
processEngineConfiguration.setTransactionsExternallyManaged(true);
processEngineConfiguration.setDatabaseSchemaUpdate("false");
processEngineConfiguration.setHistory("full");
ProcessEngine processEngine = processEngineConfiguration.buildProcessEngine();
PropertyEntity[next.dbid] was updated by another transaction concurrently
org.activiti.engine.ActivitiOptimisticLockingException: PropertyEntity[next.dbid] was updated by another transaction concurrently
at java.lang.Throwable.<init>(Throwable.java:67)
at org.activiti.engine.ActivitiException.<init>(ActivitiException.java:30)
at org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:416)
at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:338)
at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:147)
at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:103)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.db.DbIdGenerator.getNewBlock(DbIdGenerator.java:41)
at org.activiti.engine.impl.db.DbIdGenerator.getNextId(DbIdGenerator.java:34)
05-20-2011 10:05 AM
05-23-2011 02:05 PM
06-27-2011 05:28 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.