AnsweredAssumed Answered

Camel context : activiti endpoint lost

Question asked by mvincent on Jan 22, 2014
Latest reply on Jan 12, 2015 by gabrielfrancisco
Hi

  We are currently encountering a weird problem on our production environment.

Every day, it seems that the camel context is losing the activiti endpoints as we get the following exception :

Exception or error caught in resource
java.lang.RuntimeException: Activiti endpoint not defined for activiti://process:task
   at org.activiti.camel.CamelBehaviour.getEndpoint(CamelBehaviour.java:59)
   at org.activiti.camel.CamelBehaviour.createEndpoint(CamelBehaviour.java:50)
   at org.activiti.camel.CamelBehaviour.execute(CamelBehaviour.java:41)
   at org.activiti.engine.impl.delegate.ActivityBehaviorInvocation.invoke(ActivityBehaviorInvocation.java:34)
   at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
   at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
   at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:69)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:87)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:532)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:527)

Once we restart the tomcat everything is going well.
First, I thought it was the "known" problem (http://forums.activiti.org/content/activiti-engine-hangs-every-few-hours-tomcat) about datasource so I switched to BoneCP but still falling.

We are using the activiti engine embedded in a war application exposing a REST API which interact with the activiti endpoints.

Any idea about a possible cause ?
How can I get some more logs to figure out the initial problem ?

Thanks in advance
Mat

Outcomes