02-25-2019 03:07 AM
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
02-26-2019 02:25 AM
03-01-2019 05:35 AM
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
03-01-2019 08:01 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.