} catch (URISyntaxException e) {
logger.warn("malformed LBAddress (" + userLBAddress + "), using default");
}
}
Jobid lbjob = new Jobid(lb.getHost(), lb.getPort());
logger.info(job.getId() + " assigned gridJobId " + lbjob.toString());
/*
* TODO: remove this code, and assign the grid jobid to this job
* really
*/
lbjob = new Jobid(lb.getHost(), lb.getPort(), job.getId());
logger.info("... but using instead " + lbjob.toString());
//LBCredentials cred = new LBCredentials(job.getDelegationProxyCertPath(), "/etc/grid-security/certificates");
//ContextDirect ctxd = new ContextDirect(lb.getHost(), lb.getPort());
//ctxd.setCredentials(cred);
//ctxd.setJobid(lbjob);