Closed sreeni-b closed 7 years ago
@sreenivasb1988 thanks. In the mean time, if youre running DAM Asset Update WF, i recommend you use anything but the non-Transient AEM WF. In latest of AEM Commons Transient is supported (though because its managed as jobs the status reporting isnt great).
IMO Single-threaded Synthetic is going to be the overall "best" (fast, stable, errors are "real" errors). Synthetic Multi-threaded is 2nd best, but on huge sets it can sometimes fail on payloads and you have to re-run them at the end.
AEM Transient WF is ok, but all the async-checking plumbing is inherently less predictable/stable than the serial-ness of Synthetic WF.
@sreenivasb1988 also, what version of AEM and what version of ACS Commons are you using?
AEM version is 6.2 and ACS Commons version is 3.3.0
@davidjgonzalez - I used ACS Commons 3.4.0 and used Syntetic Workflow (Single Threaded) and it worked fine. Thanks for your help :)
@sreenivasb1988 np - thanks for reporting the NPE though, it shouldnt happen and/or be handled more gracefully.
In addition to this NPE not being gracefully handled, there's a bug in the error handling.
} catch (Exception e) {
log.error("Error processing periodic execution: {}", e);
unscheduleJob(scheduler, jobName, configResource, workspace);
} finally {
You can tell that block of code runs, because the log statement is present in the reported error here. I experienced the same error.
The block here I believe should be stopping the job, otherwise the job is left perpetually in a "RUNNING" status when in actuality it is no longer running.
Perhaps the code simply needs to be:
} catch (Exception e) {
log.error("Error processing periodic execution: {}", e);
unscheduleJob(scheduler, jobName, configResource, workspace);
stop(workspace);
} finally {
Thanks for the fix David 👍
Hi,
I ran the Bulk Workflow Manager on some of the assets of mixed mime types. While processing a PDF file, I got the following error -
Please look into this.
Thanks Sreenivas