Announcement Announcement Module
No announcement yet.
Dependency jobs failed and cannot able to resume.... Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dependency jobs failed and cannot able to resume....


    I have defined an xml, which consists if dependency job as steps. When any one of the step got failed, I am trying to resume / restart the particular job execution but it is failing.

    My xml is as follows

    <batch:job id="NestedJob">
    <batch:split id="NestedJobSplit1" task-executor="taskExecutor">
    <batch:step id="OpenStep">
    <batch:job ref="OpenReminder" />
    <batch:step id="DiscardStep12">
    <batch:job ref="DiscardApplications" />

    In the above xml, Open Reminder job got failed. I am trying to restart it with the job execution id. When I debug I got the new job execution id, but the new job execution got failed.

    I checked the tables, the old job execution status is stopped with exit message "org.springframework.batch.core.JobInterruptedExce ption".

    The new job execution status is failed.

    Can anyone help me in resolving this issue...

  • #2
    Three things:
    1. Please use the code tags when posting XML or code.
    2. Which job execution id are you using? I assume it's the one for the parent.
    3. What is the error you are receiving? A stack trace would be helpful.