Re: [rules-users] problem in sliding window

2014-03-18 Thread Sandhya Sree
no, actually i think the problem is because, i create a new session once in 10 seconds and dispose it off. so when i create the first two files in first 10 seconds , the session is disposed, and in the next session the next two files are created and disposed.. like this it goes.. so when i create

[rules-users] physical resource allocation problem

2014-03-18 Thread Scott Danner
Hello, We have a resource allocation problem. Could this be solved with OptaPlanner? Here it is: There are N projects located in various places that need work done with machines (just one machine type for all machine work). Work can be parallelized, e.g. 6 work days can be done in 6 calendar

[rules-users] Broken KIE-WB binary for Tomcat 7

2014-03-18 Thread Sandjaja, Dominik
Hello, I just tried to install the KIE-Workbench on Tomcat 7 out of the downloaded file kie-drools-wb-distribution-6.0.1.Final.zip with authentication. It turns out that obviously the web.xml inside the WAR in binaries/kie-drools-wb-distribution-wars-6.0.1.Final-tomcat7.0.war is wrong. It is

[rules-users] Efficiency questions about DSL

2014-03-18 Thread mfalaize
Hi, I was wondering how to use efficiently DSL with my rules and I have several questions about it : - First, I have the impression that we can use DSL files only in the same package of the DSLR file. When I tried to load DSL files by the kmodule.xml (specifying the different packages in the

Re: [rules-users] physical resource allocation problem

2014-03-18 Thread Geoffrey De Smet
On 18-03-14 09:24, Scott Danner wrote: Hello, We have a resource allocation problem. Could this be solved with OptaPlanner? Here it is: There are N projects located in various places that need work done with machines (just one machine type for all machine work). Work can be parallelized,

Re: [rules-users] Creating selection filter for PlanningEntity with 4 planning variables

2014-03-18 Thread maciekpob
Hello again, o) I completed the changes that you suggested last year concerning the issue that I am encountering with opta planner with our application. Note that I have at most one or two planning entities in the Solution (in my test case). Setting cacheType=PHASE on UnionMoveSelector

Re: [rules-users] Creating selection filter for PlanningEntity with 4 planning variables

2014-03-18 Thread Geoffrey De Smet
On 18-03-14 11:24, maciekpob wrote: Hello again, o) I completed the changes that you suggested last year concerning the issue that I am encountering with opta planner with our application. Note that I have at most one or two planning entities in the Solution (in my test case).

Re: [rules-users] Efficiency questions about DSL

2014-03-18 Thread mfalaize
Hum, actually for the first point it doesn't work only when DSL files come from a dependent maven project (I have generic DSL files in a separate maven project). -- View this message in context: http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028779.html Sent from

[rules-users] CompositiveClassLoader$CachingLoader$load method intermittently hangs

2014-03-18 Thread mikerod
I cannot easily reproduce an issue that I'm seeing. This is an intermittent issue that happens probably 3% of the time or less. This is observed behavior in * Drools v5.6.0.Final, using * Janino compiler v2.5.16 transitively Drools brings * mvel2 v2.1.8.Final We have an environment that loads

[rules-users] KnowledgeAgent, when to stop notifier/scanner services?

2014-03-18 Thread Peach Wyss
Hy all I have seen a few references warning that the change notifier and change scanner services must be stopped or a memory leak can occur, but where would I stop them? The knowledge base needs to live on and be updated as new knowledge sessions are created from it. So the only place I

[rules-users] Reloading DRL files from a web interface + incoming requests

2014-03-18 Thread Julius
Hello. I am new to Drools and have seen similar questions to mine, but I need some more detail and would love to see some insight from a Drools pro for our particular scenario :-) We are testing Drools as part of our web application backend. We want Drools to make some decisions based on a

[rules-users] Programmatically load rules classloader NullPointerException

2014-03-18 Thread GrantWang
Hello, I was trying to build a kie module and programmatically load DRL rules at runtime. But I found for any new event type I wanted to monitor, I had to add @rule(event) when I 1st created the module. If I didn't, I would get the following exception when I tried to updateToVersion. My java

[rules-users] Drools Case Based Reasoning

2014-03-18 Thread gboro54
This sounds like something that could be accomplished with Planner. Is that the case or am I completely off the mark here? My company is looking at technologies to do case base planning and since we already use drools for other business rules figure I would poke around -- View this message in

Re: [rules-users] Drools Case Based Reasoning

2014-03-18 Thread Wolfgang Laun
CBR as in http://en.wikipedia.org/wiki/Case-based_reasoning? If the number of identical variables, added with weights, is the target function, a simple search strategy should be sufficient for finding the best past case. -W On 18/03/2014, gboro54 gbor...@gmail.com wrote: This sounds like

Re: [rules-users] Drools Case Based Reasoning

2014-03-18 Thread gboro54
That is correct and that is my thought. My company I feel likes to over complicate things at times. My thought would be to use drools queries to handle the searching of previous cases for the solution. Does that seem like a reasonable approach? laune wrote CBR as in

Re: [rules-users] Drools Case Based Reasoning

2014-03-18 Thread Wolfgang Laun
On 18/03/2014, gboro54 gbor...@gmail.com wrote: That is correct and that is my thought. My company I feel likes to over complicate things at times. My thought would be to use drools queries to handle the searching of previous cases for the solution. Does that seem like a reasonable approach?

Re: [rules-users] Drools Case Based Reasoning

2014-03-18 Thread gboro54
Agreed and understood. I am not throwing out any solid conclusions about an approach. I can also see a case for technical rules. laune wrote On 18/03/2014, gboro54 lt; gboro54@ gt; wrote: That is correct and that is my thought. My company I feel likes to over complicate things at times.

Re: [rules-users] physical resource allocation problem

2014-03-18 Thread Scott Danner
Thanks Geoffrey! On Tue, Mar 18, 2014 at 11:51 AM, Geoffrey De Smet ge0ffrey.s...@gmail.comwrote: On 18-03-14 09:24, Scott Danner wrote: Hello, We have a resource allocation problem. Could this be solved with OptaPlanner? Here it is: There are N projects located in various places

Re: [rules-users] problem in sliding window

2014-03-18 Thread Davide Sottara
All the context of a session, including the windows, goes away when the session is disposed. In general, please try to post all your DRL and as much information you can on how the sessions are built and managed. That makes it easier to understand what is going on. Thanks! On 03/18/2014 07:20 AM,

Re: [rules-users] Pojos not visible in Guided DT

2014-03-18 Thread Michael Anstis
That is strange. Can you provide steps to reproduce? Have you tried 6.1.0.Beta1? Sent on the move On 18 Mar 2014 22:30, Joe White joe.wh...@recondotech.com wrote: In the workbench has anybody seen a case where you can create a decision table with the Wizard and it sees your classes. But the