【问题标题】:"It was not possible to retrieve ruleset information" when executing Business rules on Bluemix在 Bluemix 上执行业务规则时“无法检索规则集信息”
【发布时间】:2015-11-16 22:15:19
【问题描述】:

在执行部署在 Bluemix 上的业务规则服务上的规则时,我看到以下异常:

ilog.rules.res.session.IlrSessionCreationException:发生错误 创建规则会话时: com.ibm.rules.res.xu.internal.XUException:不可能 检索规则集信息:/MyRuleApp。 ilog.rules.res.persistence.IlrDAOException:路径错误 使用:“/MyRuleApp”。 ilog.rules.res.session.IlrJ2SESessionFactory.createStatefulSession(IlrJ2SESessionFactory.java:125) ilog.rules.res.session.impl.IlrSessionFactoryBase.createStatefulSession(IlrSessionFactoryBase.java:158) com.ibm.rules.htds.DecisionServiceController.getStatefulSessionBase(DecisionServiceController.java:163) com.ibm.rules.htds.servlet.RESTDecisionServiceServlet.onMessage(RESTDecisionServiceServlet.java:836) com.ibm.rules.htds.servlet.RESTDecisionServiceServlet.handleRequest(RESTDecisionServiceServlet.java:750)

【问题讨论】:

    标签: ibm-cloud business-rules


    【解决方案1】:

    我为规则服务的 REST POST 请求指定了一个不完整的 URL,它没有指定规则集的路径:

    https://brsv2-12345678.ng.bluemix.net/DecisionService/rest/MyRuleApp
    

    一旦我将 URL 更新为指向 RuleApp 版本和规则集版本,POST 请求就会成功执行:

    https://brsv2-12345678.ng.bluemix.net/DecisionService/rest/MyRuleApp/1.0/myrules/1.0
    

    【讨论】:

    • 该 URL 位于业务规则服务实例中的规则集的详细信息页面中。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-26
    • 2011-07-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多