Hi All,
I am using Activiti 5.15 version with multiple Activiti engines and MSSQL server as DB. I am getting below error sometimes while starting workflow instance. The error occurred rarely but need to find root cause and fix it properly.
Can any one give possible root cause of the ERROR and suggestion to fix it please ?
org.activiti.engine.ActivitiException: deployment '36650726' didn't put process definition 'process_31370566:2:36650729' in the cache
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:123)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedProcessDefinitionById(DeploymentManager.java:69)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:69)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:39)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:102)...
Appreciate any kind of hint with regards.
Thanks,
Paresh
Thanks for your reply PaulT.
We are using below API to start new workflow instance :
ActivitiUtil.getRuntimeService().startProcessInstanceById(processDefId, variables);
The error thrown from Activiti framework internally. Any idea such issue resolved in advance releases ? We are using Activiti 5.15.
Thanks,
PM
Is there any pattern to the way the problem occurs that might help to understand it, e.g. ?
- Is it always the same Process Definition Id that is affected
- Is it always the same Process Engine that is involved
- Is there any association with other events, e.g. after a restart, after a period of inactivity etc.
- After the error has occured does the system carry on working normally, including been able to start other instances of the affected Process Definition Id in the affected Process Engine
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.