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();
*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
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
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
/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
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
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
.
Andy
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
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
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
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
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
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
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
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
15 matches
Mail list logo