[rules-users] Re: mve bugs

2007-08-15 Thread Arjun Dhar
> Should we go to Jira to find what are the open issues? > > I have been fighthing one issue where drools doesnt seem to be > evaluating all the constraints. I have two columns with the same class > on both and around 8-9 joined constraints. Constraints 5+ are never > evaluated (at least my class

RE: [rules-users] variables in rules

2007-08-15 Thread Arsalan S. Zaidi
Title: RE: [rules-users] variables in rules Thanks! -Original Message- From: [EMAIL PROTECTED] on behalf of Mark Proctor Sent: Wed 15-Aug-07 6:54 AM To: Rules Users List Subject: Re: [rules-users] variables in rules there are no examples, but its straight forward, its no different

[rules-users] Optimization Problem - fat expressions vs ceating additional objects

2007-08-15 Thread Arjun Dhar
I have a rule: SOLUTION 1 === when cntct: Contact(initialized==true) rel: Relation(contact==cntct, active:active == $1) then … end For this to run, it requires the "Relation" object asserted into working memory; so I'd have to forcefully assert (Relation

Re: [rules-users] Re: mve bugs

2007-08-15 Thread Edson Tirelli
All, This bug is already fixed: http://jira.jboss.com/jira/browse/JBRULES-1031 Fix will be included in 4.0.1, or you can use snapshot from here: http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules []s Edson 2007/8/15, Arjun Dhar <[EMAIL PROTECTED]>: > > > > Should we go to

Re: [rules-users] Release status on website?

2007-08-15 Thread Edson Tirelli
Drools 4.0 GA was released last month. Downloads: http://labs.jboss.com/drools/downloads.html Release Notes (available in several places): http://blog.athico.com/2007/07/jboss-drools-40-released.html Features and screenshots http://labs.jboss.com/drools/featuresandscreenshots.html Enhance

Re: [rules-users] Re: Independent rule evaluations

2007-08-15 Thread Edson Tirelli
Yuri, Right now, the only way is to work with different rule bases and working memories. Even using agenda-groups or rule-flow, rules are still being eagerly evaluated, as this is how standard Rete works. The problem of creating and canceling too many activations is a known problem and

Re: [rules-users] Re: mve bugs

2007-08-15 Thread Mark Proctor
There are others, not sure if they are all in jira, as several as MVEL bugs, which is a separate project. We are trying ot make sure everything is fixed for 4.0.1, but this is the reason for the delay in the release. Mark Edson Tirelli wrote: All, This bug is already fixed: http://jir

Re: [rules-users] Release status on website?

2007-08-15 Thread Scott Reed
Thank you, Edson. I saw that announcement. What is a "GA" release? Is it the final, ready-for-prime-time version? Scott Edson Tirelli's message received 8/15/2007 7:53 AM: Drools 4.0 GA was released last month. Downloads: http://labs.jboss.com/drools/downloads.html Release Notes (avail

Re: [rules-users] Release status on website?

2007-08-15 Thread Edson Tirelli
Yes, GA means General Availability that is the final version. []s Edson 2007/8/15, Scott Reed <[EMAIL PROTECTED]>: > > Thank you, Edson. I saw that announcement. What is a "GA" release? Is it > the final, > ready-for-prime-time version? >Scott > > Edson Tirelli's message received 8

[rules-users] find the error line number in a rule

2007-08-15 Thread hypnosat7
Hi, I use a package builder to build rule packages loaded from a DB. Those rules are written in a dsl so I use also a dsl file. But I'm looking for a simply way to return the line number if there is a parsing error. In fact I need something like DroolsError.getLine(). how can I do this Thank'

[rules-users] find the error line number in a rule

2007-08-15 Thread hypnosat7
-- View this message in context: http://www.nabble.com/find-the-error-line-number-in-a-rule-tf4273166.html#a12162223 Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://list

[rules-users] Re: Independent rule evaluations

2007-08-15 Thread Yuri
Edson Tirelli post.com> writes: > Yuri,Right now, the only way is to work with different rule bases and working memories. Even using agenda-groups or rule-flow, rules are still being eagerly evaluated, as this is how standard Rete works. > The problem of creating and canceling too man

[rules-users] Re: mve bugs

2007-08-15 Thread Yuri
Edson Tirelli post.com> writes: >All,This bug is already fixed: http://jira.jboss.com/jira/browse/JBRULES-1031 Fix will be included in 4.0.1, or you can use snapshot from here: Just an fyi: I got the latest snapshot and problem solved. thanks, ___

Re: [rules-users] Re: mve bugs

2007-08-15 Thread Edson Tirelli
Thanks for the update. 2007/8/15, Yuri <[EMAIL PROTECTED]>: > > Edson Tirelli post.com> writes: > > >All,This bug is already fixed: > http://jira.jboss.com/jira/browse/JBRULES-1031 Fix will be included in > 4.0.1, > or you can use snapshot from here: > > Just an fyi: I got the latest

Re: [rules-users] Re: Independent rule evaluations

2007-08-15 Thread Edson Tirelli
That is a half-truth (if such thing exists...) :) You will indeed avoid the beta evaluations (joins) that are more expensive than alpha evaluations, and also prevent the rule activations. But alpha evaluations will still happen. So, I would say, you would prevent 90%(?) of the engine work w

[rules-users] Executing Rules in Sequential Mode

2007-08-15 Thread Jin, Ming
My rules engine test showed virtually no difference between Rete and Sequential execution modes: 3.44s for Rete while 3.50s for Sequential. Those are the average timing from several runs, each with 1,000 rule execution calls. Since I do not have a controlled environment, the difference seems insig

Re: [rules-users] How to design a rule using collect for filtering? Thanks.

2007-08-15 Thread Anh Vuong
Thanks for your help, Edson. collect works in my simple test now, but not when I integrate with my code. Is there an easy way to debug LHS to see if collect stmt is evaluated? I notice IllegalAccessError since my app will load a selected list of jars upfront, so my questions are: 1) Can th

Re: [rules-users] Executing Rules in Sequential Mode

2007-08-15 Thread Mark Proctor
If the rules and data don't push the system then you won't see a huge amount. As the rules and data grow in size, but we are talking 50K facts and thousands of rules to see a 350% increase. I'm surprised a RuleBase with a 1000 rules only sees a 2% increase though, while not large its still at t

Re: [rules-users] How to design a rule using collect for filtering? Thanks.

2007-08-15 Thread Edson Tirelli
This is a regression bug. InitialFact should not be shadowed. Can you please open a JIRA for that? Thank you Edson 2007/8/15, Anh Vuong <[EMAIL PROTECTED]>: > > Thanks for your help, Edson. > collect works in my simple test now, but not when I integrate with my > code. Is there an ea

Re: [rules-users] Executing Rules in Sequential Mode

2007-08-15 Thread Mark Proctor
Also sequential is aimed for stateless services, it's rule building time is a slighter longer. So Once the RuleBase is built try running the test a few hundred times, once Sequential and once Rete. Also check memory, it should use less memory. Its hard to get any real perf numbers in 3.44s. All

Re: [rules-users] How to design a rule using collect for filtering? Thanks.

2007-08-15 Thread Anh Vuong
http://jira.jboss.com/jira/browse/JBRULES-1086 is created. Edson Tirelli <[EMAIL PROTECTED]> wrote: This is a regression bug. InitialFact should not be shadowed. Can you please open a JIRA for that? Thank you Edson 2007/8/15, Anh Vuong < [EMAIL PROTECTED]>:Thanks for yo

[rules-users] Drools 4.0 problem: insert (drl) not reflected StatefulSession.

2007-08-15 Thread Michael Waluk
I just upgraded to Drools 4.0 and changed my assertObject calls to insert. I also switched from WorkingMemory to StatefulSession. The rules seem to be fine, but I am not able to retrieve any inserted objects from the working memory for some reason. Here is what I'm doing. I'd appreciate any sugg