Error Handling

The IBM® Product Master history manager supports error handling.

The history manager supports handling of two types of errors:

  • Validation errors - These errors are in the history_subscriptions.xml file. The server will not start if there are validation errors. These errors are displayed on the console. Examples of validation errors include incorrect XML, incorrect tags, missing tags, missing attributes, and unsupported object types.
  • Runtime errors - These errors are detected when the server is running, and logged in the error log files. The subscription policies that have these errors are ignored. Errors in implementing a custom filter is an example of this type of errors.

Example

This is an example of a validation error message that is displayed on the console when the server is unable to read the history_subscription.xml file.

The XML file for history subscriptions is either missing or is not in valid XML format.
Verify that the history_subscription.xml exist under the install_dir/etc/default and has valid XML structure.