Hello,
I am not sure I understand the problem you are describing, would you mind elaborating?
Here is what I understand, please feel free to correct me when needed:
- you submitted a task, and while this task was running, the ode on which it was running had a problem. Can you tell us what that problem was?
- you are talking about a time limit that was triggered, so I'm assuming you set a task timeout using JPPFTask.setTimeout(...) or something equivalent, is this correct? If yes, I'm also assuming you implemented the onTimeout() method in your task, can you confirm as well?
- the main problem is what happens to a task when it is not executing in a node, and there is no node to execute it? In this case, I would recommend to set a
timeout on the job that contains the task, so the job will be cancelled when the timeout expires, and it won't remain indefinitely hanging.
Does this answer your question?
Sincerely,
-Laurent