Setting up the displaying the execution trace sample
You use the Samples Console to set up this sample.
Procedure
- Switch to the Samples Console perspective.
- In the Samples Commands view, browse
to Samples Commands > Rule
Execution Server > Displaying the execution trace. Tip: To open the Samples Commands view, click View sample commands in the Samples and Tutorials view.
- Double-click the deploy.ruleapp command to do the following tasks:
- Compile the class that uses the REST API.
- Use the Rule Designer build automation tool to generate and deploy two RuleApps and their associated XOM to the Rule Execution Server. One ruleset uses the decision engine, and the other one uses the classic rule engine.
- To see the results, open a web browser and type the following URL to start the Rule Execution Server console: http://localhost:<PORT>/res
- Log on to the Rule Execution Server console.
- User name: resAdmin
- Password: resAdmin
- Click the Explorer tab. In the RuleApps View, you can see the newly added trace_rules_de and trace_rules_cre RuleApps.
- Click the trace_rules_de RuleApp, and then the trace_rules_deRuleset ruleset. Notice that the ruleset uses the decision engine and has a managed XOM called trace-xom. Similarly, the trace_rules_creRuleset ruleset in the trace_rules_cre RuleApp uses the classic rule engine.
Parent topic: Displaying the execution trace