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

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

    Hi,

    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:flow>
    <batch:step id="OpenStep">
    <batch:job ref="OpenReminder" />
    </batch:step>
    </batch:flow>
    <batch:flow>
    <batch:step id="DiscardStep12">
    <batch:job ref="DiscardApplications" />
    </batch:step>
    </batch:flow>
    </batch:split>
    </batch:job>

    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.

    Comment

    Working...
    X