Spring Batch Admin
  1. Spring Batch Admin
  2. BATCHADM-135

Stopping a job in STARTING state throws OptimisticLockingFailureException

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Manager
    • Labels:
      None
    • Environment:
      Windows 7, Tomcat 6

      Description

      When i try to stop a JobExecution in STARTING state it throws an OptimisticLockingFailureException (Attempt to update job execution id=#### with wrong version (0), where current version is 1) and the job goes in FAILED state. I call the SimpleJobService.stop method on a job in STARTING STATE.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Dave Syer
            Reporter:
            Francesco Gapito
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: