try {
JobDefinitionDocument jsdl = JSDLGenerator.configureRemoteJob(invocationContext);
log.debug("JSDL = " + jsdl.toString());
job = new BESJob();
job.setJobDoc(jsdl);
job.setFactory(unicoreHost);
// listener = new JobSubmissionListener(job, invocationContext);
// job.addListener(listener);