Batch exit codes
Use this table to understand batch exit codes. Exit codes are the same for accumulated and non-accumulated batch.
| 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:
- Open
e1-server-batch.jarusing 7zip, WinRAR or JDK's JAR -xf. - Modify com/engageone/server/batch/dao/ExitCodeRetrievingDao.properties with the appropriate values.