Announcement Announcement Module
Collapse
No announcement yet.
Restart of Spring batch job Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Restart of Spring batch job

    Hi,

    We are getting the business exception(Due to external application logic) in spring batch processor and the job execution is getting failed at record number11.

    After correcting the business logic in external application.

    We are not modifying anything in spring batch job application.Just we are re-executing the same job with same job parameters but we are getting the exception as " Current file size is smaller than size at last commit".

    We haven't modified the input file.

    After job get the step Execution [StepExecution: id=124, version=2, name=step1, status=FAILED, exitStatus=FAILED, readCount=0, filterCount=0, writeCount=0 readSkipCount=0, writeSkipCount=0, processSkipCount=0, commitCount=0, rollbackCount=0, exitDescription=org.springframework.batch.item.Ite mStreamException: Current file size is smaller than size at last commit


    Thanks,
    Pravin.

  • #2
    What version of Spring Batch are you using?

    Comment


    • #3
      Am using Spring Batch 2.1.8

      Comment


      • #4
        My hunch is that you are running into an issue related to: https://jira.springsource.org/browse/BATCH-1799. Would you be willing to get the latest nightly build and give it a shot?

        Comment

        Working...
        X