Vijay,
As near as I can tell, the behavior I noticed in the tables you sent me is showwing that a new JobInstance is being created when you run the job again. To help illustrate, I've pulled a snippet of code form our repository:
Code:
// Check if a job is restartable, if not, create and return a new job
if (jobConfiguration.isRestartable()) {
/*
* Find all jobs matching the runtime information.
*
* Always do this if the job is restartable, then if this method is
* transactional, and the isolation level is REPEATABLE_READ or
* better, another launcher trying to start the same job in another
* thread or process will block until this transaction has finished.
*/
jobs = jobDao.findJobs(jobIdentifier);
}
So, only one of two things can be happening, either restartable is false, or findjobs is not finding the originals job instance for some reason. Can you debug through it quickly to determine which is the case?
-Lucas