Drools 5.4
by maxynandy
if we have guvnor,we have a additional context (Url for Guvnor related
modules).
We would like to have a Single Context for our application.
1)Let me know whether any risk is seen in merging the application war and
guvnor war.
2)Alternatives for loading the rules dynamically other than using Guvnor.
Thanks,
maxynandy
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-tp4029407.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 10 months
Question about length windows
by Demian Calcaprina
Hi Guys, I have one question about how lenght windows will work.
I have a rule like this. Basically, it is a "crosses" function, where the
value of my object crosses a value.
rule "mytest"
dialect "mvel"
when
t2_1 : Tick( value < 102.352 ) over window:length (1)
t1_1 : Tick( this before t2_1 , value >= 102.352 ) over window:length (2)
then
//DO SOMETHING
end
23:51:32,150 INFO [org.drools.core.audit.WorkingMemoryConsoleLogger]
(Camel (camel-1) thread #2 - JmsConsumer[]) ACTIVATION FIRED rule:mytest
activationId:berarrr_1 [0, 27, 26] declarations: t2_1=Tick [value=102.351,
tickTime=Fri May 02 05:51:31 ART 2014](27); t1_1=Tick [value=102.352,
tickTime=Fri May 02 05:51:12 ART 2014](26)
23:53:30,560 INFO [org.drools.core.audit.WorkingMemoryConsoleLogger]
(Camel (camel-1) thread #2 - JmsConsumer[]) ACTIVATION CREATED rule:mytest
activationId:berarrr_1 [0, 146, 26] declarations: t2_1=Tick [value=102.349,
tickTime=Fri May 02 05:53:30 ART 2014](146); t1_1=Tick [value=102.352,
tickTime=Fri May 02 05:51:12 ART 2014](26)
If you see, the first activation, the
window:length(1), matched the object 27
window:length(2), matched the object 26
Then, after 2 minutes and some Ticks insertes in the WM
window:length(1), matched the object 146
but window:length(2), still matched the object 26
I would expect, that, as object 26 was the first one to be inserted, then
it is outside the window:length(2).
Is my understanding correct? Am I making something wrong? I am using Drools
6.
Thanks!
Demian
11 years, 10 months
Guvnor 5.3.0 crashing OOM JoinNodeLeftTuple
by JensAlejos@OAKCORPx4287
Hello,
Our Guvnor 5.3.0 is generating an OOM and crashing the server.
At the time of the crash we could see lots objects holding a lot of stuff in memory, most notably 23,878,166 org.drools.reteoo.JoinNodeLeftTuple, each of which takes 72 bytes. For 1.7 GB of heap.
I believe the real issue is something is going wrong in guvnor that it is creating way to many of these org.drools.reteoo.JoinNodeLeftTuple objects.
Do you guys have had this issue? Is this because of a Guvnor guided editor bug?
Thanks
NOTICE: This message, including any attachments, is intended for the use of the party to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply e-mail, and delete the original and any copies of this message. It is the sole responsibility of the recipient to ensure that this message and any attachments are virus free.
11 years, 10 months
Rule Orchestration
by swaroop
Hi,
Iam using Drools 5.6 , developing rules on guvnor. I have a scenario where i
have two decision tables , One is supposed to execute after the other.
I want to ensure that DT Two should be executed only after all the
executions in DT one happen . Because IN DT Two the list is being checked if
set of values are not present, currently when i have two Customer objects in
Working memory each having matching rows in Decision Table One .Once the
match is found for a customer object then as per the action a Product fact
is inserted which leads to fire the DT Two and the list is evaluated if set
of d are not present , the rule is fired in DT Two as the list is not
populated for the other customer object and matching rows which is being
checked in DT Two eval list column. Which is not desired . I tried with
salience , ruleflow group with not much of a help
Is there a way to can handle this
<http://drools.46999.n3.nabble.com/file/n4029371/DTIssue.png>
*Decision Table One*
Condition Condition Condition Action
c:Customer
a==$param b in ($param) c == $param "list(Global
Variable).add(d);
insert(Product())"
*Decision Table Two*
Condition Condition Condition
Action
p:Product
a==$param eval(list doesnt not contain ($param)) c == $param
response.setMessage($param);
Regards
Oggu
--
View this message in context: http://drools.46999.n3.nabble.com/Rule-Orchestration-tp4029371.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 10 months