Ernie Chang <er...@pc-doctor.com> wrote on 04/13/2015 01:39:02 PM:
> From: Ernie Chang
> I occasionally see jobs that appear to be hung, that do not respond to
> TERMINATE JOB
[snip]
> The last call in the stack is a script element which was wrapped in a
> timer block. The script element basically has some code in it to make a
> web form submission. I've tried to STOP THREAD, TERMINATE JOB, etc, but
> can't seem to find a way to actually get this job to finish. The only
> workaround we've found seems to be to stop and restart STAF.
[snip]
> Ernie Chang, Senior QA Automation Engineer
I haven't looked at this in ages, but my best guess would be that the
Python code in the <script> element is not actually completing. STAX can
only (effectively) terminate threads at element boundaries. So, if the
<script> never completes, the thread won't terminate.
Charles Rankin
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users