cancel
Showing results for 
Search instead for 
Did you mean: 

Process Instance is deleted then it is still running !

javacorner
Champ in-the-making
Champ in-the-making
Dears

please find the ProcessInstance=29323 is deleted at 10:13 then it is still running at 10:27 :

1)Mon Jun 01 10:13:16 2015 INFO  InmaEventListener - ACTIVITI An existing entity is deleted. Entity=ProcessInstance[29323]

2)Mon Jun 01 10:27:58 2015 ERROR InmaEventListener - ACTIVITI The execution of a job has failed. EntityId=29326 ,JobHandlerType=async-continuation ,ProcessInstanceId=29323


For your information
1) we setup activiti frame work inside WAS 8.5.5 in cluster mode .
2) this Process executes "call activity" in synchronize mode. 
3)this logs above are from ActivitiEventListener

please find attached log
4 REPLIES 4

javacorner
Champ in-the-making
Champ in-the-making
the following is the values from ACT_HI_ACTINST history file :
SELECT * FROM ACT_HI_ACTINST WHERE PROC_INST_ID_ ='29323'

ID_  PROC_DEF_ID_  PROC_INST_ID_  EXECUTION_ID_  ACT_ID_ TASK_ID_ CALL_PROC_INST_ID_    ACT_NAME_ ACT_TYPE_  ASSIGNEE_  START_TIME_ END_TIME_ DURATION_ TENANT_ID_
29380 offlineProcess:1:11  29323 29323 endevent1   (null)  (null)  End endEvent (null)  6/1/2015 10:13 6/1/2015 10:13 0 (null)
29350 offlineProcess:1:11  29323 29349 exportactivity (null)  29351 Call activity of export callActivity  (null) 6/1/2015 10:10 6/1/2015 10:13 182018 (null)
29325 offlineProcess:1:11  29323 29323 startevent1 (null)  (null)  Start startEvent    (null)  6/1/2015 10:05 6/1/2015 10:05 1 (null)

as ACT_HI_ACTINST table: the process instance is ended at 6/1/2015  10:13:16 AM but it is still alive at 10:27:58 which in unlogic !

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
could you create jUnit test please?

Regards,
Martin

javacorner
Champ in-the-making
Champ in-the-making
Hi Martin

for unit test : is it will satisfy the same environment of my production ?
I mean  run the application inside WAS 8.5.5 in cluster mode ?

is it related to  asynchronous execution of call activity?


Thanks.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Moustafa,

The only way (which I see to help you) is to be able to reproduce the issue. That's why I want to reproduce the issue in the jUnit test.

Regards
Martin