Re: [rules-users] Memory issues

2011-07-14 Thread Jeffrey Schneller
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

Re: [rules-users] Memory issues

2011-07-13 Thread Jeffrey Schneller
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

[rules-users] Memory issues

2011-07-13 Thread Jeffrey Schneller
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

Re: [rules-users] Is Drools appropriate for this app scenario?

2011-01-28 Thread Jeffrey Schneller
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

Re: [rules-users] Is Drools appropriate for this app scenario?

2011-01-26 Thread Jeffrey Schneller
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

Re: [rules-users] Drools and Guvnor 5.1M2 - ExceptionbeingthrowninprocessChangeSet

2010-07-01 Thread Jeffrey Schneller
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

Re: [rules-users] Drools and Guvnor 5.1M2 - Exception beingthrowninprocessChangeSet

2010-07-01 Thread Jeffrey Schneller
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

Re: [rules-users] Drools and Guvnor 5.1M2 - Exception beingthrownin processChangeSet

2010-06-30 Thread Jeffrey Schneller
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

Re: [rules-users] Drools and Guvnor 5.1M2 - Exception beingthrownin processChangeSet

2010-06-30 Thread Jeffrey Schneller
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...

Re: [rules-users] Drools and Guvnor 5.1M2 - Exception being thrownin processChangeSet

2010-06-30 Thread Jeffrey Schneller
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

[rules-users] Drools and Guvnor 5.1M2 - Exception being thrown in processChangeSet

2010-06-30 Thread 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 app and replaced them with the 5.1M2 drools jars. I was also added al

Re: [rules-users] Rule Validation/Package Build Error in Guvnor: ClassNot Found

2010-06-28 Thread Jeffrey Schneller
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

Re: [rules-users] OutOfMemoryError: GC overhead limit exceeded

2010-06-24 Thread Jeffrey Schneller
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.

[rules-users] OutOfMemoryError: GC overhead limit exceeded - RESEND

2010-06-24 Thread Jeffrey Schneller
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

[rules-users] OutOfMemoryError: GC overhead limit exceeded

2010-06-23 Thread Jeffrey Schneller
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

[rules-users] KnowledgeAgent

2010-03-01 Thread Jeffrey Schneller
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

[rules-users] RuleBase Refresh

2010-03-01 Thread Jeffrey Schneller
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

[rules-users] Refreshing RuleBase using the Guvnor

2010-02-26 Thread Jeffrey Schneller
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

[rules-users] Refreshing Rule Base

2010-02-26 Thread Jeffrey Schneller
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

[rules-users] Caching RuleBase

2010-02-26 Thread Jeffrey Schneller
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

Re: [rules-users] Using Collections in LHS

2010-02-23 Thread Jeffrey Schneller
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

[rules-users] Rule in decision table

2010-02-19 Thread Jeffrey Schneller
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

[rules-users] Creating excel decision tables

2010-02-02 Thread Jeffrey Schneller
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