bench marking results for drools
by Raja Sekhar
Hi All,
For benchmark of drools rules.Any strategies are available?
I want to test my rules with 10,000 facts to 20,000,000 facts?
--
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do
it"
10 years, 9 months
master - [BZ-1069337] fix incremental compilation when multiple KieContainers use the same ReleaseId
by SrjTx
I stumbled on this commit today hoping it would fix the behaviour we have
been chasing for quite some time to no avail.
In our setup we have tow containers pointing to the same releaseID via
LATEST. The version is static at 1.0 using KIE. We have two drl rules. One
rule contains logic will fire from container1 and the other from container 2
- they use two independent entry-points and objects unique to the respective
entry-point.
The test is simple, we send objects into both entry-points that should fire
both rules - they do. We make changes to the rules via KIE wb, deploy the
project, the containers pickup the changes however at runtime only changes
to rule 1 seem to b "loaded". More specifically container 1 pickups up the
new deltas while container 2 never does.
We are running inside a JBoss container env. The workaround is to restart
jboss and then the latest are used. I have verified that the jar that is
produced in .m2 is correct. I even saw the changes in the kbase.cache file
inside our jar.
Any ideas? Is LATEST not handled even with the above fix?
Are we experiencing https://issues.jboss.org/browse/SWITCHYARD-1840???
Thanks
-J
-
--
View this message in context: http://drools.46999.n3.nabble.com/master-BZ-1069337-fix-incremental-compi...
Sent from the Drools: User forum mailing list archive at Nabble.com.
10 years, 9 months
Drools error log msg?
by Markus Schneider
Hi list,
I see the following error msg in my drools log but I don't know how to
interpret this.
Do I have a serious problem here?
Has anybody a clue?
Thanks in advance.
Cheers,
-markus
| Error ==>[AfterActivationFiredEvent: getActivation()=[Activation
rule=UpdateAlertRule, act#=37, salience=900, tuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
| Error ==>[BeforeActivationFiredEvent: getActivation()=[Activation
rule=EventRetractionRule, act#=36, salience=1, tuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
EventRetractionRule is processed.
| Error ==>[ObjectRetractedEventImpl: getFactHandle()=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event :
19], getOldObject()=rapideca.plugins.rbm.entity.Event : 19,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=2, entryPoint=EntryPoint::DEFAULT, factHandle=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event :
19], leftTuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
, originOffset=-1, propagationNumber=40, rule=[Rule
name=EventRetractionRule, agendaGroup=MAIN, salience=1, no-loop=true],
type=1]]
2014-02-25 08:59:03,524 [eventQueueReceiverJmsListenerContainer-1] INFO
log.RuleLogHandler - RuleLog with id: 38 was successfully saved.
| Error ==>[AfterActivationFiredEvent: getActivation()=[Activation
rule=EventRetractionRule, act#=36, salience=1, tuple=[fact
0:-1:184363445:184363445:19:null:null]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
10 years, 9 months
6.0.1.F Regex validation in DSL causes errors
by SrjTx
I have tried the following regexes.
{startTime:[01]?[0-9]|2[0-3]:[0-5][0-9]}
{startTime:[0-9]+} -- not a time of course, but thought I would give it
something easy
{startTime:"[0-9]+"}
just {startTime} works
When a regex is present , I get errors like:
[9] Unable to expand: Beer *List* Unknown BLone BLone 25-Feb-2014 startTime
25-Feb-2014 endTime
[ERR 102] Line 9:8 mismatched input '*List*' in rule "a"
DSL lookes like
[when]Beer *List* {x} {y} ... {startTime[0-9]+} ... =eval($foo.doThis("{x}",
"{y}", ..., "{startTime}, ..."))
--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Regex-validation-in-DSL-causes-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
10 years, 9 months
Drools 6.x - Stand alone Examples!
by mattmadhavan
Hello,
I am looking for a sample of Drools 6.x example. For some reason I cannot
resolve the Maven dependencies for the 6.x samples. I am good with 5.x.
*DO I need to add any maven repository for the 6.x artifacts? Looks like
they may not be present in the public Maven repo?*
For instance none of these artifacts resolve!
I have tried various 6.x.x [Sapshot, Final] version for : ${drools.version}
Thanks in advance!
Matt'M
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-Stand-alone-Examples-tp40282...
Sent from the Drools: User forum mailing list archive at Nabble.com.
10 years, 9 months
6.0.1.F Do dependent enumerations work as in docs 16.10.1?
by SrjTx
I am trying to do the dependent enumerations as covered in 16.10.1. Advanced
enumeration concepts
I set this up just like the example, and have tried a number of things to
get it to work, but now luck.
This works fine:
'MyBean.listType' : ['List', 'Regex']
'MyBean.val' : ['a','b']
This results in the val dropdown being grayed out.
This seems to follow the example in 16.10.1, but I must be missing something
subtle
'MyBean.listType' : ['List', 'Regex']
'MyBean.val[listType = List]' : ['a','b']
'MyBean.val[listType = Regex]' : ['c','d']
No errors, validation warnings, etc. are produced on the gui or in the jboss
log.
--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Do-dependent-enumerations-work-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
10 years, 9 months
Error Inserting events into drools fusion stream
by Ayush
Hi All,
I'm trying to implement drools fusion into my app. The scenario of my app is
as follows:
- Facts will be received continuosly.
- On receving fact I'm generating a new event and adding it into a new
working memory entry point stream. Also I'm adding facts into session coz
I'll be updating them.
- I need to apply rules on continuous stream of events.
- I've not used any camel + spring or pipeline. Are these mandatory to use?
For 1st fact everything works fine but when I receive 2nd fact I'm getting
Now when I'm trying to get entry point on receive of 2nd alarm I'm getting
org.drools.RuntimeDroolsException: Unexpected exception executing action
org.drools.reteoo.PropagationQueuingNode$PropagateAction@9ff411 Caused by:
java.util.concurrent.RejectedExecutionException.
On debug I found that the above exception is coming when I'm calling
session.getWorkingMemoryEntryPoint("MyStream"); Can anyone please help me
that how should I insert facts and events into working memory?
I'd invested ample amount of time searching for this but I'm empty handed.
Guys please help this is very urgent for me. Thanks in anticipation
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-event...
Sent from the Drools - User mailing list archive at Nabble.com.
10 years, 9 months