Re: [rules-users] Drools Introduction Documentation --

2011-03-17 Thread Wolfgang Laun
Is there any reason why you don't start with the binary distributions? Building from the source requires some experience. The message indicates that some tests failed; the reason(s) can be found in files at the indicated location. You could try the build with skipping the tests, add -DskipTests to

Re: [rules-users] Metadata assigned to rules?

2011-03-17 Thread Wolfgang Laun
rule whatever @meta( data ) when then end -W 2011/3/17 Peter C. Marks > Hello, > > In section 4.7.2 of the Drools Expert User Guide, it states: "Metadata > may be assigned to several different constructions in Drools: fact types, > fact attributes and rules. " I could not figure out how to at

Re: [rules-users] Connectivity with Database

2011-03-17 Thread drdaveg
Take a look at the documentation of the "from" keyword -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connectivity-with-Database-tp2693512p2696533.html Sent from the Drools - User mailing list archive at Nabble.com. ___

Re: [rules-users] How to trigger a certain task within an ad-hoc subprocess

2011-03-17 Thread drdaveg
Messages can be sent to a process that has been started to get it to "wake up" from a wait state. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-trigger-a-certain-task-within-an-ad-hoc-subprocess-tp2684050p2696496.html Sent from the Drools - User maili

[rules-users] Guided Rule Editor inconsistency for DSL's

2011-03-17 Thread drdaveg
I've noticed that the LHS of the Eclipse Guided Rule Editor can employ DSL sentences or an object model, but there doesn't seem to be a manner to incorporate the DSL on the RHS of rules (other in "free form" code) Is that by design? Or is there some property that can enable the dialog box/drop-do

Re: [rules-users] How to trigger a certain task within an ad-hoc subprocess

2011-03-17 Thread wen
anyone can help address this question? Thank you! -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-trigger-a-certain-task-within-an-ad-hoc-subprocess-tp2684050p2696477.html Sent from the Drools - User mailing list archive at Nabble.com.

[rules-users] Limiting rule evaluation--not firing

2011-03-17 Thread ljnelson
Hello; I am aware of the fundamental difference between inserting facts--and evaluating them against all the rules in the rule base--and firing rules--i.e., executing only certain rules' consequences. I understand that ruleflow-group and agenda-group and activation-group can all be employed to gov

[rules-users] Metadata assigned to rules?

2011-03-17 Thread Peter C. Marks
Hello, In section 4.7.2 of the Drools Expert User Guide, it states: "Metadata may be assigned to several different constructions in Drools: fact types, fact attributes and rules. " I could not figure out how to attach metadata to a rule. Is this feature available? Thanks, Peter ___

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
Greg, I will look into that. Trunk is under heavy work right now, so it will probably not work. Edson 2011/3/17 Greg Barton > Yes, but I just fired up a small project using it and it used 100% of CPU. > If you build the attached project you'll see the tests run just fine. (They > use

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
Yes, please. Thank you, Edson 2011/3/17 Makewise - Vitor Rui Mendonça > I forgot to mention that I’m running in stream mode, yes J > > > > I’m having problems regarding event expiration: I define events with > @expires(1h) but they won’t disappear, I had to write some rules to force > t

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Greg Barton
Yes, but I just fired up a small project using it and it used 100% of CPU.  If you build the attached project you'll see the tests run just fine. (They use fireAllRules.)  If you launch from the commandline, ("java -jar target/DroolsBoxes-1.0.jar") which uses fireUntilHalt, the rules fire (and

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
To be honest, I believe so, but didn't profiled it extensively. I used fireUntilHalt() in my Webinar yesterday on a live demo and it worked nicely. Edson 2011/3/17 Greg Barton > > Has the performance problem with fireUntilHalt been fixed in 5.2? > > --- On *Thu, 3/17/11, Makewise - Vitor

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Greg Barton
Has the performance problem with fireUntilHalt been fixed in 5.2?   --- On Thu, 3/17/11, Makewise - Vitor Rui Mendonça wrote: From: Makewise - Vitor Rui Mendonça Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires To: "'Rules Users List'" Date: Thursday, March 17, 2011,

Re: [rules-users] drools design question

2011-03-17 Thread Michael Anstis
Don't forget Facts are matched as they are inserted into WorkingMemory too. fireallRules() only executes the resulting activations on the agenda - that as Thomas states can be controlled by a number of means. On 17 March 2011 14:04, Swindells, Thomas wrote: > Actually what you want is that only

Re: [rules-users] drools design question

2011-03-17 Thread Swindells, Thomas
Actually what you want is that only the rules from the DRLs that you want are activated and their consequences run (a subtle but important distinction). Put another way it doesn't matter how many rules are in the knowledge base and evaluated as long as only the rules you want are matched. There

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
You lost me. Why are you defining a rule to retract your event? If you are running in STREAM mode, @expires will take care of the retraction for you automatically... Regarding threads, I said by default because there is an experimental feature that makes drools start internal threads, but th

[rules-users] Connectivity with Database

2011-03-17 Thread kedar vyawahare
Hi all, I want to make Connectivity to a external Database through my Drool Guvnor so that I can directly create rules on attributes of that tables of Database. Please suggest me some way to solve this problem. Thanks in Advance. Kedar. ___ rules-users m

Re: [rules-users] Custom dates with @date-effective and @date-expires

2011-03-17 Thread Faisal Shafique
Thanks for the answer. Yes, it may be easier to achieve with simple date fact but we have thousands of rules and each and every one of them has this temporal requirement. I was thinking along the lines of SessionClock. I know there is a 'realtime' and 'pseudoclock' implementation of it. May be I

Re: [rules-users] drools design question

2011-03-17 Thread marunam
Thanks everyone for your inputs Yes, so the confusion that I have is, with loading multiple drls. If I load all the drls in memory(may be 100s), does it mean that when I say fireallRules, it is going to run the rules from all the drls?? That is what I don't want. For a particular session at runt

[rules-users] Problem with Drools debuggin in Eclipse Reg:

2011-03-17 Thread Murali Venugopal
Hi, I'm encountering a strange problem with debugging an Drools application in Eclipse Platform. I couldn't find any help in the internet. Also, i can't find any previous post in this mailing list. Please try to help me. My Platform details are below: O

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Swindells, Thomas
Have you looked at fireUntilHalt? From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Makewise - Vitor Rui Mendonça Sent: 17 March 2011 11:20 To: 'Rules Users List' Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires Edison,

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Makewise - Vitor Rui Mendonça
Edison, first of all, thanks for your quick reply! Those initial words caught my attention, although: “By default, Drools does not start any internal thread”… What do you mean “by default”? I know there are ways to force the event to be expired but I’m looking for a solution that doesn’t involv

Re: [rules-users] Open file leak in Drools Compiler

2011-03-17 Thread Mark Proctor
On 16/03/2011 16:49, Chris Selwyn wrote: > I am running Drools (actually JBoss Rules 5.1.0 ) in Glassfish. I'm pretty sure that there was a jira for this and I fixed it - take a look at 5.2M1. The code is from the jci project, which we inlined. Mark > My deployable is an EJB that uses a Stateles

[rules-users] Migrate from JBRMS 4.0.7 to Guvnor 5.1

2011-03-17 Thread smolnij
Hello all I need to migrate from 4.0.7 drools to 5.1, could you please give some advices and links? We have drools JBRMS 4.0.7 app with lots of rules, persisted in Oracle. We haven't any .drl files for these rules. I've tried to export these rules via export feature from JBRMS 4 and then import t

Re: [rules-users] Open file leak in Drools Compiler

2011-03-17 Thread Chris Selwyn
Done... https://issues.jboss.org/browse/JBRULES-2928 Chris On 16/03/2011 18:33, Edson Tirelli wrote: This is JCI code that we inline. We should probably check if there is a new JCI version that fixes the problem if it is indeed a problem. Can I ask you please to open a JIRA with the i

Re: [rules-users] drools design question

2011-03-17 Thread Swindells, Thomas
I'd definitely suggest this approach. Compiling DRL files into a knowledge base is very expensive and something you want to avoid doing as much as possible and probably wouldn't come anywhere close to meeting your performance requirements! Thomas From: rules-users-boun...@lists.jboss.org [ma

Re: [rules-users] drools design question

2011-03-17 Thread Michael Anstis
You could hold them all in a single KnowledgeBase with "State", "FactorY" and "FactorX" as Facts themselves checked in the Rules' RHS. You could still have multiple DRL files (to aid authoring and maintenance) but load them all at once. The RETE network shares nodes for patterns shared across mult