[rules-users] Simple rulebase not behaving as expected : Part 2

2007-08-23 Thread Dean Jones
Hello again, I'm probably missing something fundamental here, but I have the following rulebase: package org.drools.examples rule "Hello World" when Integer() then System.out.println("Hello world"); end rule "Goodbye World" when not In

[rules-users] global Service service

2007-08-23 Thread hypnosat7
Hi, I'm using Drools 4.0.1 snapshot but the Global Data View seems not work : this is my rule : global Service service global Parking parking rule "gestion file d'attente" when v:Vehicule( age <= 3 ) from service.getVehicules() then parking.

Re: [rules-users] Working Memory View

2007-08-23 Thread hypnosat7
And for the Audit View ?? Mark Proctor wrote: > > StatelessSession does not implement or extending Working Memory, it > intead has it as a member variable. So you need to select that member > variable for those views to work. > > Mark > hypnosat7 wrote: >> Hi, >> >>Why the Working Memory

Re: [rules-users] Rule compilation errors under heavy load

2007-08-23 Thread Dean Jones
I've filed a JIRA for this issue http://jira.jboss.com/jira/browse/JBRULES-1114 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] AgendaFilter not working as expected

2007-08-23 Thread Edson Tirelli
Brian, I'm not aware of any problem with AgendaFilters, so if you think it is indeed a problem, may I ask you please to open a JIRA? Having said that, I personally think that AgendaFilters should be used only for test purposes. To implement phased rule firing like the ones you are doi

[rules-users] Dynamic changes to drl file

2007-08-23 Thread pns77
Have been stuck with this for quite some time now. Would appreciate if anyone could help me out. I was checking if changes could be made to the rule file at runtime and the following is the block of code that i tried RuleBase ruleBase = readRule(); WorkingMemory workingMe

RE: [rules-users] Dynamic changes to drl file

2007-08-23 Thread Arsalan S. Zaidi
Hi. I'm no expert, but I think you have to 'recompile' the drl file using PackageBuilder if you change it on disk and wish to use the new version. --Arsalan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pns77 Sent: 23 August 2007 18:48 To: rules-users

Re: [rules-users] Simple rulebase not behaving as expected : Part 2

2007-08-23 Thread Edson Tirelli
Looks like a bug. Can you please open a JIRA for this? Thanks Edson 2007/8/23, Dean Jones <[EMAIL PROTECTED]>: > > Hello again, > > I'm probably missing something fundamental here, but I have the > following rulebase: > > package org.drools.examples > > rule "Hello World" > wh

Re: [rules-users] Simple rulebase not behaving as expected : Part 2

2007-08-23 Thread Dean Jones
Hi Edson, On 8/23/07, Edson Tirelli <[EMAIL PROTECTED]> wrote: > >Looks like a bug. Can you please open a JIRA for this? > Done. http://jira.jboss.com/jira/browse/JBRULES-1116 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jb

Re: [rules-users] How to limit results from a collect statement

2007-08-23 Thread pentarious
I just opened a JIRA: http://jira.jboss.com/jira/browse/JBRULES-1115. Regards, CG Edson Tirelli-3 wrote: > >I do suggest you open a JIRA and attach your test case. I will need to > do > some debugging to understand what is happening. > >[]s >Edson > > 2007/8/22, pentarious <[EMA

Re: [rules-users] Dynamic changes to drl file

2007-08-23 Thread Mark Proctor
yes you have to add the changed DRL yourself manually, we do not monitor hte DRL resources on the disk. Mark Arsalan S. Zaidi wrote: Hi. I'm no expert, but I think you have to 'recompile' the drl file using PackageBuilder if you change it on disk and wish to use the new version. --Arsalan --

Re: [rules-users] Working Memory View

2007-08-23 Thread Mark Proctor
audit view should work, as normal. Mark hypnosat7 wrote: And for the Audit View ?? Mark Proctor wrote: StatelessSession does not implement or extending Working Memory, it intead has it as a member variable. So you need to select that member variable for those views to work. Mark hypnosa

[rules-users] Functionality/Performance Test Results

2007-08-23 Thread Robert Crawford
Our users are asking to be able to specify custom validations in our application. I've been undecided whether to use a rules engine or write our own dynamic validation code. While it's admittedly still in the "toy problem" stage, I tried using drools in place of some existing hand-coded validation

[rules-users] Problem with BRMS (null and modify with variable)

2007-08-23 Thread Felipe Piccolini
Hi,   When I try to compare an attribute against a null I got a "null" instead... the field is an Object. (Date).  When I try to modify an attribute using the last value captured on LHS, I cant use the variable name in the textfield.  The field type is numeric, but I need to use a formula ($var + 1

[rules-users] Trouble upgrading to Drool 4.0

2007-08-23 Thread Tim . Nguyen
Hi, I have been using JBoss Drool 3.06 for a few months, and now I want to upgrade it to 4.0 to take advantage of some new features. So I downloaded the JBoss Rules 4.0.0.MR3 Binaries, then drop 4 core drool jar files to my project lib drools-core.jar drools-compiler.jar drools-jsr94.jar drools-d

Re: [rules-users] Trouble upgrading to Drool 4.0

2007-08-23 Thread Edson Tirelli
If you are upgrading, you should be upgrading to 4.0GA, not MR3. The error is because you need to add mvel jar to your classpath. []s Edson 2007/8/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi, > > I have been using JBoss Drool 3.06 for a few months, and now I want to > u

[rules-users] BRMS Business rules Editor - RHS using variables and functions

2007-08-23 Thread Felipe Piccolini
How can I use variables from LHS to modify an attribute in RHS using business rules editor GUI?? Also I added a new function trying to work around but didnt work I need to get this using business rules editor (GUI): rule "my rule" no-loop true when $f: Fact

Re: [rules-users] Trouble upgrading to Drool 4.0

2007-08-23 Thread Tim . Nguyen
Thanks Edson, I am more like migrating from 3.06 to 4.0. What's the different between 4.0 GA and MR3, and where could I find the download for 40 GA? I couldn't find any link from the website. Best Regards, Tim Nguyen

Re: [rules-users] Trouble upgrading to Drool 4.0

2007-08-23 Thread Mark Proctor
http://labs.jboss.com/drools/downloads.html http://wiki.jboss.org/wiki/Wiki.jsp?page=3.1M1ReleaseNotes http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.MR2ReleaseNotes http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.MR3ReleaseNotes http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.GAEnhancementsList M

Re: [rules-users] Trouble upgrading to Drool 4.0

2007-08-23 Thread Edson Tirelli
4.0GA is the final version. MR3 was an old milestone release, meaning, it was not feature complete and there were some changes between it and final version. What site were you looking at? Please let us know because we need to take it down... the correct one is this: http://labs.jboss.com/d

Re: [rules-users] Getting a NoClassDefinitionFoundError while using JBoss Drools.

2007-08-23 Thread Manjax23
Put all the dependent jar files - all the drools and dependent jar files in the classpath. ~manjax Gaurav2007 wrote: > > Hi, > I wish to use JBoss Drools rule Engine for evaluating Rules in my RCP > Application based on Eclipse 3.2. I do this by extracting source files > included in the Dro