IBM Support

Missing "META-INF/default_ra.xml" when executing a rules application in a J2SE environment

Troubleshooting


Problem

When executing a J2SE application which uses rules, the following exception is seen: ilog.rules.res.session.IlrSessionCreationException: An error occurred while the rule session was created.: ilog.rules.res.session.IlrSessionCreationException: ilog.rules.res.session, Message code: 10044 ilog.rules.res.util.IlrRemoteException: Missing "META-INF/default_ra.xml"

Cause

This error usually occurs if jrules-res-execution.jar is not packaged in your J2SE application.

Resolving The Problem


When invoking rules in a J2SE environment, make sure you package executionserver\lib\jrules-res-execution.jar in your application, as detailed in the documentation under WebSphere ILOG JRules BRMS V7.1 > Rule Execution Server > Introducing Rule Execution Server > Rule Execution Server basics > Execution > Execution patterns

For detailed information on packaging applications for JRules, you can refer to WebSphere ILOG JRules Execution Server Packaging Applications.

Note: If this error occurs when using the JSR94 implementation in Rule Execution Server (RES), refer to the following document: Configuration of the JSR94 environment type and res_jsr94.conf file.

[{"Product":{"code":"SS6MTS","label":"WebSphere ILOG JRules"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modules:Execution Server (BRES \/ RES)","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21469302