ILOG JRules User Guide > Managing Rule Execution Server > Tasks > Monitoring Rule Execution Server Events > Finding the Cause of an Improper Rule Execution Server Configuration

Given the nature of log files it is sometimes not easy to establish the real cause of unexpected behavior from the Execution Unit (XU). It may be a bug, but the problem can also result from an improper XU configuration.

To help your investigation, use the shortest scenario or minimal application that raises the problem.

Then execute this application with the following settings:

  1. Turn on the full trace mode of the XU:
    1. Set the value of the XU configuration parameter traceLevel to ALL.
    2. Set the value of the XU configuration parameter traceAutoFlush to true.
  2. Activate the trace mode of all the rulesets by setting the value of the XU ruleset property ruleset.trace.enabled to true.
  3. Some traces can be activated at the XU session level. You can edit the ejb-jar.xml contained in jrules-bres-session-<app_server>.jar to change the traceEnabled property (on the stateless EJB). This property enables a trace mode to print the incoming message to a System.out:
<env-entry>
   <description>to enable trace on std output</description>
   <env-entry-name>traceEnabled</env-entry-name>
   <env-entry-type>java.lang.Boolean</env-entry-type>
   <env-entry-value>true</env-entry-value>
</env-entry>

If you are still not able to identify the cause of the error from the log messages, provide the following information to ILOG Customer Support:

Related Concepts

Rule Execution Server Management Model

Related Tasks

Changing the Default Behavior of the Execution Stack
Setting the Granularity of Log Messages
Setting a Logger to a J2SE Rule Session
Execution Events Monitoring
Management Events Monitoring
Receiving Notification of Rule Engine Events Using the API

Related Samples and Tutorials

How to Automate Ruleset Management