cancel
Showing results for 
Search instead for 
Did you mean: 

Process blocked in JOIN

jcosano
Champ in-the-making
Champ in-the-making
I have a process that split in 17 branches… and after join all before finish process.
Now, the process is not finishing, and I suspect that is waiting in "join" state…

DATE IN ACT_RU_EXECUTION is:

ID_   REV_   PROC_INST_ID_   PARENT_ID_   PROC_DEF_ID_   SUPER_EXEC_   ACTIVITY_ID_   IS_ACTIVE_   IS_CONCURRENT_   IS_SCOPE_
116   1   116   NULL   firmaSemanal:1   NULL   fork   0   0   1
117   1   116   116   firmaSemanal:1   NULL   join   0   1   0
118   1   116   116   firmaSemanal:1   NULL   join   0   1   0
119   1   116   116   firmaSemanal:1   NULL   join   0   1   0
120   1   116   116   firmaSemanal:1   NULL   join   0   1   0
121   1   116   116   firmaSemanal:1   NULL   join   0   1   0
122   1   116   116   firmaSemanal:1   NULL   join   0   1   0
123   1   116   116   firmaSemanal:1   NULL   join   0   1   0
124   1   116   116   firmaSemanal:1   NULL   join   0   1   0
125   1   116   116   firmaSemanal:1   NULL   join   0   1   0
126   1   116   116   firmaSemanal:1   NULL   join   0   1   0
127   1   116   116   firmaSemanal:1   NULL   join   0   1   0
128   1   116   116   firmaSemanal:1   NULL   join   0   1   0
129   1   116   116   firmaSemanal:1   NULL   join   0   1   0
130   1   116   116   firmaSemanal:1   NULL   join   0   1   0
131   1   116   116   firmaSemanal:1   NULL   join   0   1   0
132   1   116   116   firmaSemanal:1   NULL   join   0   1   0
133   1   116   116   firmaSemanal:1   NULL   join   0   1   0

And ACT_RU_TASK is empty

Can I look somewhere else?
13 REPLIES 13

jcosano
Champ in-the-making
Champ in-the-making
Ok, now we can see logs into tomcat output console.
Thank you!!!

Anyway activiti logfile is empty.

jcosano
Champ in-the-making
Champ in-the-making
Ok, now we have logs and for some reason last join (is not working fine):
At this point, I have 15 of 17 joined…


26-sep-2010 11:54:08 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[116] takes transition (oneTimerCOL)–>(javaServiceCOL)
26-sep-2010 11:54:08 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[116] executes Activity(javaServiceCOL): org.activiti.engine.impl.bpmn.ServiceTaskDelegateActivityBehaviour
26-sep-2010 11:54:08 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[119] takes transition (oneTimerEMI)–>(javaServiceEMI)
26-sep-2010 11:54:08 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[119] executes Activity(javaServiceEMI): org.activiti.engine.impl.bpmn.ServiceTaskDelegateActivityBehaviour
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.BpmnActivityBehavior performOutgoingBehavior
FINA: Leaving activity 'javaServiceEMI'
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[119] takes transition (javaServiceEMI)–>(exclusiveEMI)
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[119] executes Activity(exclusiveEMI): org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity leave
FINA: Leaving activity 'exclusiveEMI'
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity leave
FINA: Sequence flow 'flowEMI2 'selected as outgoing sequence flow.
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[119] takes transition (exclusiveEMI)–flowEMI2–>(join)
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[119] executes Activity(join): org.activiti.engine.impl.bpmn.ParallelGatewayActivity
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ParallelGatewayActivity execute
FINA: parallel gateway 'join' does not activate: 16 of 17 joined
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.BpmnActivityBehavior performOutgoingBehavior
FINA: Leaving activity 'javaServiceCOL'
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[116] takes transition (javaServiceCOL)–>(exclusiveCOL)
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[116] executes Activity(exclusiveCOL): org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity leave
FINA: Leaving activity 'exclusiveCOL'
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ExclusiveGatewayActivity leave
FINA: Sequence flow 'flowCOL2 'selected as outgoing sequence flow.
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationTransitionNotifyListenerTake execute
FINA: ConcurrentExecution[116] takes transition (exclusiveCOL)–flowCOL2–>(join)
26-sep-2010 11:54:13 org.activiti.pvm.impl.runtime.AtomicOperationActivityExecute execute
FINA: ConcurrentExecution[116] executes Activity(join): org.activiti.engine.impl.bpmn.ParallelGatewayActivity
26-sep-2010 11:54:13 org.activiti.engine.impl.bpmn.ParallelGatewayActivity execute
FINA: parallel gateway 'join' does not activate: 16 of 17 joined

tombaeyens
Champ in-the-making
Champ in-the-making
can you try with 2 or 3 concurrent paths?  if you can reproduce the problem with 2 or 3 paths, it's much easier to verify.  as these logs don't seem to be complete.

if that works, then you can scale out to 17 concurrent paths.

only this release (to be released end of week) we added checks for optimistic locking.  so if there is any concurrency in this test, then it's best to wait and test with 5.0.beta2

jcosano
Champ in-the-making
Champ in-the-making
I think that is better waiting for 5.0.beta2.

All small test (playing with seconds or minutes and 5 paths) works fine.
And with all paths, test are working fine too, but for some reason, when the process is playing 1 time at day, all weeks fails, looking logs we can see that last joined is done but counter fails.

I suppose that problem should be concurrency.