Hi,
i am using Guvnor-5.2.0 . Through a simple java client class i wanted to
add
a rule at runtime.
below is the snippet of java code i am using to add a rule.
KnowledgeBase knowledgeBase = createKnowledgeBase();
session = knowledgeBase.newStatefulKnowledgeSession();
logger = KnowledgeRuntimeLog
A few random observations.
A recent experiment has shown that insert takes 0.82 seconds for
10 facts with one very simple rule with a CPU G620 @ 2.60GHz and:
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mo
Anyway to get a scrubbed rule ? I will throw it through a debug
instance. Also what jdk/jre are you running on?
On Tue, Mar 6, 2012 at 10:50 PM, pf_miles wrote:
> Yes, the line:
> Helper.containsAny(offerSubject, ((Set)colMap.get("_set_212")))
> is part of my rule's LHS code. It acts as a normal
Yes, the line:
Helper.containsAny(offerSubject, ((Set)colMap.get("_set_212")))
is part of my rule's LHS code. It acts as a normal predicate:
Caused by: org.drools.RuntimeDroolsException: Exception executing predicate
Helper.containsAny(offerSubject, ((Set)colMap.get("_set_35")))
at
org.dr
I am no drools expert but I am working a few mvel bugs in free time. I
am still sorting through the code.
I will try to work in test case but I don't know where
the line
Helper.containsAny(offerSubject, ((Set)colMap.get("_set_212"))) is
coming from.
This isn't in one of your rules is it?
The i
hi all,
the exception below is usually thrown when the system is busy(usually 9-10
am everyday);
The rules runs perfectly when unit test or any other time when the system
is not very busy(like 22:00 - 4:00 every day);
Our system processes 1300 pieces of data each day, with
4-5 java.lang.ArrayIn
I am also seeing an "unexpected global" in working code when built in the
"buidling using code" paradigm when moved to use changesets and
knowledgeagents. I also see this problem reported on another, non-Drools
site.
My global is a simple java.util.ArrayList and I can see it in the
debugger i
Many of the systems use large amounts of data or large numbers of rules by
applying indices inside rules or by processing transactions that could be
batched - which really increases the number of rules or that that are seen.
One of my customers used indices in rules creating rulesets of ~ 200,000
Don't worry - all Accounts are there at the end.
It is a basic (!) feature of Drools (and similar systems) to execute
matching rules only once, and then again only after one (or more)
contributing facts of the rule's activation have changed, or new data
has appeared, etc.
Please consider reading
Hi,
I'm very new to drools and am trying to understand how "facts" are managed
by the knowledge session. I've been experimenting with a simple example
using drools 5.3.0. I created a simple Account class that has a single
"balance" attribute. My rule tests the balance and prints a message if it
Only 2 more days to the Drools & jBPM London event:
http://blog.athico.com/2012/02/drools-jbpm-event-london-8th-march-2012.html
Mark
On 21/02/2012 04:53, Mark Proctor wrote:
http://blog.athico.com/2012/02/drools-jbpm-event-london-8th-march-2012.html
11 matches
Mail list logo