Re: [rules-users] Cron Rule doesn't work

2013-06-20 Thread Andy
Thanks for your responses. Works for me now, with below modifications. I was expecting the agent to pick up the latest drl file using path in changeset. *Before - Didn't work* ...(initialized kagent using changeset...no timer rules) kbase = kagent.getKnowledgeBase();

[rules-users] Cron Rule doesn't work

2013-06-19 Thread Andy
*Issue 1* Steps: 1. Add a Rule with cron + when condition always true. 2. FireAllRules Expected: Cron to fire every 15 seconds Rule: " rule "Rule 123" dialect "mvel" timer (cron:0/15 * * * * ?) when eval(true) then System.out.println("Fired!"); end " Other Details: " ...(initialized ka

Re: [rules-users] Drools as a Webservice

2013-01-24 Thread andy
Working on a Drools as a service project. Am facing a similar issue as you and was wondering if you figured out the reason for the exception you were getting. Error: java.lang.NullPointerException at org.drools.util.CompositeClassLoader.getResourceAsStream(CompositeClassLoader.java:122

[rules-users] Extend Guvnor

2009-06-16 Thread Andy Mei
supported by Drools. Thoughts? TIA. PS: I am curious how are existing Drools user test their rules currently? Andy ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] set System property drools.compiler=JANINO does not work

2008-01-29 Thread Andy Mei
/eclipse/jdt/internal/compiler/lookup/ReferenceBinding; (665 bytes) However, we already specified Drools to use Janino rather than Eclipse ( http://blog.athico.com/2006/12/dynamically-generated-class-beans-as.html). -Ddrools.compiler=JANINO Any idea? Thanks. Andy

Re: [rules-users] Custom EvaluatorFactory

2008-01-03 Thread Andy Mei
think Mvel do support return value constraint, no? http://docs.codehaus.org/display/MVEL/Basic+Syntax On Dec 20, 2007 11:04 AM, Mark Proctor <[EMAIL PROTECTED]> wrote: > Andy Mei wrote: > > Hi Edson, > > This is exactly what I am looking for, thanks! > > One com

Re: [rules-users] Custom EvaluatorFactory

2007-12-20 Thread Andy Mei
here user could subtract 3 days from the current day. $p : Position ( settlementDate < ( $TODAY - '3D' ) ) I love the project, keep up the good work. I am negotiating with management to purchase support contract from Redhat. Andy On Dec 19, 2007 6:26 PM, Edson Tirelli <[EM

[rules-users] Custom EvaluatorFactory

2007-12-19 Thread Andy Mei
. Andy ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Constants on LHS?

2007-12-09 Thread Andy Mei
Try global VAR Sent from my iPhone. PLs excuse typing mistake. On Dec 9, 2007, at 12:48 PM, J Michael Dean <[EMAIL PROTECTED]> wrote: I have not been able to figure out how to define "constants" that can be used replace numbers, etc. on the LHS of rules, and am not quite at the stage where

Re: [rules-users] From accumulate compilation error :java.Math.BigDecimal cannot be resolved to a type

2007-11-16 Thread Andy Mei
Duh, thanks Kris! On Nov 16, 2007 10:58 AM, Kris Verlaenen <[EMAIL PROTECTED]> wrote: > Have you tried java.math (math should not be capitalized)? > > Kris > > > - Original Message - > From: "Andy Mei" <[EMAIL PROTECTED]> > To: > Sent: Fr

[rules-users] From accumulate compilation error : java.Math.BigDecimal cannot be resolved to a type

2007-11-16 Thread Andy Mei
der.java:104) at com.trg.ruleengine.impl.DroolsRuleEngineBuilder.getRuleBase(DroolsRuleEngineBuilder.java:109) ... 10 more Thanks! Andy ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Adding constraints to facts in DSL

2007-09-12 Thread Andy Mei
sure if someone already opened a ticket for that, but in case > not, may I ask you please to open? We will look into supporting that in the > future. > >[]s >Edson > > > 2007/9/12, Andy Mei <[EMAIL PROTECTED]>: > > > > I am having the same problem as St

Re: [rules-users] Adding constraints to facts in DSL

2007-09-12 Thread Andy Mei
I am having the same problem as Stephane does. It's pretty bad if I need to hard code the 'or' constraint within a single DSL constraint. I guess I could split a complex OR constraint to multiple rules with the same consequences, it just an ugly hack. Also, how does this work if we need a Or con

Re: [rules-users] DSL field constraint question

2007-09-04 Thread Andy Mei
Hi Vdelbart, Awesome, you nailed it! Thanks! Andy On 9/3/07, vdelbart <[EMAIL PROTECTED]> wrote: > > > Hi Andy Mei, > > In your DSL file you put some parentheses. I think it's the problem. Try > with this : > > > [when]There is a person with=person:Pe

[rules-users] Re: DSL field constraint question

2007-09-02 Thread Andy Mei
Any idea? I really appreciate any help or pointers! Andy On 8/31/07, Andy Mei <[EMAIL PROTECTED]> wrote: > > Hi, > > I am new to Drools and working with 4.0.1 version. > I am playing with DSL and having trouble with conditional field > constraints. > I really