Exporting the cep.xml event rules file

For Event Manager to execute the complex event processing rules, you must export the cep.xml event rules file that you configured in the Eclipse-basedtm Rule Author tool.

Before you begin

The Rule Author tool only works on a client with a Microsoft Windows operating system and requires Java version 1.5 or higher.

About this task

  • If the CEP engine is already up and running when you export the event rules file, you must reload the file on the IBM WebSphere server for the changes in the new exported cep.xml event rules file to take effect.

Procedure

  1. In the Rule Author tool, select File > Export.
  2. Select Event Processing Definition and click Next.
  3. Select the CEP project.
  4. Set the event processing definition file to the new cep.xml event rules file. The file is typically located at product_installation_directory\ibm-home\gem\cep.xml.
  5. Click Finish. If the system warns you of overwriting an existing cep.xml file, click OK.
  6. Optional: If the IBM WebSphere server is currently running, reload the CEP rules. When the CEP engine starts on the product application server, CEP loads the current cep.xml event rules file. If the WebSphere server is running when you export the file, the changes do not take effect until you reload the new cep.xml file.
    1. Open a Web browser window and navigate to the WebSphere server. For example, http://localhost:13510/gem.
    2. Click Reload Rules.
      Note: The WebSphere server does not visibly acknowledge that the rules have been reloaded.