cancel
Showing results for 
Search instead for 
Did you mean: 

job executor is not shutting down

mhw
Champ in-the-making
Champ in-the-making
Hi,

I debug for hours now why the command:
      ProcessEngines.destroy();
Is not shutting down the job executor. Debugging shows that "isActive" (of JobExecutor) member is set to false. But I not able to find out where this is set. Process end normal. End node is reached.
Can somebody please tell me how to debug this?

Best regards

Michael

ps: it is very annoying that extension "xml" is not allowed for attachments. How can I attach my process file?
2 REPLIES 2

mhw
Champ in-the-making
Champ in-the-making
Thats some sort of cynical joke to me:

18.10.2011 08:52:36 org.activiti.engine.impl.jobexecutor.JobExecutor shutdown
INFO: Ignoring request to shut down non-active JobExecutor
then immediately after that:

18.10.2011 08:52:39 org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
FEIN: job acquisition thread woke up
18.10.2011 08:52:39 org.activiti.engine.impl.interceptor.LogInterceptor execute
FEIN:                                                                                                    
18.10.2011 08:52:39 org.activiti.engine.impl.interceptor.LogInterceptor execute
FEIN: — starting AcquireJobsCmd ——————————————————–
18.10.2011 08:52:39 org.activiti.engine.impl.db.DbSqlSession flush
FEIN: flush summary:
18.10.2011 08:52:39 org.activiti.engine.impl.db.DbSqlSession flush
FEIN: now executing flush…
18.10.2011 08:52:39 org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext commit
FEIN: firing event committing…
18.10.2011 08:52:39 org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext commit
FEIN: committing the ibatis sql session…
18.10.2011 08:52:39 org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext commit
FEIN: firing event committed…
18.10.2011 08:52:39 org.activiti.engine.impl.interceptor.LogInterceptor execute
….

mhw
Champ in-the-making
Champ in-the-making
sometimes just asking a question miraculously can solve problems. Now without changing a thing process is not ending because it "hangs" in a wait-loop. Now I am able to debug my process again. Smiley Very Happy
Nevertheless it would be nice to hear your opinion to an ended process but a running job executor.

Best regards

Michael