glassfish
  1. glassfish
  2. GLASSFISH-19868

Batch RI : Batch Exceptions : JobExecutionAlreadyCompleteException not thrown when restarting a completed Job

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_dev
    • Fix Version/s: 4.0_dev
    • Component/s: batch
    • Labels:
      None

      Description

      Tested with latest nightly : glassfish-4.0-b80-03_13_2013

      Steps:

      1) Restart a job execution which is already completed.

      Issue--> JobExecutionAlreadyCompleteException not thrown. Creates a new Job execution with the server logs. But actually the job not started.

      Expected: JobExecutionAlreadyCompleteException should be thrown, and Job Operator should create a new execution.

      [2013-03-14T18:18:15.890+0530] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=29 _ThreadName=Thread-3] [timeMillis: 1363265295890] [levelValue: 800] [[

        • GlassFishBatchExecutorServiceProvider.getExecutorService() called]]

      [2013-03-14T18:18:15.890+0530] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=29 _ThreadName=Thread-3] [timeMillis: 1363265295890] [levelValue: 800] [[
      Job with Execution id:287 restarted]]

        Activity

        Hide
        ScottKurz added a comment -

        OK.. I see we hadn't implemented this and have done so internally. Available next respin.

        Show
        ScottKurz added a comment - OK.. I see we hadn't implemented this and have done so internally. Available next respin.
        Hide
        ScottKurz added a comment -

        This should have been in for awhile now.. in 1.0-b19, I believe.

        Show
        ScottKurz added a comment - This should have been in for awhile now.. in 1.0-b19, I believe.

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            arunkumar_s
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: