[rules-users] Error on access variable in workingmemorylogger

2008-04-09 Thread vdelbart
Hello, I have an error on WorkingMemoryLogger with this rule : package example import mcmipih.rules.demo.model.*; global Param param; rule "Your Third Rule" dialect "mvel" when Param( iep : IEP ) from param then System.out.println("Iep d

[rules-users] (no subject)

2008-04-09 Thread [EMAIL PROTECTED]
while using xml file i am getting this error Cannot find the declaration of element 'rule-set'. Exception in thread "main" org.drools.compiler.DroolsParserException at org.drools.compiler.PackageBuilder.addPackageFromXml(Unknown Source) -

[rules-users] the "not in" expression does not work...have u ever had this issue before?

2008-04-09 Thread mmquelo massi
Hi there! I am using a svn-built version of drools-core.jar and drools-decisiontable.jar runtime lib (3rd March 2008). I have got the following "Decision table" generated row: *#From row number: 25* *rule "Otherwise_25"* ** *no-loop true* *ruleflow-group "Convert"* *when* * cw:ContractW

Re: [rules-users] Error on access variable in workingmemorylogger

2008-04-09 Thread Steven Williams
This may be http://jira.jboss.org/jira/browse/JBRULES-1415 cheers Steve On Wed, Apr 9, 2008 at 5:37 PM, vdelbart <[EMAIL PROTECTED]> wrote: > > Hello, > > I have an error on WorkingMemoryLogger with this rule : > > package example > import mcmipih.rules.demo.model.*; > global Param param; > > ru

Re: [rules-users] Error on access variable in workingmemorylogger

2008-04-09 Thread vdelbart
Actually ! I try with the future 4.0.5 version, and it's working ! I wait for the official new realease. thanks, V. Steven Williams-5 wrote: > > This may be http://jira.jboss.org/jira/browse/JBRULES-1415 > > cheers > Steve > > On Wed, Apr 9, 2008 at 5:37 PM, vdelbart <[EMAIL PROT

[rules-users] From 4.0.6 to 4.0.4 to 4.0.3

2008-04-09 Thread Chris Woodrow
Hi, I would to share our experience about recent versions of Drools. We found out that 4.0.6 was out on last wednesday, so we decided to move up from 4.0.3 to 4.0.6. We made a few tests but we counted on the fact that backward compatibility was provided. On friday, I went on Drools website and foun

Re: [rules-users] the "not in" expression does not work...have u ever had this issue before?

2008-04-09 Thread Edson Tirelli
No, I did not had this problem before. Can you please open a JIRA and add a self contained test to reproduce the problem? Thanks, Edson 2008/4/9 mmquelo massi <[EMAIL PROTECTED]>: > > Hi there! > > I am using a svn-built version of drools-core.jar and > drools-decisiontable.jar ru

Re: [rules-users] From 4.0.6 to 4.0.4 to 4.0.3

2008-04-09 Thread Mark Proctor
Chris Woodrow wrote: Hi, I would to share our experience about recent versions of Drools. We found out that 4.0.6 was out on last wednesday, so we decided to move up from 4.0.3 to 4.0.6. We made a few tests but we counted on the fact that backward compatibility was provided. On

Re: [rules-users] From 4.0.6 to 4.0.4 to 4.0.3

2008-04-09 Thread Matija
Hi, just to clarify this, does that mean there are differences between the free version release and the paid version release? Until now I wasn't even aware the latter existed. If so, is it possible to learn what those differences are? Also, are the benefits of support subscription listed anywhere

[rules-users] BRMS search functionality

2008-04-09 Thread vmuthupal
Hi, When I create a rule from scratch through BRL guided editor, then I am able to locate the rule through the search functionality. At the same time when I create it by copying an existing rule, I am not able to. Won't indexes be created for rules which are created in the latter fashion. Thanks.

[rules-users] BRMS Date format

2008-04-09 Thread vmuthupal
Hi, I read in the documentation that the default date format in drools is 'dd-MON-'. However when I try to create a rule using the brl editor, it looks like the application takes in all kinds of date format (dd/mm/yy, for example). When I hit on validate button, I actually expected an error,

Re: [rules-users] From 4.0.6 to 4.0.4 to 4.0.3

2008-04-09 Thread Chris Woodrow
> > Its "unnaccptable"? that we don't maintain free community resources at > our descretion? If binaries are not available for download, you can always > build your own: > http://anonsvn.labs.jboss.com/labs/jbossrules/tags/ > You are right "unacceptable" was not the appropriate word, I am sorry a

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Edson Tirelli
Scott, I believe this is fixed already. Can you try it out and let us know? http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/ []s Edson 2008/4/8 Scott Reed <[EMAIL PROTECTED]>: > Sorry, the NPE is in ReteTuple.get(Declaration) > > Scott Reed's message received 4/8/2008

Re: [rules-users] Error on access variable in workingmemorylogger

2008-04-09 Thread Edson Tirelli
Ok, ignore my last e-mail. []s Edson 2008/4/9 Edson Tirelli <[EMAIL PROTECTED]>: > >Can you plz open a JIRA with your test case? > >Thanks. > > > 2008/4/9 vdelbart <[EMAIL PROTECTED]>: > > > > Hello, > > > > I have an error on WorkingMemoryLogger with this rule : > > > > package

Re: [rules-users] Error on access variable in workingmemorylogger

2008-04-09 Thread Edson Tirelli
Can you plz open a JIRA with your test case? Thanks. 2008/4/9 vdelbart <[EMAIL PROTECTED]>: > > Hello, > > I have an error on WorkingMemoryLogger with this rule : > > package example > import mcmipih.rules.demo.model.*; > global Param param; > > rule "Your Third Rule" >dialect "mv

[rules-users] Order of operations

2008-04-09 Thread Joe White
I have a question regarding order of operations in the consequence of a rule when using the mvel dialect. When executed the Drl below provides Right =30.0 and Wrong =140.0. The only difference is the parens around the multiplying expressions, which shouldn't be necessary given order of operations.

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
Glad to hear that. However, I am not set up to do my own drools build and it looks like the link you sent is for the source. Is there a set of jars for 4.0.x that I can test from? Here is what I am using now: antlr-runtime-3.0.jar core-3.2.3.v_686_R32x.jar drools-compiler-4.0.4.jar

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Edson Tirelli
Nope, only source code. Problem is 4.0.x will be released as 4.0.7, and if your specific problem is fixed and you are not able to test before the release, it will have to wait 4.0.8. All you need to build drools is java, maven and ant. Can you set this up? []s Edson 2008/4/9 Scot

Re: [rules-users] Order of operations

2008-04-09 Thread Edson Tirelli
Hi Joe, It seems someone skipped the elementary math lessons at school... :( Will open a JIRA for that. []s Edson 2008/4/9 Joe White <[EMAIL PROTECTED]>: > I have a question regarding order of operations in the consequence of a > rule when using the mvel dialect. When executed

[rules-users] OT:Order of operations

2008-04-09 Thread Hehl, Thomas
Anyone else use Please Excuse My Dear Aunt Sally? (Parentheses, Exponentiation, Multiplication, Division, Addition, Subtraction) _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli Sent: Wednesday, April 09, 2008 2:39 PM To: Rules Users List Subject: Re: [

[rules-users] BRMS security setup on Weblogic

2008-04-09 Thread Majeed, Atif
Hi, I've installed BRMS (4.0.6) on Weblogic Server (10.0) and need to create user accounts/password to grant access to a few users. Any instructions on setting up BRMS security on Weblogic will be helpful. Thanks Atif Majeed ___ rules-users mail

RE: [rules-users] Order of operations

2008-04-09 Thread Joe White
Another bug that I just came across while working on getting my parens to work involved not handling scoped numbers properly. Similar to the previous one, but different in that it ends the expression evaluation prematurely. See the drl and result below: package test; dialect "mvel" rule "tes

Re: [rules-users] Order of operations

2008-04-09 Thread Edson Tirelli
Joe, Thanks, I added this information to the ticket too. Mike is already taking care of the problem. In case you want to follow the progress: http://jira.codehaus.org/browse/MVEL-83 []s Edson 2008/4/9 Joe White <[EMAIL PROTECTED]>: > Another bug that I just came across whil

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
I built it but can only find the core jar file, nothing for the compiler. With just the core jar replaced, I still get the NPE. Edson Tirelli's message received 4/9/2008 2:24 PM: Nope, only source code. Problem is 4.0.x will be released as 4.0.7, and if your specific problem is fixed an

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
Sorry, I misstated the problem. I am still seeing an NPE but it is now one that I attribute to using the wrong compiler: Rules.getRuleBase (/FP4.drl). null java.lang.NullPointerException at org.drools.rule.EvalCondition.equals(EvalCondition.java:121) at org.drools.reteoo.EvalConditionNode

[rules-users] Working with Maps

2008-04-09 Thread Gerald Cantor
I have a Map in working memory. The Map has Strings as keys and Integers as values. It has 7 keys (REG301, REG302, ... REG307). I'm looking for a way to incorporate the following into the LHS of a rule: For keys 301, 302, 303, compute the total of the Integer values (total 1) For keys 301, 302, 3

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
I noticed one error in the build: --- Test set: org.drools.integrationtests.DynamicRulesTest --- Tests run: 16, Failures: 0, Errors: 1, Skipped: 0

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Edson Tirelli
After the build, you can find the jars in: drools-core/target drools-compiler/target Their version must always match or you will end up with other problems. []s Edson 2008/4/9 Scott Reed <[EMAIL PROTECTED]>: > I built it but can only find the core jar file, nothing for the com

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
I think the compiler jar failed to build perhaps due to the error? Edson Tirelli's message received 4/9/2008 6:14 PM: After the build, you can find the jars in: drools-core/target drools-compiler/target Their version must always match or you will end up with other problems. []s

Re: [rules-users] Working with Maps

2008-04-09 Thread Edson Tirelli
You should really consider creating a proper fact class for your fact, instead of using maps... rules will not be clear using maps. Anyway, I did not tested, but the following should work in case you really want to use the maps, but again, it is a good practice: when $map : Map() Nu

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Edson Tirelli
Are you using Java 6? Dynamic functions do not work with Java 6 because changes Sun made to classloading. If you are not using dynamic functions and still wants to use Java 6, disable tests during build by running: mvn -Dmaven.test.skip clean install []s Edson 2008/4/9 Scott Reed

[rules-users] Feature request

2008-04-09 Thread Brian Trezise
This is a feature request, or if the feature already exists, a request that somebody let me know :) I have a set of rules that heavily depend on regular expressions to operate. The regular expression is matched on the LHS of the rule, and then passed to another object for additional processing

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Edson Tirelli
yes, the error in a test would stop the build process. Use the skip option I mentioned in my other e-mail. []s Edson 2008/4/9 Scott Reed <[EMAIL PROTECTED]>: > I think the compiler jar failed to build perhaps due to the error? > > Edson Tirelli's message received 4/9/2008 6:14 PM: > >

Re: [rules-users] Feature request

2008-04-09 Thread Steven Williams
I also have this requirement. I spoke to Michael Neale about it and he thought that it shouldn't be too difficult. Michael, I wasn't sure if you were going to add the feature request or if you want me to do it? cheers Steve On Thu, Apr 10, 2008 at 9:30 AM, Brian Trezise < [EMAIL PROTECTED]> wrote

Re: [rules-users] NPE after rule consequence executes

2008-04-09 Thread Scott Reed
I am seeing the same ReteTuple.get( Declaration ) NPE when I run the app with both 4.0.7 jars. If this is a known bug, it appears not to have been fixed in this version. Edson Tirelli's message received 4/9/2008 8:05 PM: yes, the error in a test would stop the build process. Use the skip o