// Get the Stdouts and StdErrs
String timeStampedServiceName = GFacUtils.createUniqueNameForService(jobExecutionContext.getServiceName());
File localStdOutFile = File.createTempFile(timeStampedServiceName, "stdout");
File localStdErrFile = File.createTempFile(timeStampedServiceName, "stderr");
SCPFileTransfer fileTransfer = securityContext.getSSHClient().newSCPFileTransfer();
fileTransfer.download(app.getStandardOutput(), localStdOutFile.getAbsolutePath());
fileTransfer.download(app.getStandardError(), localStdErrFile.getAbsolutePath());
String stdOutStr = GFacUtils.readFileToString(localStdOutFile.getAbsolutePath());
String stdErrStr = GFacUtils.readFileToString(localStdErrFile.getAbsolutePath());
Map<String, ActualParameter> stringMap = new HashMap<String, ActualParameter>();