Excluding the XU and the RuleSession class from the managed XOM
To avoid some JAR files from being automatically exported, you must clear them from the exported entries of your XOM project so that they are not included in the managed XOM when the child ruleset is executed.
About this task
Because the XU and the RuleSession class are already in the class path of the application, they must not be put into the managed XOM.
The jrules-res-execution.jar and jrules-res-java.jar files must not be added to the managed XOM when the child ruleset is executed. To avoid these compressed files from being automatically exported to Rule Execution Server, you must clear them from the exported entries of the XOM project.
Procedure
- In the Rule Explorer view in Rule Designer, right-click the XOM project and select Properties.
- In the Properties window, select Java Build Path in the left pane.
- Click the Order and Export tab.
- Clear the rule session JAR files, and then click OK.