Drool with Wildfly在负载下没有响应 [英] Drool with Wildfly is not responding under Load

查看:95
本文介绍了Drool with Wildfly在负载下没有响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用Wildfly 15.0(jboss)服务器版本设置了Drool规则引擎7.15。通常情况下,它工作正常。但是,当规则引擎的负载更多时,即同时发出更多请求。它停止响应,直到再次部署规则。
这可能是Wildfly容器的问题。在这方面可以帮助任何人。

I have set up Drool rule Engine 7.15 with Wildfly 15.0(jboss) server version. Normally it works fine. But when the Load is more to the rule Engine i.e more request concurrently come. It stops responding until the rule is deployed again. This could be the issue with the container of wildfly. Can any one help inthis regard.

-ram

推荐答案

!此问题已解决(随后:在带有Java的Drools 6.2中禁用JIT 8

!! This issues is resolved (Followed: Disable JIT in Drools 6.2 with Java 8 )

1)添加jvm属性(-Ddrools.jittingThreshold = -1)以在规则执行期间停止JIT编译器。
2)此外,我们看到'.contains()'正在创建问题并将其更改为'contains'也可以在.drt文件中解决此问题。

1) After adding the jvm property(-Ddrools.jittingThreshold=-1) to stop JIT Compiler during rule Execution. 2) Moreover, we see that '.contains()' was creating the issue and changing it to ' contains ' also solves this issue inside .drt file.

(((( @ {pincode})。split(,))。contains($ rm.getPincode())|| 。equals( @ {pincode}))),
更改为:-
(((( @ {pincode})。split(,))包含($ rm.getPincode())||
。equals( @ {pincode})),

((("@{pincode}").split(",")).contains($rm.getPincode()) || "".equals("@{pincode}")), changed to :- ((("@{pincode}").split(",")) contains ($rm.getPincode()) || "".equals("@{pincode}")),

这篇关于Drool with Wildfly在负载下没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆