EntityManager em = Helpers.getNewEm();
this.job = em.find(JobInstance.class, job.getId());
this.node = em.find(Node.class, p.getDp().getNode().getId());
// Log
State resultStatus = State.SUBMITTED;
jqmlogger.debug("A loader/runner thread has just started for Job Instance " + job.getId() + " with " + job.getParameters().size()
+ " parameters. Jar is: " + job.getJd().getJarPath() + " - class is: " + job.getJd().getJavaClassName());
// Check file paths
File jarFile = new File(FilenameUtils.concat(new File(node.getRepo()).getAbsolutePath(), job.getJd().getJarPath()));