Hello.
Some time ago I wrote an e-mail with question how to parse and load a
large group of rules in an efficient way. I've made a lot of tests and I
have couple conclusions. Is there a possibility that someone could
confirm (if I'm right) or deny (if I'm wrong) my conclusions, and
explain wh
Hello.
I'm loading a lot of rules during starting of JBoss. Loading of rules is
made by such scenario:
1) Read first part of rules from database (about 4000 rules)
2) Send rules to Drools bean
3) Parse rules (convert string rules into Drools format) by
KnowledgeBuilder - one package (pkg1) wit
packages.
You should also consider using Guvnor to manage your rules.
On 07/01/2011 14:05, Piotr Jedrychowski wrote:
Hello.
I'm loading a big amount of rules during starting of JBoss (2
rules). All rules (in string format) are available before JBoss
startup - they are stored into
Hello.
I'm loading a big amount of rules during starting of JBoss (2
rules). All rules (in string format) are available before JBoss startup
- they are stored into database. Rules are loaded one by one and it
takes about 90 minutes. I want to speed up this process. Is there
something like
issue?
Piotr
On 2010-04-26 13:42, Piotr Jedrychowski wrote:
I can't prepare it right now because I have a lot of other work. When
I will have little bit time I will prepare test case for you.
Piotr
On 2010-04-22 19:13, Edson Tirelli wrote:
Can you provide an isolated te
h or constructs, and decided to
avoid them.
Drools expert manual says that or constructs are internally
rewritten, i suppose this mechanism is not fine-tuned.
My 2 cents...
2010/5/24 Piotr Jedrychowski mailto:pjedrychow...@proximetry.pl>>
Hello.
I h
Hello.
I have a problem with such a condition after 'when':
(or (and MyFact(id==1) MyFact(id==2)) (or MyFact(id==3) MyFact(id==4)))
For this condition I got this error:
errors; [7,41]: [ERR 101] Line 7:41 no viable alternative at input 'or'
in rule "Sensor-1-ON"[7,64]: [ERR 102] Line 7:64 mismat
ttach your case and ping me plz.
Edson
2010/4/22 Piotr Jedrychowski <mailto:pjedrychow...@proximetry.pl>>
I've downloaded last stable build (number 3845, made 2010-04-14)
from Drools Hudson (http://hudson.jboss.org/hudson/job/drools/).
After running my tests I go
kages(KnowledgeBaseImpl.java:121)
Maybe I should download Drools from other place?
Piotr
On 2010-04-21 19:37, Edson Tirelli wrote:
This is related to the problem in your other e-mail and it is fixed
in trunk.
Edson
2010/4/21 Piotr Jedrychowski <mailto:pjedrychow...@proximetry.pl>>
at
org.drools.impl.KnowledgeBaseImpl.removeKnowledgePackage(KnowledgeBaseImpl.java:166)
Maybe I should download Drools from other place?
Piotr
On 2010-04-21 19:36, Edson Tirelli wrote:
I fixed a couple problems with rule removal in trunk. Can you check
if trunk works for you?
Edson
2010/4/21 Piotr Jedrych
Hello.
I have a problem with such scenario:
1) add one knowledge package (sensor200) with two rules:
package sensor200
rule "Sensor-200-ON"
when
(and f0: FMSensorFact(id==201) f1: FMSensorFact(id==202) )
(not FMFact(id==200))
then
FMFact factToInsert = new FMFact(200);
insert(factToInsert);
end
Hello.
I have a problem with removing knowledge packages. During running this
source code
Collection knowledgePackages =
knowledgeBase.getKnowledgePackages();
if (knowledgePackages != null) {
List packageNames = new ArrayList();
for (KnowledgePackage singlePackage : knowledgePackages)
Hello.
I have a question about *javassist.jar* library. Is there any reason
that Drools 5.0 and Drools 5.1 are using javassist.jar library version
*3.4*? 3.4 version is quite old (the newest version on javassist website
is 3.11). Can I change this library to other version than 3.4 (I would
li
13 matches
Mail list logo