02-11-2011 07:11 AM
01-06-2012 05:38 AM
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManagerName" value="java:jboss/TransactionManager" />
</bean>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSourceJndiName" value="java:jboss/datasources/datasource.name" />
<property name="transactionManager" ref="transactionManager" />
<property name="transactionsExternallyManaged" value="true" />
<property name="databaseSchemaUpdate" value="true" />
<property name="mailServerHost" value="mail " />
<property name="mailServerPort" value="25" />
<property name="deploymentResources" value="classpath:/diagrams/*.bpmn20.xml" />
</bean>
ID_ CATEGORY_ NAME_ KEY_ VERSION_ DEPLOYMENT_ID_
Prototype_flow_activiti:10:2008 http://… prototype_flow_activiti Prototype_flow_activiti 10 2001
Prototype_flow_activiti:10:2108 http://… prototype_flow_activiti Prototype_flow_activiti 10 2101
01-09-2012 03:19 AM
01-09-2012 04:54 AM
ALTER TABLE `ACT_RE_PROCDEF` ADD UNIQUE INDEX `KEY_VERSION` (`KEY_` ASC, `VERSION_` ASC) ;
By adding this only the instance that wants to insert the duplicate will fail to start.07-03-2012 11:23 AM
ProcessDefinitionEntity latestProcessDefinition = processDefinitionManager.findLatestProcessDefinitionByKey(processDefinition.getKey());
if (latestProcessDefinition != null) {
processDefinitionVersion = latestProcessDefinition.getVersion() + 1;
} else {
processDefinitionVersion = 1;
}
07-04-2012 02:57 AM
12-11-2014 04:24 PM
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.