Tested with latest nightly b82.
1) Started a long running Job.
2) Killed the Job Process(here i killed Glassfish Process). Now the Job Execution killed/terminated halfway with status (STARTED)
Is getRunningExecutions() always returns the Job executions with state STARTED or really returns the actual running jobs?
If i try to abandon the halfway terminated job it says javax.batch.operations.JobExecutionIsRunningException
If i try to stop using joboperator.stop() the halfway terminated job then it says javax.batch.operations.JobExecutionNotRunningException
The user might actually get confused because of contradictory exceptions in this exceptional case