Re: [rules-users] Problem with Collection

2014-04-11 Thread Wolfgang Laun
If there is no cogent reason for collecting a List and acting on it you should match a single Alarm and update it on the rule's right hand side: rule "Rule [Alarm Collection]" when $alarm: Alarm ( justInserted == true ) then modify( $alarm ){ setJustInserted( false ) }

[rules-users] Problem with Collection

2014-04-11 Thread mohanm
Hi, I am using Drools 5.5.0 Final Expert to do Alarm Co-relation. I was trying to collect the facts in to the ArrayList collection. My drl file will look like below. From the Rule I calling an Java method to access the collected facts. /rule "Rule [Alarm Collection]" no-loop when $alar

Re: [rules-users] KnowledgeAgentImpl registeredResourceMap memory issue

2014-04-11 Thread Davide Sottara
Can you try 5.6.0.Final? Many issues regarding the KnowledgeAgent were fixed in that version Thanks Davide On 04/11/2014 08:45 PM, Cwen wrote: > > > View this message in context: Re: KnowledgeAgentImpl > registeredResourceMap

Re: [rules-users] KnowledgeAgentImpl registeredResourceMap memory issue

2014-04-11 Thread Cwen
-- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgentImpl-registeredResourceMap-memory-issue-tp4029216p4029217.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] KnowledgeAgentImpl registeredResourceMap memory issue

2014-04-11 Thread Cwen
We are seeing this HashMap (KnowledgeAgentImpl.registeredResourceMap) keeps growing when a pkg is updated. It looks like creating more CompositeClassLoader and not removing the old rule references. So it causes KnowledgeAgentImpl use large memory. We are using 5.5.0.final.I am attaching an image fr

Re: [rules-users] Problems deploying war

2014-04-11 Thread Michael Anstis
To answer your remaining questions: > What is the webapp trying to do with Git? Do I need to point it at some git repo? The Workbench tries to clone a demo repository from github.com on startup. This can be disabled. See here

Re: [rules-users] How to install Drool web WB - Tomcat?

2014-04-11 Thread Michael Anstis
Please see other email on this subject to which I've replied. On 11 April 2014 00:13, bbarani wrote: > I download the drools workbench war > (kie-drools-wb-distribution-6.0.1.Final.zip) and tried deploying it on > Tomcat. The application gets deployed but not getting started (when seen > from s

Re: [rules-users] Guvnor - Importing Drl FIle and its associated model

2014-04-11 Thread Michael Anstis
What version are you using? On 10 April 2014 20:39, mattmadhavan wrote: > Hello, > In have a working Drools project. I would like to import existing DRL files > and associated Model file. > > I have a custom operator as well. I have packaged the Model and necessary > operators and util global f

Re: [rules-users] Problems deploying war

2014-04-11 Thread Michael Anstis
Hi, There have been a few people with Tomcat deployment issues for kie-drools-wb, so I thought I'd give it a try. These are the steps I followed for *successful* deployment (most of which is already documented, but not obvious, in the WAR's README.txt file):- *6.0.1* Starting with a clean insta

Re: [rules-users] If I have a rule that has a lot of permutation, which is the best approach to set it up? (Currently using decision table)

2014-04-11 Thread Michael Anstis
If rows have default values they will populate the cells when you add a new row. You could set default values, add your rows, and then remove said default values if no longer applicable. On 11 April 2014 13:35, SSWA wrote: > Attached is a sample rule decision table that I have set up. > > As y

[rules-users] If I have a rule that has a lot of permutation, which is the best approach to set it up? (Currently using decision table)

2014-04-11 Thread SSWA
Attached is a sample rule decision table that I have set up. As you can see, I have designed my conditions very nicely in the picture. But if I were to add a new check, I will actually have to slowly key in the values. I'm wondering if there is any way that when I slot a condition into row 4, it

[rules-users] Best practices to hand over from dev to business

2014-04-11 Thread djb
Hi, So I've worked with Drools v5 on a few projects, and made the move to v6 yesterday. My programs typically have a model of pojos, plus some service utilities that do the stuff that's easier in Java than in Drools. I have implemented the system with DRLs and agenda groups, and one of the next

Re: [rules-users] Pooling stateful sessions to have threaded executions of a ruleset

2014-04-11 Thread Mercier Jonathan
Le 09/04/2014 11:20, Maxime Falaize a écrit : I confirm that the multithreaded rules evaluation is not currently supported. See https://github.com/droolsjbpm/drools/blob/master/drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java#L683 2014-04-07 12:27 GMT+02:00 Maxime Falaize