deployment ' ' didn't put process definition ' ' in the cache Error

cancel
Showing results for 
Search instead for 
Did you mean: 
jdp
Active Member

deployment ' ' didn't put process definition ' ' in the cache Error

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

3 Replies
pault
Active Member II

Re: deployment ' ' didn't put process definition ' ' in the cache Error

I remember seeing this some time ago when I had a deployment issue which refers to the same exception. It is an old version, and might not be exactly the same issue but might give some clues.

  

jdp
Active Member

Re: deployment ' ' didn't put process definition ' ' in the cache Error

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

pault
Active Member II

Re: deployment ' ' didn't put process definition ' ' in the cache Error

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