Results 1 to 4 of 4

Thread: Restart of Spring batch job

  1. #1

    Lightbulb 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. #2
    Join Date
    Sep 2008
    Location
    Chicagoland, IL
    Posts
    349

    Default

    What version of Spring Batch are you using?
    Michael Minella
    Spring Batch Lead
    Author - Pro Spring Batch
    http://www.michaelminella.com
    Twitter: @MichaelMinella

  3. #3

    Default

    Am using Spring Batch 2.1.8

  4. #4
    Join Date
    Sep 2008
    Location
    Chicagoland, IL
    Posts
    349

    Default

    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?
    Michael Minella
    Spring Batch Lead
    Author - Pro Spring Batch
    http://www.michaelminella.com
    Twitter: @MichaelMinella

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •