Re: [rules-users] Question about custom accumulation functions

2011-09-08 Thread Edson Tirelli
/9/8 Bruno Freudensprung > ** > > I am using Drools 5.1.1. > Do you want me to package a small maven project exhibiting that error, and > post a Jira? > > Bruno. > > Le 08/09/2011 15:04, Edson Tirelli a écrit : > > > It looks like a bug, as it should not ra

Re: [rules-users] Question about custom accumulation functions

2011-09-08 Thread Edson Tirelli
DefaultKnowledgeHelper.java:201) > at > org.drools.base.DefaultKnowledgeHelper.retract(DefaultKnowledgeHelper.java:214) > at > defaultpkg.Rule_Display_windows_0.defaultConsequence(Rule_Display_windows_0.java:21) > at > defaultpkg.Rule_Display_windows_0DefaultConsequenc

Re: [rules-users] Rules stop firing when white-space is changed

2011-08-24 Thread Edson Tirelli
t; > As Esteban inferred, incremental mode is not being used. A new session is > created with each run. > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-changed-tp3278986p3280973.html > Sent from the Drools: User for

Re: [rules-users] Question about custom accumulation functions

2011-08-24 Thread Edson Tirelli
mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools Fusion demo using twitter4j, Drools Workshop, Argentina (2011)

2011-08-23 Thread Edson Tirelli
gt; it? > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users

Re: [rules-users] Do really support the containsKey() function on maps?

2011-08-20 Thread Edson Tirelli
______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] startsWith function

2011-08-08 Thread Edson Tirelli
ber matches "011.*" ) > > /Mattias > > -- > View this message in context: > http://drools.46999.n3.nabble.com/startsWith-function-tp3228735p3234795.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > __

Re: [rules-users] Condition syntax to access Map

2011-07-29 Thread Edson Tirelli
gt; > Whoa! See below... > > 2011/7/28 Edson Tirelli > >> >>I think we need to differentiate paradigms here. When using rules, >> contrary to imperative code, what we are doing is pattern matching. >> >> X( a.b.c == ) >> >> In the above case

Re: [rules-users] Guvnor - AccumulateFunction ClassCastException

2011-07-28 Thread Edson Tirelli
er issue ;) > > 2011/7/25 Melton, Michael P CTR SPAWARSYSCEN-ATLANTIC, 01200 < > michael.melton@navy.mil> > >> Is there a different way to get my jar into Guvnor's classloader? I've >> been putting it in the JBoss lib directory. It would be great if this

Re: [rules-users] Condition syntax to access Map

2011-07-28 Thread Edson Tirelli
org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] FW: Capitalized element names

2011-07-26 Thread Edson Tirelli
retransmission, or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. > > ** ** > > ** ** > > *From:* rules-users-boun...@lists.jboss.org [mailto: >

Re: [rules-users] Capitalized element names

2011-07-26 Thread Edson Tirelli
ther use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/l

Re: [rules-users] Reclaiming memory usage

2011-07-25 Thread Edson Tirelli
00 years old) and ensure > all those over 100 years old go out of memory? > > Chris > > > On 7/25/2011 2:32 PM, Edson Tirelli wrote: > > > Chris > > That defines the expiration policy for ReconfigEvent, but it does not > define the relationship between Reconf

Re: [rules-users] Reclaiming memory usage

2011-07-25 Thread Edson Tirelli
ReconfigEvent > @role( event ) > @expires ( 5s ) > end > > would cover that, meaning that every ReconfigEvent would expire after 5s, > thus causing to no longer be needed by the engine. > > Thanks, > Chris > > > On 7/25/2011 12:17 PM, Edson Tirelli wrote:

Re: [rules-users] Reclaiming memory usage

2011-07-25 Thread Edson Tirelli
) > end > > > > rule "Wait for follup reading or no config" > //lock-on-active > when > > $dr: DataReading(reading > 10.0) from entry-point "My Stream" > not(DataReading(reading < 10.0, this after[0s,3s] $dr) from > en

Re: [rules-users] Guvnor - AccumulateFunction ClassCastException

2011-07-25 Thread Edson Tirelli
8) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) > a

Re: [rules-users] Dynamic facts

2011-07-22 Thread Edson Tirelli
it some time in the future. > > http://blog.athico.com/2010/07/slot-specific-and-refraction.html > > > Mark > > > Did I miss something? > > Any feedback deeply appreciated, > > Thanks! > > M. H. > ___

Re: [rules-users] Drools firing wrong rules

2011-07-12 Thread Edson Tirelli
gt;> View this message in context: >> http://drools.46999.n3.nabble.com/Drools-firing-wrong-rules-tp3160376p3160827.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> ___ >> rul

Re: [rules-users] Drools firing wrong rules

2011-07-11 Thread Edson Tirelli
> Can anybody help me please?, I dont know what am I doing wrong, thank you > very much :) > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-firing-wrong-rules-tp3160376p3160376.html > Sent from the Drools: User forum mailing list ar

Re: [rules-users] Common Practices for warning or debug rules/messages

2011-07-02 Thread Edson Tirelli
sages-tp3124178p3124178.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JB

Re: [rules-users] Drools 5.0 -> 5.2 Migration Issue

2011-07-01 Thread Edson Tirelli
ce your rule set to this simple rule and one other rule, still >> causeing the same problem. >> >> Also, do you use "dialect 'mvel'"? >> >> -W >> >> >> >> ___ >> rules-users mailing list >> >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools/Camel Integration sending messages

2011-06-11 Thread Edson Tirelli
.46999.n3.nabble.com/Drools-Camel-Integration-sending-messages-tp3043844p3047520.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Custom-Operator - No access to FactHandles?

2011-06-10 Thread Edson Tirelli
LES > Tél. : +33 (0)1 39 07 12 40 > Direct : +33 (0)1 39 07 26 16 > www.eurodecision.com > [image: EURODECISION] <http://www.eurodecision.com/> > > ___ > rules-users mailing list > rules-users@lists.jboss.org > http

Re: [rules-users] Drools/Camel Integration sending messages

2011-06-09 Thread Edson Tirelli
Nabble.com. > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.c

Re: [rules-users] Evals in 5.2

2011-06-09 Thread Edson Tirelli
rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Create rules programatically

2011-06-01 Thread Edson Tirelli
ols to execute my rule set. > > Thanks, > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___

Re: [rules-users] Is there a "extends" for the "declare" of a new type?

2011-05-28 Thread Edson Tirelli
__ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > ___________ > rules-users mailing list > rules-users@lists.jboss.

Re: [rules-users] NPE in Drools JPA Persistence with rules that use Flow

2011-05-24 Thread Edson Tirelli
setDescription(""); > reading.setReadingType(type); > value = new Value(); > value.setDoubleValue(144.0); > valueType = new ValueType(); > valueType.setName("WEIGHT"); > valueType.setDataType(ValueDataType.DOUBLE); > value.setValueType(valueType); > reading.g

Re: [rules-users] Feeding CEP events to Drools Fusion using Smooks...

2011-05-05 Thread Edson Tirelli
s://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Memory issue with drools (using 10000 rules)

2011-04-26 Thread Edson Tirelli
ledgeBuilder.add(resource, ResourceType.DRL); > > } > > knowledgeBase = KnowledgeBaseFactory.newKnowledgeBase(); > > > knowledgeBase.addKnowledgePackages(knowledgeBuilder.getKnowledgePackages()); > > > > Any insights are most appreciated. > > > > Thank

Re: [rules-users] Manuel's Analysis of JBRULES-2887 (NPE in AccumulateNode.java:967)

2011-04-05 Thread Edson Tirelli
ms I'm >> suffering (sometimes, some restrictions in the Condition Element seems to be >> badly evaluated and I think this may arise from bad tuple connections too). >> I would like to discard this possible cause before diving in Drools >> code again. >>

Re: [rules-users] Manuel's Analysis of JBRULES-2887 (NPE in AccumulateNode.java:967)

2011-04-03 Thread Edson Tirelli
eActivation(DefaultAgenda.java:917) >>>>>>> at >>>>>>> org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:856) >>>>>>> at >>>>>>> org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1071) &g

Re: [rules-users] Limiting rule evaluation--not firing

2011-03-21 Thread Edson Tirelli
List > > Subject: Re: [rules-users] Limiting rule evaluation--not firing > > > > And what about ruleflow-group ? > > There is no network filtering for that too ? The ruleflow-group behaves > > like an agenda filter, but still evaluate all nodes ? > > Could we imagine

Re: [rules-users] Limiting rule evaluation--not firing

2011-03-21 Thread Edson Tirelli
le.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
ls.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:451) > at > org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28) > at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:75) > at com.sample.DroolsTest.go(DroolsTest.java:31) > at com.sampl

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
ncluded > addresses.If you are not the intended recipient (or the person responsible > for delivering to the intended recipient) and received this message by > mistake, be aware that copy, storage, distribution or any other use of all > or part of this message and the files attached is

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
_ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-17 Thread Edson Tirelli
ecipient (or the person responsible > for delivering to the intended recipient) and received this message by > mistake, be aware that copy, storage, distribution or any other use of all > or part of this message and the files attached is strictly prohibited. > Please notify the sen

Re: [rules-users] Basic doubt regarding Drools Fusion - @expires

2011-03-16 Thread Edson Tirelli
essage by > mistake, be aware that copy, storage, distribution or any other use of all > or part of this message and the files attached is strictly prohibited. > Please notify the sender by reply e-mail or contact us by telephone and > delete this message and the files attached, without reta

Re: [rules-users] Open file leak in Drools Compiler

2011-03-16 Thread Edson Tirelli
; > >> > > >> So, when "is" is not null (i.e. open), it is > > forgotten > > >> about and not closed. > > >> > > >> Isn't this a potential file handle leak? > > >> > > >> Chris Selwyn > > >>

Re: [rules-users] not sure if this is a bug of drools or my bad usage...

2011-03-07 Thread Edson Tirelli
o depend on each other, thus not affected by losing A(). > > Is this a bug or my bad usage? > > Thanks. > -Simon > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users &

Re: [rules-users] Type Declaration upgrade

2011-02-14 Thread Edson Tirelli
nce, > Yuriy > > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Type-Declaration-upgrade-tp2491975p2491975.html > Sent from the Drools - User mailing list archive at Nabble.com. > _

Re: [rules-users] How to obtain the timestamp of an event if I don't use an @timestamp attribute?

2011-02-07 Thread Edson Tirelli
That would be a valid use case. :) Edson 2011/2/7 Wolfgang Laun > @Edson: What about logging? > -W > > 2011/2/7 Edson Tirelli : > > > >Usually you should not need to obtain the timestamp. What do you need > it > > for? Remember you can always use temp

Re: [rules-users] How to obtain the timestamp of an event if I don't use an @timestamp attribute?

2011-02-07 Thread Edson Tirelli
nt from the Drools - User mailing list archive at Nabble.com. > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > ___ > rules-users mailing list >

Re: [rules-users] Isn't it possible to mock a global with e.g. Mockito or EasyMock

2011-02-07 Thread Edson Tirelli
ols - User mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBos

Re: [rules-users] Simple Disjunction Question

2011-02-03 Thread Edson Tirelli
for any help > > Thomas > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jbos

Re: [rules-users] Sliding window of length (1) equals latest event?!

2011-01-30 Thread Edson Tirelli
Thanks Wolfgang. Edson 2011/1/30 Wolfgang Laun > I created JBRULES-2881 and noted the possibility of it being related to > 2862 (where there is a comment from you, Edson, which seems to fit). > > -W > > > 2011/1/30 Edson Tirelli > > >>This must b

Re: [rules-users] Sliding window of length (1) equals latest event?!

2011-01-30 Thread Edson Tirelli
> Oliver > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-window-of-length-1-equals-latest-event-tp2370162p2370162.html > Sent from the Drools - User mailing list archive at Nabble.com. > _____

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-29 Thread Edson Tirelli
that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2369936.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______ > rules-users mailing list > rules-u

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-26 Thread Edson Tirelli
1ib3kuY29tfDIyOTQ1OTl8MjAzMTM1NDY2Mw==&by-user=t>. > > > > -- > View this message in context: Re: How to write a rule that fires when it > matches against specific facts in working > memory.<http://

Re: [rules-users] Possible bug using from and or

2011-01-26 Thread Edson Tirelli
ert > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Possible-bug-using-from-and-or-tp235p235.html > Sent from the Drools - User mailing list archive at Nabble.com. > ___ > rules-users mailing list &

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-24 Thread Edson Tirelli
rools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2300564.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______ > rules-users mai

Re: [rules-users] Use of DroolsManagementAgentMBean

2011-01-21 Thread Edson Tirelli
ls - User mailing list archive at Nabble.com. > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > ___ > rules-users mailing list > rules-users@list

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Edson Tirelli
any kind of clutter/delimiters/etc? Edson 2011/1/20 Greg Barton > When you say "owning 100% of the language syntax" does that include the > RHS? Just curious. > > GreG > > On Jan 19, 2011, at 22:04, Edson Tirelli wrote: > > > As of Drools 5.1.1, dr

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Edson Tirelli
nabble.com/Why-Using-from-Always-Return-A-New-Fact-tp2286393p2292914.html > Sent from the Drools - User mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-19 Thread Edson Tirelli
   } > >    @Override >    public String toString() >    { >        return String.format("Address{state[%s], city[%s]}", state, city); >    } > } > The Person and Address END > -- > View this message in context: > http://drools-java-rules-eng

Re: [rules-users] large rulebase load time

2011-01-13 Thread Edson Tirelli
system. You may not copy this message or disclose its contents to > anyone. The integrity and security of this message cannot be guaranteed on > the Internet. > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > htt

Re: [rules-users] Finding the approver for an employee (1) Is this a good problem for rules? (2) How you would do it?

2011-01-13 Thread Edson Tirelli
*******/ // in a real application, this would probably be a query instead // that would be invocated on demand by the application rule "Print all" salience -20 when $a : Approver() then System.out.println( "Employee: "+$a.employee.name+" Approver: "+$ a.manager.name ); end -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] CE "not" not working

2011-01-11 Thread Edson Tirelli
ot; CE >>> is working only for very simple conditions like 'not AttributeValue( str == >>> "Blazer")' . >>> >>> Any idea what are we doing wrong ? >>> >>> Regards, >>> piyush >>> >>> ___

Re: [rules-users] Why won't this work? (Conjunction + Disjunction over a set)

2011-01-10 Thread Edson Tirelli
t(AbstractWorkingMemory.java:1089) >        at > org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:893) >        at > org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:238) >        at trafficsys.SessionInterface.insertAndFi

Re: [rules-users] Drools 5 - Is there an interactive shell for it? And can I define objects in that shell?

2011-01-05 Thread Edson Tirelli
) > ; Execute whatever is on the agenda > (run) > > > _______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > --   Edson Tirelli   JBoss Drools Core Development   JBo

Re: [rules-users] Does Drools Fusion support "Group By" clause ?

2011-01-04 Thread Edson Tirelli
able on their LHS should fire n times more than expected. > > This is n - 1 times :-) > > The fix is simple: > > when >      Sale( $type : type ) > not SaleType( type == $type ) > then >      insertLogical( new SaleType( $type ) ); > > -W > >> >> Am

Re: [rules-users] Does Drools Fusion support "Group By" clause ?

2011-01-03 Thread Edson Tirelli
_ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] regarding Jbilling

2010-12-30 Thread Edson Tirelli
>> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > > ___ > rules-users mailing list > rules-users@lists.jboss.org >

Re: [rules-users] return value restriction: not all expressions supported?

2010-12-16 Thread Edson Tirelli
Please open the usual JIRA. Need to check why as I can't see any reason for that. Thanks, Edson 2010/12/16 Wolfgang Laun : > Java. > -W > > On 16 December 2010 16:43, Edson Tirelli wrote: >> >>   MVEL or Java? >> >>   Edson >> >

Re: [rules-users] return value restriction: not all expressions supported?

2010-12-16 Thread Edson Tirelli
n > >    operands != ( ($id1!=null ? 1:0) + ($id2!=null ? 1:0) ) > > is accepted. > -W > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/r

Re: [rules-users] DROOLS problem with sliding windows

2010-12-08 Thread Edson Tirelli
ls - User mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com

Re: [rules-users] DROOLS problem with sliding windows

2010-12-08 Thread Edson Tirelli
m 163.0 avg >> 40.75 >> count 4.0 >> Node2 : 81.0 >> Entity Node2 fired of count 2 value 92.0 81.0 - Sum 173.0 avg 86.5 count >> 2.0 >> Entity Node1 fired of count 3 value 3.0 61.0 65.0 - Sum 129.0 avg 43.0 >> count >> 3.0 >> Node1 : 29.0 >> Entit

Re: [rules-users] Temporal constraint not causing rule activation when using StatefulKnowledgeSession.update()

2010-11-24 Thread Edson Tirelli
> -Original Message- > From: rules-users-boun...@lists.jboss.org > [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli > Sent: Monday, November 22, 2010 7:55 PM > To: Rules Users List > Subject: Re: [rules-users] Temporal constraint not causing rule activ

Re: [rules-users] Temporal constraint not causing rule activation when using StatefulKnowledgeSession.update()

2010-11-22 Thread Edson Tirelli
> > > > > If I change step 5 to a retract + insert then the rule will activate in step > 6 as expected. > > > > > > Thank You, > > Nathan Bell > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools AgendaEventListener

2010-11-18 Thread Edson Tirelli
.println("before activation > fired"); >     } >         }); > > .. add facts.. > Session.fireAllRules(); > > > I never see the printlns or the breakpoints in the DefaultAgendaListener – > are these supposed to be

Re: [rules-users] Drools 5.1 and JMX

2010-11-17 Thread Edson Tirelli
nowledgeBase, > however not sure when/how DroolsManagementAgent.registerKnowledgeSession is > invoked. Do I need to do that to see session stats. > > Thanks much for your help > > Beena > > > -Original Message- > From: rules-users-boun...@lists.jboss.org > [mailto:rules-users-boun...@lists.jboss

Re: [rules-users] Drools 5.1 and JMX

2010-11-16 Thread Edson Tirelli
__ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] OutOfMemoryError during marshalling with NOT conditions

2010-11-16 Thread Edson Tirelli
iuid) > then > end > > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/OutOfMemoryError-during-marshalling-with-NOT-conditions-tp1912856p1912856.html > Sent from the Drools - User mailing list archive at Nabble.com. > ___

Re: [rules-users] Fusion temporal operators, time units

2010-11-16 Thread Edson Tirelli
u, > > Nathan Bell > > > > _______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat

Re: [rules-users] accumulate vs collect

2010-11-12 Thread Edson Tirelli
n >>>                gnId : GoodNumbers() >>>                 LogicalValue : Trader( gnId.goodNo==goodNo  ) >>>                 v945 : Number ( doubleValue  >=  1 ) from accumulate ( p >>> : t_1 (  c_6 >>>>= 20100511 && c_7 == "5" ) , count(p) ) >>>        then >>>      

Re: [rules-users] accumulate vs collect

2010-11-11 Thread Edson Tirelli
"95944"); >                  rrc.setResultRuleVersionId("6"); >                  rrc.setResultColor("R"); >                  rrc.setResultRuleCode("01"); >                  rrc.setResultAction("1"); >                  rrc.setResultGood

Re: [rules-users] Declaring events separately from rules breaks expires

2010-11-08 Thread Edson Tirelli
he same package. Is there a > reason it should work only within the same package or should I open a JIRA? > > Cheers, > Samuli > > On 29.10.2010 19:11, Edson Tirelli wrote: >>     Samuli, >> >>     Are you adding your event declaration file before the rules that &

Re: [rules-users] Temporal operator before[1ms, oo] exhibtis strange behaviour

2010-11-05 Thread Edson Tirelli
> > 3) Either mode, both rules fire. > > I think that A2) is incorrect; why should passing another msec change the > logic? > > JIRA? > > Wolfgang > > > > > ___ > rules-users

Re: [rules-users] Equality vs Equality

2010-11-01 Thread Edson Tirelli
assumptions must be wrong somewhere. Would > very much appreciate some insight. > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Equality-vs-Equality-tp1824587p1824587.html > Sent from the Drools - User mailing list archive at Nabble.com. > __

Re: [rules-users] check if a

2010-11-01 Thread Edson Tirelli
/ of type List >         $ value : Value ( // other restrictions > && eval( !($valueList.contains($value)) ) ) > > > Thank you :) > Tina > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.j

Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Edson Tirelli
s message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Bug-Custom-Operator-with-Maps-results-in-Mvel-Error-tp1790252p1808277.html > Sent from the Drools - User mailing list archive at Nabble.com. > ___ > rules-us

Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Edson Tirelli
uot;]' > : [Rule name='Testing out UdayCompare Operator'] > > Any idea what is wrong? It's a pretty ambiguous error message... > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Bug-Custom-Operator-with-Maps-re

Re: [rules-users] Declaring events separately from rules breaks expires

2010-10-29 Thread Edson Tirelli
> > > -- > Remion Oy           Etävalvontajärjestelmät liiketoiminnan > Samuli Saarinen           tehostamiseen > gsm +358 (0)50 3560075 > fax +358 (0)3 2125064       www.remion.com > _______ > rules-users mailing list > rules-u

Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Edson Tirelli
xt: > http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Bug-Custom-Operator-with-Maps-results-in-Mvel-Error-tp1790252p1790252.html > Sent from the Drools - User mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lis

Re: [rules-users] event declaration using fqn

2010-10-28 Thread Edson Tirelli
aarinen           tehostamiseen > gsm +358 (0)50 3560075 > fax +358 (0)3 2125064       www.remion.com > ___________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Ed

Re: [rules-users] 5.1.1: ArrayIndexOutOfBoundsException in org.drools.core.util.AbstractHashTable

2010-10-28 Thread Edson Tirelli
; Sent from the Drools - User mailing list archive at Nabble.com. > _______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Edson Tirelli   JBoss Drools Core Developmen

Re: [rules-users] Question about Rete Tree example with NotNode in "Drools JBoss Rules 5.0 Developers Guide"

2010-10-26 Thread Edson Tirelli
d and joined with the > tuple from step 1. > > Could anybody explain to me why it's done the way its drawn in the book? > > Thank you! :) > Tina > ___ > rules-users mailing list > rules-users@lists.jboss.org &

Re: [rules-users] [FUSION] Detect the absence of an event when you don't know that the event is missing.

2010-10-25 Thread Edson Tirelli
gt;> >>> If my explanation (or my attempt to explain) is difficult to understand, >>> please ask me what you want to know. >>> >>> I would be very happy about any ideas. >>> >>> Thank you. >>> Tina >>> __

Re: [rules-users] Starting engine using fireUntilHalt and inserting no facts results in 50% CPU usage

2010-10-25 Thread Edson Tirelli
.jboss.org > [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli > Sent: Montag, 25. Oktober 2010 21:30 > To: Rules Users List > Subject: Re: [rules-users] Starting engine using fireUntilHalt and inserting > no facts results in 50% CPU usage > >   Do you hav

Re: [rules-users] Starting engine using fireUntilHalt and inserting no facts results in 50% CPU usage

2010-10-25 Thread Edson Tirelli
inimal example (don't know if it covers all > cases) and tracked it down to missedNotifyAll in DefaultAgenda > > cheers > > > > -Original Message- > From: rules-users-boun...@lists.jboss.org > [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirel

Re: [rules-users] Starting engine using fireUntilHalt and inserting no facts results in 50% CPU usage

2010-10-25 Thread Edson Tirelli
> rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > _______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules

[rules-users] Parser changes in trunk (for the next version)

2010-10-25 Thread Edson Tirelli
is the case and the migration tool fails to properly upgrade your DRL. I will provide the link the migration tool documentation when I commit the changes. Let me know if you have any questions. Edson --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com

Re: [rules-users] Custom operator

2010-10-25 Thread Edson Tirelli
> > All of this, at first sight, let me puzzled on how to really plug a custom > operator. I'll give a try with the property file! > > Any intuition ;-) of how difficult it might be to modify (besides > SuggestionCompletionEngine and HumanReadable) the business rule editor > Ec

Re: [rules-users] Custom operator

2010-10-25 Thread Edson Tirelli
d once something in eclipse has touched the class. > > Thomas > >> -Original Message- >> From: rules-users-boun...@lists.jboss.org [mailto:rules-users- >> boun...@lists.jboss.org] On Behalf Of Edson Tirelli >> Sent: 25 October 2010 14:58 >> To: Rules Us

Re: [rules-users] Custom operator

2010-10-25 Thread Edson Tirelli
r, I wonder if it will be possible to add my "lucenematches" >> operator to the "operator" drop-down list of the Eclipse's Business Rule >> Editor. >> Does anyone have an idea? >> >> Best regards, >> >> Bruno. >> _____

Re: [rules-users] [FUSION] Detect the absence of an event when you don't know that the event is missing.

2010-10-24 Thread Edson Tirelli
____ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] List from collection -> bug?

2010-10-08 Thread Edson Tirelli
ent from the Drools - User mailing list archive at Nabble.com. > _______ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > --   Edson Tirelli   JBoss Drools Core Development   JBos

Re: [rules-users] Memory usage tied to rule report?

2010-10-07 Thread Edson Tirelli
t;A: "); >  if (ni.node.constraint instanceof  ...) { > > Thanks again for your help. > > > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Memory-usage-tied-to-rule-report-tp1434387p1649379.html > Sent from the Drools - U

Re: [rules-users] fireUntilHalt and timing of rule activations

2010-10-05 Thread Edson Tirelli
 hasn't been activated at this point, then the first >> >> > rule to be fired isn't >> >> > >> >> > the correct one. >> >> > >> >> > This can be worked around by waiting for insert to return >> >> > and then calling >> >> > fireAllRules().  But it seems like the session should >> >> > block fireUntilHalt from >> >> > trying to execute activated rules until all activations are >> >> > complete.  Or am I >> >> > missing something here? >> >> > >> >> > thanks, >> >> > Norman >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > ___ >> >> > rules-users mailing list >> >> > rules-users@lists.jboss.org >> >> > https://lists.jboss.org/mailman/listinfo/rules-users >> >> > >> >> >> >> >> >> >> ___ >> >> rules-users mailing list >> >> rules-users@lists.jboss.org >> >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> >> >> >> -Inline Attachment Follows- >> >> ___ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> >> >> ___ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > --   Edson Tirelli   JBoss Drools Core Development   JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

<    1   2   3   4   5   6   7   8   9   10   >