cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Deployment of Activiti processes

jatz
Champ in-the-making
Champ in-the-making
When we deploy multiple a WAR file on tomcat from multiple boxes pointing to the same database there seem to be duplicate versions of the same process definition in the ACT_RE_PROCDEF table. The only differemnce seems to be the resource_name_ column which says that the definitions were deployed on different boxes.

My assumption was that the version comparison is based on the bytes in the depolyed bpm file and not the deployment resource file source.

The deployment is done by Spring using ProcessEngineConfiguration and I also have initialized the RuntimeService bean by

@Bean(name = "repositoryService")
public RepositoryService repositoryService() {
      final RepositoryService repositoryService = processEngine.getRepositoryService();
      repositoryService.createDeployment().enableDuplicateFiltering();
      return repositoryService;
   }

Is there anyway to prevent this duplicate initialization of resources as they are redundant in out table entries?
13 REPLIES 13

jatz
Champ in-the-making
Champ in-the-making

frederikherema1
Star Contributor
Star Contributor
Great, thanks for reporting this. We'll look into it!

imkeshav
Confirmed Champ
Confirmed Champ

We are facing the same issue, did this issue( https://jira.codehaus.org/browse/ACT-1701) resolved?

Not able to open the above link.

Could you please help us to fix this issue.

nmorado
Champ on-the-rise
Champ on-the-rise

same here