t: Wednesday, July 13, 2011 1:27 PM
To: Rules Users List
Subject: Re: [rules-users] Memory issues
This is strange - do you mean that those 18 KnowledgeAgents stored in
that Map produce 18 different StatefulKnowledgeSessions?
What does the Map map? X? Y?
-W
2011/7/13 Jeffrey Schneller
I am curr
To: Rules Users List
Subject: Re: [rules-users] Memory issues
This is strange - do you mean that those 18 KnowledgeAgents stored in
that Map produce 18 different StatefulKnowledgeSessions?
What does the Map map? X? Y?
-W
2011/7/13 Jeffrey Schneller
I am currently running version 5.1.0M2
I am currently running version 5.1.0M2. I have 18 different binary
rulesets [packages] that are stored on the local filesystem. The
rulesets range in size from 4K to 131Mb.
When my application starts I load each ruleset into a knowledgeAgent and
store the knowledgeAgent into a hashmap which
Yes, the site is pure java. UI is done with Wicket, DB is done via
hibernate, Rules - drools core and guvnor.
1) As I said in my original email, the shop owner UI was realized by
excel spreadsheet templates. The Guvnor allows rules to be written via
an excel file template. Ideally, it would be
Sebastien,
I have built an e-commerce site [www.stoneside.com] with some if not all
of the things you are talking about. If you go there and design a
product you can see the rules working.
Drools is being used for:
Pricing rules and discounts within a product.
Rules regarding what
Best,
2010/7/1 Jeffrey Schneller
Esteban,
Here is the stack trace for the ClassNotFoundException when the compiler
jar is not included.
java.lang.ClassNotFoundException:
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl
at
org.apache.catalina.loader.WebappClassLoader.load
the drools-compiler
dependency.
The KAgent was practically rebuilt from scratch since 5.1M1 so these
kind of error were expected ;)
Best,
2010/7/1 Jeffrey Schneller
As a follow-up, this did work however there are still some problems.
The rules did get pulled into the application and seem to
member to replace username and password.
Best,
2010/6/30 Jeffrey Schneller
Here is the xml file I am getting:
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Esteban
Aliverti
Sent: Wednesday, June 30
s.
As a work around, try doing this:
Remember to replace username and password.
Best,
2010/6/30 Jeffrey Schneller
Here is the xml file I am getting:
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...
EST/ChangeSet.xml> ?
Best,
2010/6/30 Jeffrey Schneller
I am trying to upgrade to the 5.1M2 build from 5.0.1 and am running into
some issues. I have installed the new 5.1 Guvnor and imported the rules
from my 5.0.1 Guvnor instance.
I then removed the old 5.0.1 drools jars from my a
I am trying to upgrade to the 5.1M2 build from 5.0.1 and am running into
some issues. I have installed the new 5.1 Guvnor and imported the rules
from my 5.0.1 Guvnor instance.
I then removed the old 5.0.1 drools jars from my app and replaced them
with the 5.1M2 drools jars. I was also added al
Your jar files [the models] need to be in the same drools package as
your DRL file.
So if in the Guvnor you have:
com.domain.project.rules
Business Rules
Your DRL file
Then you need to have the model in the same package.
com.domain.p
fixed for
5.1, see
http://blog.athico.com/2010/03/drools-halves-memory-use-with-new-true.ht
ml
With kind regards,
Geoffrey De Smet
Jeffrey Schneller schreef:
> I saw a similar thread about this back in March but I am now seeing a
> similar exception being thrown. I am running 5.0.
This is a RESEND because of mail server issues. Not sure if the
original message went out.
I saw a similar thread about this back in March but I am now seeing a
similar exception being thrown. I am running 5.0.1. The error is
thrown in my app after the change set listener determines there wa
I saw a similar thread about this back in March but I am now seeing a
similar exception being thrown. I am running 5.0.1. The error is
thrown in my app after the change set listener determines there was a
change with the rules package in the Guvnor. I have included the stack
trace from the most
Can someone explain how to use the knowledge agent when the rules are
stored on the guvnor. I also do not want to use an xml configuration
file [change-set] to specify the url of the guvnor. The url is
retrieved through the code in my case and I can't set it via a
change-set since we don't know w
I am having issues refreshing my RuleBase. It works in some cases
[small numbers of rules] and doesn't work in others. I am using the
Guvnor to maintain rules and all my rules are in Excel decision table.
To test, I created a simple package that contains 1 excel decision table
which has 1 rul
I posted about caching and after some more investigation it appears the problem
lies in just refreshing the rulebase.
I created a simple package that contains 1 excel decision table which has 1
rule [row] in it. I ran my application. Then rebuilt the package in the
Guvnor and my application
org.drools.reteoo.BetaMemory
It appears the problem occurs where there are many rules. Any ideas?
Thanks.
From: rules-users-boun...@lists.jboss.org on behalf of Jeffrey Schneller
Sent: Fri 2/26/2010 12:18 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] Caching RuleBase
I saw some old thread about caching the rule base on your own. I have a
singleton which contains a hashmap to do the caching. I am using the Guvnor to
pull my rules from. This works fine except when the rules change on the
Guvnor. When the rule base tries to refresh in my application, I am g
I think what you are looking for is the following. Someone please
correct me if I am incorrect.
when
Order($discount : discount > 10, $items: items)
Item(grade > 3) from $items
then
System.err.print("Discount is not allowed with items having grade 3 or
higher");
This would fire when
I am trying to write a condition for a decision table and can't seem to
figure out how to do it.
I have a global variable called area. This is in sq. ft.
I have a fact called Item which has an attribute called weight. This is
in grams / sq. ft.
The Item comes from the attribute calle
How would you create something similar the below rules in a decision
table. The value of the ChoiceOption is actually an Interface which
OptionValue and ItemValue bath implement. Any ideas?
Thanks.
rule 'test'
dialect 'mvel'
when
$o : ChoiceOption(sku=="mount")
Option
23 matches
Mail list logo