[rules-users] Drools 5 Released

2009-05-21 Thread Mark Proctor
http://blog.athico.com/2009/05/drools-5-released.html The Drools team are pleased to announce the release of Drools 5.0 Final. Everyone's favourite Java Rule Engine with the delivery of version 5.0 gives genesis to the Business Logic integration Platform, which provides a unified and integrate

Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread hrishikesh.varma
> rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > End of rules-users Digest, Vol 30, Issue 56 > *** > > Please do not print this email unless it is absolutely necessary. > > The informatio

[rules-users] [users-rules] Loading time ruleflow

2009-05-21 Thread Femke De Backere
Hi! I'm testing the loading time of the line: kbuilder.add(ResourceFactory.newClassPathResource("nodesflow.rf", DroolsTest.class), ResourceType.DRF ); for a rule flow file with 1 split node, 3 split nodes, 7 split nodes, ... But the results I already have are confusing: 1 split node 2

[rules-users] RuleBase.removeRule leads to NoClassDefFoundError

2009-05-21 Thread Steinar Haugen
Hi, We're having a problem with runtime rule administration; i.e. using RuleBase.addRule and RuleBase.removeRule. We're using Drools 4.0.7 on Sun JDK 1.4.2_11 and inside Weblogic 8.1 sp 6. Typically we remove a few rules followed by adding a few rules. In some cases, we receive a NoClassDefFoun

Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread Wolfgang Laun
Well, it's definitely not forbidden to do a little computational work on the RHS, too. Bind the result to a variable: Number( $times : intValue > 10 )... and, on the RHS, do for( int i = 1; i <= $times % 10; i++ ) shout( "alarm" ); or whatever. -W On Thu, May 21, 2009 at 4:21 PM, wrote

Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread hrishikesh.varma
Hi, Temporal Reasoning with Accumulate - (like 3- rule "Customer login from more than 5 locations in the last one month") What if I want to reset my count for accumulate within the time specified sliding window.So that I can have the RHS triggered for every 10times the event occurs in the same w

Re: [rules-users] Problems with ruleflow

2009-05-21 Thread Femke De Backere
Thx, It is strange, because I didn't use it in the other program. But thanks anyway!!! Femke Op 21-mei-09, om 15:23 heeft David Sinclair het volgende geschreven: You are missing the kession.fireAllRules() after the ksession.startProcess("bmi.testflow", parameters);in FeverRunner On

Re: [rules-users] Problems with ruleflow

2009-05-21 Thread Wolfgang Laun
There is an all too easily overlooked sentence in the Drools Flow User Guide in Section 3.2, whereas the code samples don't feature this call at all. -W 2009/5/21 David Sinclair > You are missing the kession.fireAllRules() after the > ksession.startProcess("bmi.testflow", parameters);in Feve

RE: [rules-users] variable binding without condition in Decision table

2009-05-21 Thread Hehl, Thomas
Nope, that's how it works. I wrote it up as a defect and it got closed because no one seemed to think it was an issue. So, since I don't have the time available to be a contributor, I decided not to complain. From: rules-users-boun...@lists.jboss.org [mailto:ru

Re: [rules-users] Problems with ruleflow

2009-05-21 Thread David Sinclair
You are missing the kession.fireAllRules() after the ksession.startProcess("bmi.testflow", parameters);in FeverRunner On Thu, May 21, 2009 at 7:16 AM, Femke De Backere wrote: > The strange thing is, if I embed the ruleflowgroup in another project, it > works perfectly. > > Then I removed the

[rules-users] variable binding without condition in Decision table

2009-05-21 Thread kfs2
I have a decision table where I need to bind a variable to use in the action. The problem is that the binding does not happen unless I apply a condition. What I want in the resulting rule is this: $serviceContract: CreditServiceContract ( ) This is what I want but does not work. The binding

Re: [rules-users] Class loading for facts used in rules

2009-05-21 Thread Wolfgang Laun
You are confusing several issues here. I take it that the ClassCastException is an error that occurs while you insert facts. At that time, all rule compiling has been done and the rulebase has been built. A ClassCastException is not a problem of some class or other "being loaded" (by Java's own cla

Re: [rules-users] Problems with ruleflow

2009-05-21 Thread Femke De Backere
The strange thing is, if I embed the ruleflowgroup in another project, it works perfectly. Then I removed the other components systematically and the project stops working... I really don't get this. Please help! Femke Op 21-mei-09, om 12:44 heeft Femke De Backere het volgende geschreven:

[rules-users] Not able to build documentation from version 5.0 source

2009-05-21 Thread dpointzero-drools
Hi, I am new to Drools and I am not able to build the documentation from the source code. The versions of the various software I am using are as follows: - Drools: 5.0.1.26597.FINAL. - Maven: 2.1.0 - OS: Mac OS X 10.5.7 (on an Intel-Mac) - Java: 1.5.0_16 The error messages I see when tryin

[rules-users] Class loading for facts used in rules

2009-05-21 Thread seemamani
I have a rule in which I use objects of a class X. I compiled and packaged this rule using BRMS for which I uploaded a jar containing class X as the model. I use a rule agent to build a rulebase from this package. Now, when I pass the facts of type X to the rule engine, I get a ClassCastException

[rules-users] Integrate drools into existing app

2009-05-21 Thread Ian Spence
I have been asked to integrate Drools into an existing webapp. We are thinking about using Spring (already implemented). I have read in the Drools 4 documentation, the RuleAgent should be kept in a Singleton or JNDI or similar. i.e. from 4.0 docs "IMPORTANT: You should only have one instance of th