WebSphere Commerce Search utility exit codes

The search index utilities (configSearchReplication, crawler, di-buildindex, di-calculateprice, di-parallel-process, di-preprocess, indexprop, migrateSearchFacet, migrateSolrSearch, setupSearchIndex) return exit codes when the utility is run. The following tables describe the exit codes that are common to all search utilities and the codes that are specific to particular utilities.

WebSphere Commerce Search utility exit codes

Exit code Utility Description
0 All utilities The utility ran successfully.
1 All utilities An error occurred. Check the stack trace for more information.
2 All utilities Mandatory parameters are missing. The utility displays the parameters that are missing in the request.
3 All utilities The utility did not run because another process is running. Ensure that a search utility or scheduled job is not running.
7 indexprop The index propagation for the core contains a different version number than the master index. The replicable index version number is different from the index version number for the master index.
Note: This exit code does not indicate a failure. The replication succeeds, with the exit code produced as a warning.
10 All utilities The database connection is not established. Possible errors are an invalid user ID and password combination, or that the database server is not running.
20 di-preprocess The specified directory for the preprocessing XML file is not found.
21 All utilities The specified value is not a valid. The utility displays the invalid parameters for the request.
22 di-buildindex The inventory index is not set up before an inventory index build. Ensure that the Inventory index is set up correctly.
50 di-preprocess The preprocessing is completed successfully, with no delta entries to process for the CatalogEntry and CatalogGroup index types. A delta index build is not required in this case. This exit code occurs because the skipDeltaNoEntry parameter is set to true.
51 di-preprocess The preprocessing is completed successfully, with no delta entries to process for the CatalogEntry index type. A delta index build is required for the CatalogGroup index type in this case. This exit code occurs because the skipDeltaNoEntry parameter is set to true.
52 di-preprocess The preprocessing is completed successfully, with no delta entries to process for the CatalogGroup index type. A delta index build is required for the CatalogEntry index type in this case. This exit code occurs because the skipDeltaNoEntry parameter is set to true.