Batch error handling
Error handling for accumulated and non-accumulated batch have some differences.
Error handling (accumulated and non-accumulated batch)
- Any composition errors are reported to the log file
and an incident archive, which are located at
<active-drive>/incident-archive/dca.
- If the errors are at the document level, the program will still continue until the threshold is reached. This is defined in the configuration framework file see Batch threshold settings.
Additionally, error occurrences for non-accumulated batch are handled as follows:
- If the errors are at the document level, the program will still continue until the threshold that is defined in the configuration framework file is reached see Batch threshold settings.
- If the error is non-document level, the batch process will fail.
- If there are errors in the first step, a log file
containing the error information and resource (answer file, etc.) will be copied
to the error directory
<Batch bundle installation folder>
. - When there is an error in composition, DCA produces an incident archive.
- The log file will contain all information including the errors.
- An Event Monitor NaBatchJobFailedEvent is sent only when the batch job failed.
- Standard logging (commons-logging) to a file will be used to track events and errors in the application.