[rules-users] Drools 5.4

2014-05-01 Thread maxynandy
if we have guvnor,we have a additional context (Url for Guvnor related modules). We would like to have a Single Context for our application. 1)Let me know whether any risk is seen in merging the application war and guvnor war. 2)Alternatives for loading the rules dynamically other than using Guvno

Re: [rules-users] Question about length windows

2014-05-01 Thread Davide Sottara
On 05/01/2014 09:46 PM, Wolfgang Laun wrote: > A window:length is filled depending on the constraints but independent > of how old the participating facts are. Currently only ALPHA constraints determine which facts are filtered by a length window. There is a JIRA to include beta constraints, but it

Re: [rules-users] Question about length windows

2014-05-01 Thread Wolfgang Laun
A window:length is filled depending on the constraints but independent of how old the participating facts are. What you want to achieve can be done without windows: t2_1 : Tick( value < 102.352 ) t1_1 : Tick( this before t2_1 , value >= 102.352 ) not Tick( this before t2_1 && after t1_1

[rules-users] Question about length windows

2014-05-01 Thread Demian Calcaprina
Hi Guys, I have one question about how lenght windows will work. I have a rule like this. Basically, it is a "crosses" function, where the value of my object crosses a value. rule "mytest" dialect "mvel" when t2_1 : Tick( value < 102.352 ) over window:length (1) t1_1 : Tick( this before t2_1 , va

Re: [rules-users] Guvnor 5.3.0 crashing OOM JoinNodeLeftTuple

2014-05-01 Thread Mark Proctor
You’d also need to show that it’s still an issue in 5.6, or 6.0. Mark On 1 May 2014, at 22:12, Davide Sottara wrote: > This is unlikely a problem of the guided editor. Tuples are created when you > run the rules in a session. > We'd need to know which rules you're running and how you are > ins

Re: [rules-users] Guvnor 5.3.0 crashing OOM JoinNodeLeftTuple

2014-05-01 Thread Davide Sottara
This is unlikely a problem of the guided editor. Tuples are created when you run the rules in a session. We'd need to know which rules you're running and how you are inserting/retracting facts. Best Davide On 05/01/2014 01:57 PM, Jens Alejos at OAK CORP x4287 wrote: > > Hello, > > > > Our Guvnor

[rules-users] Guvnor 5.3.0 crashing OOM JoinNodeLeftTuple

2014-05-01 Thread Jens Alejos at OAK CORP x4287
Hello, Our Guvnor 5.3.0 is generating an OOM and crashing the server. At the time of the crash we could see lots objects holding a lot of stuff in memory, most notably 23,878,166 org.drools.reteoo.JoinNodeLeftTuple, each of which takes 72 bytes. For 1.7 GB of heap. I believe the real issue is s

Re: [rules-users] Integrate jBPM with OptaPlanner

2014-05-01 Thread jjn
Hi Geoffrey I was thinking something like this 1. Create a data model for a request in jBPM, where there will be a fields - id, complexity 2. Create a process model in jBPM for incoming requests being processed by specific actors 3. Somehow call optaplanner (??) Now lets say there are 10 requests

Re: [rules-users] OptaPlanner: Solver.isEveryProblemFactChangeProcessed() return true before the last fact change is processed

2014-05-01 Thread Hagai Shatz
I'm working on a scheduling solution for traveling engineers. Similar to vehicle routing but with daily routes and more complex constrains (like dependencies between visits). Thanks, Hagai Shatz On 30 Apr 2014, at 20:31, Geoffrey De Smet wrote: > On 30-04-14 15:07, Hagai wrote: > I do use

Re: [rules-users] Rule Orchestration

2014-05-01 Thread Michael Anstis
Is "prodList" a global? I'd be tempted to make it a regular fact inserted into Working Memory and have DT1's action update the fact after inserting the product. See http://stackoverflow.com/questions/17848823/drools-using-a-global-variable-in-condition-and-updating-it-in-consequence On 28 April