Thx, Mark for your advice.
I use my own implementation of SystemEventListener now, which uses the log4j
Logger for logging.
This works fine.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-with-logging-using-Drools-5-3-0-tp3934918p3937481.html
Sent from the Drools:
Hi everyone.
I am new to Drools and Spring MVC. I tried out the example from
http://blog.athico.com/2011/01/rules-based-validation-using-drools.html
http://blog.athico.com/2011/01/rules-based-validation-using-drools.html but
still I am getting an error. I have beeng looking over the net for
Thanks Wolfgang,
But don't the rules tables have basic info like 'last run date and time and
user' type info...
Also how to setup an AgendaEventListener
Really appreciate your knowledge sharing
--- On Tue, 4/24/12, Wolfgang Laun wolfgang.l...@gmail.com wrote:
From: Wolfgang Laun
Hi All,
I tried to use Drools Verifier to validate the available rules. I got all
the warning types like MISSING_EQUALITY, ALWAYS_FALSE. But I couldn t get
the redundancy warning, eventhough i have given the duplicate rules
explicitly.
I am using Drools Verifier 5.4.0.Final.
Herewith given the
Hi folks,
I have defined some rules in Eclipse and tested with JUnit tests and
everything was fine.
Now I defined the rules in Guvnor and while validating I get the following
error:
[CardTrapping] Unable to Analyse Expression Fraud fraud = new
Fraud(Fraud.CARD_TRAPPING, new SSTEvent[] { $event1,
On 25/04/2012, thomash...@yahoo.com thomash...@yahoo.com wrote:
Thanks Wolfgang,
But don't the rules tables have basic info like 'last run date and time and
user' type info...
I'm not aware of any such information being collected and stored
automatically. But if this is a Guvnor function, I
The OP has not said if he uses Guvnor or not. We can only guess.
Last run date is a run-time metric. Guvnor only contains design-time
metrics. Therefore you'll have to devise your own mechanism using
AgendaListener as Wolfgang proposes.
Author (and other such metadata) is stored in Guvnor and is
Do we support Joda time objects in Guvnor (5.3)? I did add joda time jar on
the classpath (Guvnor's lib folder) and there is no class not found
exception. However I get following exception when trying to access the
deployment snapshot.
The snapshot worked fine when I was using Date. After
Hi,
Thanks for the reply.
In my application,one of the input parameters is Year.In my java class,I am
getting the modelyear from year and converting it an integer.But even then,
I am getting the error posted earlier.Here is my rule file:
rule Set Time To Live
when
there
Aha, that makes sense! I didn't realize you could bind a variable from two
different branches of an or. Following that pattern, my strawman rule becomes
this:
rule household income
when
$p1 : Person()
((not Relation(person1 == $p1, type == spouse) and
The fact that you can bind from a constant is good to know.
But if I can give my feeling, I don't think that this more readable nor more
maintainable.
To me, if you really want to factorize, using accumulate is better ...
Mark's rule has a relatively big an complex 'then' part that justify an
I am still working on this item today I would greatly appreciate any help.
Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/Need-Help-Error-creating-bean-with-name-kbase-tp3937782p3940150.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 matches
Mail list logo