Batch exit codes

Use this table to understand batch exit codes. Exit codes are the same for accumulated and non-accumulated batch.

This table shows the mapping of exit codes to the error details:
Error details Exit code value
Some document level errors (error threshold not reached) 1
DocumentInfoReachedThresholdLimitException 2
UndefinedVariableException 3
MissingPropertyException 4
ConfigFileNotFoundException 5
CLIInputParseException 6
CannotCreateOutputFileException 7
DataAccessException 8
UnableToUpdateDeliveryItemException 9
DomainNameNotFoundException 10
ChannelNameNotFoundException 11
NoChannelsAvailableException 12
Doc1LicenseDaoException 13
DeliveryOptionNotFoundException 14
NoTemplateDefinedException 15
NoDeliveryOptionDefinedException 16
FailedToRetrieveTemplateInformationException 17
Others/generic 100

To change exit code values:

  1. Open e1-server-batch.jar using 7zip, WinRAR or JDK's JAR -xf.
  2. Modify com/engageone/server/batch/dao/ExitCodeRetrievingDao.properties with the appropriate values.