You can diagnose and resolve runtime errors for a business rule data connection.
If a ruleset parameter is missing from a business object, or a business object required to evaluate a business rule is not available, then the event runtime cannot set a value for the parameter during execution of the ruleset, and an error is logged.
When the event runtime is processing an event project that invokes a ruleset, the event runtime uses the rule parameters that are available from the event. If required parameters are missing, the event is not processed, although the ruleset is still executed. If Decision Server Rules must obtain the missing parameter to evaluate a rule, then an error is logged by Rule Execution Server. In addition, an error is logged by the rules runtime. You can troubleshoot the error by identifying missing parameters as the cause of the error, then modifying the data connection information and updating the business rule data connection.
The following errors indicate that the event runtime encountered a problem while invoking the ruleset. To resolve the errors, modify the rules project, then update the existing business rule data connection.
This error indicates mismatched parameter types or missing constructor parameters:
00000062 JRulesManager W BEER3210W: An error has occurred when invoking ruleset /miniloanruleapp/miniloanrules
[{loan=<miniloan.Loan>
<yearlyInterestRate><double xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">84.57926749357746</double>
</yearlyInterestRate>
<duration><int xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">47</int>
</duration>
<amount><int xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">70</int></amount><rejectMessages>
<arrayList xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
<string>String_rejectMessages_55.0</string>
</arrayList></rejectMessages></miniloan.Loan>, borrower=<miniloan.Borrower>
<yearlyIncome><int xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">19</int>
</yearlyIncome>
<name><string xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">String_bName_7.0</string>
</name></miniloan.Borrower>}] on the Rule Execution Server.
Reason: An error occurred while the rule session was called:
com.ibm.rules.res.xu.internal.XUException: XU Client error
ilog.rules.res.xu.IlrLocalizedResourceException: The interaction ruleEngine.setBOMParameters has failed
javax.resource.ResourceException: java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
BEER3204W: Could not evaluate the ruleset in the business object loanrules_borrower.
Reason: Failed to retrieve the parameter signature of ruleset /loanruleapp/loanrules.
An error occurred while the rule session was called:
com.ibm.rules.res.xu.internal.XUException: XU Client error
ilog.rules.res.xu.IlrLocalizedResourceException: The interaction plugin.factoryGetRulesetSignature has failed
javax.resource.ResourceException: com.ibm.rules.res.xu.internal.XUException:
GBRXU0435E: Failed to create engine manager.
com.ibm.rules.res.xu.internal.XUException: Failed to create engine manager.
com.ibm.rules.res.xu.internal.XUException: Ruleset parsing work failed.
com.ibm.rules.res.xu.engine.rce.internal.RulesetParseException:
Ruleset /loanruleapp/1.0/loanrules/1.0 parsing failed Problem occurred loading translation:
Error when translating parameter "borrower": Cannot translate class "loan.Borrower"
BEER3204W: Could not evaluate the ruleset in the business object CreditCardRules_transaction.
Reason: Failed to retrieve the parameter signature of ruleset /CreditCardRuleApp/CreditCardRules.
An error occurred while the rule session was called:
com.ibm.rules.res.xu.internal.XUException: XU Client error
ilog.rules.res.xu.IlrLocalizedResourceException: The interaction plugin.factoryGetRulesetSignature has failed
javax.resource.ResourceException: BOM support has not been enabled or BOM is missing for ruleset: /CreditCardRuleApp/1.0/CreditCardRules/1.0