Skip to main content

[jsr352-public] Re: Questions about Exit status and restart

  • From: Scott Kurz < >
  • To:
  • Subject: [jsr352-public] Re: Questions about Exit status and restart
  • Date: Tue, 12 Nov 2013 11:10:13 -0500


Michael,

I made some comments on this bug last week, please do respond when you have
the chance.

Thanks,
------------------------------------------------------
Scott Kurz
WebSphere Batch / Compute Grid Development
T/L 295-5649;
External Phone 845-435-5649

--------------------------------------------------------



From:   Michael Minella 
< >
To:     
" "
 
< >,
Date:   11/12/2013 10:32 AM
Subject:        [jsr352-public] Re: Questions about Exit status and restart



There is an open bug related to the behavior you are seeing:

https://java.net/bugzilla/show_bug.cgi?id=5375

As you note, the spec expects the ExitStatus to match the BatchStatus
unless set otherwise, yet the RI initializes it to null (due to what the
JavaDoc on the interface allows).

Thanks,
Michael Minella

http://www.michaelminella.com


On Tue, Nov 12, 2013 at 9:24 AM, 
< >
 wrote:
  In the document, it says: "Exit status is initially set to the string
  form of the batch status." However, for my app, If my batch is failed,
  then both the step exit status and job exit status turn FAILED.   If my
  batch is stopped, then the step exit status turns STOPPED, but the job
  exit status is null. Otherwise, both exit status are always null. Is
  this right?

  Second question, when the batch is failed, both  exit status are
  FAILED(I only have one step in this job), I restart this jobexcution,
  the step cannot be restarted. Do I need some configuration in job.xml?

  Third question, could I force the job/step exit status to be always
  STOPPED? So that this batch could be restart even if it's completed.

  Thanks.

GIF image



[jsr352-public] Questions about Exit status and restart

shanlu715 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Michael Minella 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Scott Kurz 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Scott Kurz 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Michael Minella 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Shan Lu 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Shan Lu 11/12/2013

[jsr352-public] Re: Questions about Exit status and restart

Scott Kurz 11/12/2013
 
 
Close
loading
Please Confirm
Close