{
log.error("can't find command {} for job in catalog {}", cmdName, catalogName);
return;
}
Context ctx = new SimpleContext();
// copy data, else the jobs context could get manipluated by the commands
ctx.putAll((Map) jobData.get(SchedulerConsts.CONFIG_JOB_PARAMS));
JobDefinition jd = null;
try
{
jd = jobDefinitionManager.getJobDefinitionByName(jobName);