Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-1981

OptimisticLockingFailureException when stopping jobs

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.1.9
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Windows 7, JBoss AS7

      Description

      When a lot of batches are executing with an asynchronous task executor, and I'm trying to interrupt them via SimpleJobOperator invoked from JMX, I've got an OptimisticLockingFailureException, see attachement for complete stack

        Activity

        Hide
        bdupont Benoit Dupont added a comment -

        I got the same problem when doing the same use case when clicking on the button Stop All in Spring Batch Admin Console. Tell me if the stackTrace if enough, otherwise I'll try to create unit test reproducing the problem.

        Show
        bdupont Benoit Dupont added a comment - I got the same problem when doing the same use case when clicking on the button Stop All in Spring Batch Admin Console. Tell me if the stackTrace if enough, otherwise I'll try to create unit test reproducing the problem.

          People

          • Assignee:
            Unassigned
            Reporter:
            bdupont Benoit Dupont
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: