Hi,
we are planning to deploy spring batch in a webserver environment.
on weblogic in cluster environment. if one job is in running and the one node of cluster fails in which job was running than what will happen ? as cluster will send request to another active node.
I think JobExecutionAlreadyRunningException will come ?
I don't want this exception to come I want my job should restart from where it left ? what could be the solution in this situation ?
is there any way to determine failover ? and can i write a program so that it will set status of job properly in this situation so that my job will restart automaticaly as another node will process the request?


Reply With Quote