* @see ca.eandb.jdcp.remote.JobService#submitJob(ca.eandb.util.rmi.Serialized, java.util.UUID)
*/
public void submitJob(Serialized<ParallelizableJob> job, UUID jobId)
throws IllegalArgumentException, SecurityException,
ClassNotFoundException, JobExecutionException {
JobService service = null;
while (true) {
try {
service = getJobService(service);
service.submitJob(job, jobId);
return;
} catch (RemoteException e) {
logger.error("Lost connection", e);
}
}