if (this.getLog() != null) this.getLog().warn("no job configuration found for managed job: " + currJob.get("id"));
continue;
}*/
// set up a transformer
TransformerFactory transfac = TransformerFactory.newInstance();
Transformer trans = transfac.newTransformer();
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
trans.setOutputProperty(OutputKeys.INDENT, "yes");
//create string from xml tree
StringWriter sw = new StringWriter();
StreamResult result = new StreamResult(sw);
DOMSource source = new DOMSource(jobDocument);
trans.transform(source, result);
String xmlString = sw.toString();
try {
// Job ist evtl. in vorigem Job-Lauf angelegt worden
if (currJob.get("job_name") != null && this.spooler.job(currJob.get("job_name").toString()) != null) {