无法完成评估:未针对releaseId初始化规则引擎[hybris-rules:promotions:1.0.0

2020-09-14 01:54发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


当我启动Hybris并将产品添加到购物车时

[[32mINFO [hybrisHTTP7] [10.2.23.82] [AbstractOrderRaoPopulator]订单折扣列表为空,跳过了转换INFO | jvm 1 | 主| 2017/04/07 17:13:37.520 | ^ [[m ^ [[1; 31mERROR [hybrisHTTP7] [10.2.23.82] [DefaultCommerceRuleEngineService]规则评估失败,并显示消息"无法完成评估:未针对releaseId初始化规则引擎[hybris-rules:promotions:1.0.0.62] 对于事实:[de.hybris.platform.ruleengineservices.rao.CategoryRAO @ b69399f2,de.hybris.platform.ruleengineservices.rao.CategoryRAO @ 50f70ad,de.hybris.platform.ruleengineservices.rao.DeliveryMode RAO @ c5150cf1 hybris.platform.ruleengineservices.rao.UserGroupRAO@c646a5e2,de.hybris.platform.ruleengineservices.rao.UserGroupRAO@4268e2ac,de.hybris.platform.ruleengineservices.rao.CartRAO@b230ed75,de.hybris.plats.raleengineservices.rao .CustomerSupportRAO @ 11287,de.hybris.platform.ruleengineservices.rao.UserGroupRAO @ b7aa39cc,de.hybris.platform.ruleengineservices.rao.UserGroupRAO @ de4392c4,de.hybris.platform.ruleengineservices.rao.CategoryRAO @ 9cde98 .plat form.ruleengineservices.rao.DeliveryModeRAO @ 15eca,de.hybris.platform.ruleengineservices.rao。 OrderEntryRAO @ b231485e,de.hybris.platform.ruleengineservices.rao.UserRAO@af9941c8,de.hybris.platform.ruleengineservices.rao.ProductRAO@1b312c20,de.hybris.platform.ruleengineservices.rao.UserGroupRAO@80ahybris.d platform.ruleengineservices.rao.CategoryRAO @ deac0370,de.hybris.platform.ruleengineservices.rao.WebsiteGroupRAO @ 4c5733e8,de.hybris.platform.ruleengineservices.rao.R uleEngineResultRAO @ 5b5f0687]。 信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | ^ [[m.hybris.platform.ruleengine.exception.DroolsInitializationException:无法完成评估:未针对releaseId初始化规则引擎[hybris-rules:promotions:1.0.0 .62] INFO | jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.lambda $ 1(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?] jvm 1 | 主| 2017/04/07 17:13:37.520 | 在java.util.Optional.orElseThrow(Optional.java:290)〜[?:1.8.0_121]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.evaluate(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?] 17763,1 99%信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在java.util.Optional.orElseThrow(Optional.java:290)〜[?:1.8.0_121]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.evaluate(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.droolsruleengineservices.impl.DefaultCommerceRuleEngineService.evaluate(DefaultCommerceRuleEngineService.java:141)[droolsruleengineservicesserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.evaluate(DefaultPromotionEngineService.java:156)上[promotionengineservicesserver .jar :?] jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotionsNotThreadSafe(DefaultPromotionEngineService.java:315)上[promotio nengineservicesserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:304)上[promotionengineservic esserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:338)上[promotionengineservic esserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartCalculationStrategy.calculateCart(DefaultCommerceCartCalculationStrategy.java:77)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy.addToCart(DefaultCommerceAddToCartStrategy.java:90)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService.addToCart(DefaultCommerceCartService.java:123)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在com.yxt.b2b.facades.cart.impl.YxtCartFacadeImpl.addToCart(YxtCartFacadeImpl.java:97)[classes/:?]

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


当我启动Hybris并将产品添加到购物车时

[[32mINFO [hybrisHTTP7] [10.2.23.82] [AbstractOrderRaoPopulator]订单折扣列表为空,跳过了转换INFO | jvm 1 | 主| 2017/04/07 17:13:37.520 | ^ [[m ^ [[1; 31mERROR [hybrisHTTP7] [10.2.23.82] [DefaultCommerceRuleEngineService]规则评估失败,并显示消息"无法完成评估:未针对releaseId初始化规则引擎[hybris-rules:promotions:1.0.0.62] 对于事实:[de.hybris.platform.ruleengineservices.rao.CategoryRAO @ b69399f2,de.hybris.platform.ruleengineservices.rao.CategoryRAO @ 50f70ad,de.hybris.platform.ruleengineservices.rao.DeliveryMode RAO @ c5150cf1 hybris.platform.ruleengineservices.rao.UserGroupRAO@c646a5e2,de.hybris.platform.ruleengineservices.rao.UserGroupRAO@4268e2ac,de.hybris.platform.ruleengineservices.rao.CartRAO@b230ed75,de.hybris.plats.raleengineservices.rao .CustomerSupportRAO @ 11287,de.hybris.platform.ruleengineservices.rao.UserGroupRAO @ b7aa39cc,de.hybris.platform.ruleengineservices.rao.UserGroupRAO @ de4392c4,de.hybris.platform.ruleengineservices.rao.CategoryRAO @ 9cde98 .plat form.ruleengineservices.rao.DeliveryModeRAO @ 15eca,de.hybris.platform.ruleengineservices.rao。 OrderEntryRAO @ b231485e,de.hybris.platform.ruleengineservices.rao.UserRAO@af9941c8,de.hybris.platform.ruleengineservices.rao.ProductRAO@1b312c20,de.hybris.platform.ruleengineservices.rao.UserGroupRAO@80ahybris.d platform.ruleengineservices.rao.CategoryRAO @ deac0370,de.hybris.platform.ruleengineservices.rao.WebsiteGroupRAO @ 4c5733e8,de.hybris.platform.ruleengineservices.rao.R uleEngineResultRAO @ 5b5f0687]。 信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | ^ [[m.hybris.platform.ruleengine.exception.DroolsInitializationException:无法完成评估:未针对releaseId初始化规则引擎[hybris-rules:promotions:1.0.0 .62] INFO | jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.lambda $ 1(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?] jvm 1 | 主| 2017/04/07 17:13:37.520 | 在java.util.Optional.orElseThrow(Optional.java:290)〜[?:1.8.0_121]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.evaluate(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?] 17763,1 99%信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在java.util.Optional.orElseThrow(Optional.java:290)〜[?:1.8.0_121]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService.evaluate(DefaultPlatformRuleEngineService.java:177)〜[ruleengineserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.droolsruleengineservices.impl.DefaultCommerceRuleEngineService.evaluate(DefaultCommerceRuleEngineService.java:141)[droolsruleengineservicesserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.evaluate(DefaultPromotionEngineService.java:156)上[promotionengineservicesserver .jar :?] jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotionsNotThreadSafe(DefaultPromotionEngineService.java:315)上[promotio nengineservicesserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:304)上[promotionengineservic esserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:338)上[promotionengineservic esserver.jar :?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartCalculationStrategy.calculateCart(DefaultCommerceCartCalculationStrategy.java:77)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy.addToCart(DefaultCommerceAddToCartStrategy.java:90)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService.addToCart(DefaultCommerceCartService.java:123)[classes/:?]信息| jvm 1 | 主| 2017/04/07 17:13:37.520 | 在com.yxt.b2b.facades.cart.impl.YxtCartFacadeImpl.addToCart(YxtCartFacadeImpl.java:97)[classes/:?]

付费偷看设置
发送
10条回答
Climb_Ma
1楼-- · 2020-09-14 02:54

另一个解决方法是创建一个beanshell:

  import de.hybris.platform.core.Registry;
      导入de.hybris.platform.servicelayer.config.ConfigurationService;
      导入de.hybris.platform.ruleengine.RuleEngineService;


      ConfigurationService configurationService =(ConfigurationService)Registry.getApplicationContext()。getBean(" configurationService");
      RuleEngineService ruleEngineService =(RuleEngineService)Registry.getApplicationContext()。getBean(" platformRuleEngineService");


      if(configurationService.getConfiguration()。getBoolean(" ruleengine.engine.active",true)){
                  ruleEngineService.initializeAllRulesModules();
          }

  

我们在每次启动时自动执行此beanshell

N-Moskvin
2楼-- · 2020-09-14 02:49

嗨,

我遇到同样的问题。 你有解决办法吗?

歪着头看世界
3楼-- · 2020-09-14 02:42

陶,您好

登录到后台,导航至"营销"->"促销规则",然后使用列表顶部的按钮重新发布所有促销信息

欢呼声,Evgeny

SAP小黑
4楼-- · 2020-09-14 02:33

嗨,

您找到任何解决方案吗? 我也面临着同样的情况。

软件心理学工程师
5楼-- · 2020-09-14 02:52

SAP支持中出现的问题: https://launchpad.support .sap.com/#/incident/pointer/002075129400005760542017 :在Hybris服务器重启后初始化KieModule

提出的解决方案是迁移到hybris 6.5。

我们仍然遇到问题,因为该过程更快但仍然太长。 我们正在等待新的补丁。

空代码
6楼-- · 2020-09-14 02:50

好的,一旦SAP为我们的问题提供了有效的答案,我将立即通知您。 谢谢。

一周热门 更多>