Re: [rules-users] Drools 6 and Gradle?

2014-01-28 Thread Andrew Berman
Great, thanks Mark! On Tue, Jan 28, 2014 at 4:06 PM, Mark Proctor wrote: > We require jars that are built to conform to maven standards. But they do > not need to be built with maven. That means they do need a pom.properties > in there. If gradle does not add that automatically, you should be ab

Re: [rules-users] ReteOO, KnowledgeBase and KnowledgeSession relation

2014-01-28 Thread Mark Proctor
On 29 Jan 2014, at 00:50, Harpreet Singh wrote: > Hi, > > I understand that the ReteOO network is built when a KnowledgeBase is > created. Can you please tell me: > - if any modifications are made to this network after a session (say > StatefulKnowledgeSession) has been created from this Know

Re: [rules-users] Drools, slf4j and Eclipse Error on DroolsTest.Java

2014-01-28 Thread Inastrol
Figured out the problem. Didn't have Maven installed as a plug-in correctly. The book I'm using to learn Drools, didn't include that step. Terry Moriarty wrote: > This isn't my code. It's created when a Drools project is created in > Eclipse. I guess that's why this is so frustrating. It'

[rules-users] ReteOO, KnowledgeBase and KnowledgeSession relation

2014-01-28 Thread Harpreet Singh
Hi, I understand that the ReteOO network is built when a KnowledgeBase is created. Can you please tell me: - if any modifications are made to this network after a session (say StatefulKnowledgeSession) has been created from this KnowledgeBase? - any optimizations made at the session level? (such

Re: [rules-users] permgen error for simple rule stress test

2014-01-28 Thread Mark Proctor
permien issus were fixed in the 5.6 release, and 6.0 release, by Davide Sottara. Mark On 28 Jan 2014, at 21:05, anjana.ackroyd wrote: > We are running a simple stress test (whose code I will paste below) for a > numbercompare rule file) > We get the following error before the test finishes. Whic

Re: [rules-users] kie-workbench external maven repo

2014-01-28 Thread Mark Proctor
It obeys the settings.xml file for repository configurations. http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/KIEChapter.html 4.2.3.5. Settings.xml and Remote Repository Ssetup Mark On 28 Jan 2014, at 21:39, gboro54 wrote: > Is there a way to setup the kie workbench to point t

Re: [rules-users] Drools 6 and Gradle?

2014-01-28 Thread Mark Proctor
We require jars that are built to conform to maven standards. But they do not need to be built with maven. That means they do need a pom.properties in there. If gradle does not add that automatically, you should be able to automate that yourself. The pom.properties is a very simple file, that r

[rules-users] Drools 6 and Gradle?

2014-01-28 Thread Andrew Berman
Hello, I keep running into an issue where Drools is looking for a pom.properties file and I get an error since I'm using Gradle. Does Drools depend on Maven? I noticed there is a lot of code looking for Maven and pom.xml and pom.properties, why is that? Thanks! _

[rules-users] kie-workbench external maven repo

2014-01-28 Thread gboro54
Is there a way to setup the kie workbench to point to an internal maven repo to pull internal libraries? -- View this message in context: http://drools.46999.n3.nabble.com/kie-workbench-external-maven-repo-tp4027897.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] permgen error for simple rule stress test

2014-01-28 Thread anjana.ackroyd
We are running a simple stress test (whose code I will paste below) for a numbercompare rule file) We get the following error before the test finishes. Which seems odd for one rule javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space This test is run against 3 loablanced tomca

Re: [rules-users] java dialect and declared types

2014-01-28 Thread Mark Proctor
please do pop onto irc and provides us with more details on the performance testing you are doing. We need to add more tests to our test suite, to track any regressions. http://www.jboss.org/drools/irc Mark On 23 Jan 2014, at 15:11, pmander wrote: Thanks, This was just for a performance test t

Re: [rules-users] java dialect and declared types

2014-01-28 Thread Mark Proctor
Are you able to provide a test, for something that produces this? Mark On 28 Jan 2014, at 10:58, pmander wrote: > I've tried to reproduce this in a tester but all my unit tests show 6.0.0 > marginally quicker. The rules and data are simplified for the test so I'll > try something closer to what

Re: [rules-users] Drools, slf4j and Eclipse Error on DroolsTest.Java

2014-01-28 Thread Inastrol
This isn't my code. It's created when a Drools project is created in Eclipse. I guess that's why this is so frustrating. It's supposed to demonstrate a very simple Drools program and I can't get it to work. It's hard to debug someone else's code when you don't know the language yet. Code is

[rules-users] Moves Defined from Current State

2014-01-28 Thread jonathan.labin
I'm using Optaplanner 6.0.1 and I'm having trouble defining a type of move that I'd like to define. In my domain, there may be an opportunity to split the value assigned to one entity across two entities. For example: E1=5could become E2=2, E3=3 The trouble is that in some cases this split ca

Re: [rules-users] Null Pointer Exception with 10K+ kBase objects

2014-01-28 Thread Mario Fusco
I downloaded your zip file and reproduced the problem you reported (even on master branch). I'll start investigating it in a bit and I'll keep you updated with my findings. Thank you, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Null-Pointer-Exception-with-10K-kBase

Re: [rules-users] Null Pointer Exception with 10K+ kBase objects

2014-01-28 Thread jhusby
Here is my test project: DroolsTest.zip Change the TOTAL_OBJECTS member of Main.java to see the impact of having a large number of objects: * If you set it to 1K, everything should work fine. * If you set it to 10K, it will NPE

Re: [rules-users] Null Pointer Exception with 10K+ kBase objects

2014-01-28 Thread Davide Sottara
Could you post the full test case (rules + java)? Thanks Davide On 01/28/2014 05:10 PM, jhusby wrote: > I'm trying to stress-test Drools to see what its limits are, and I stumbled > across a NPE when I have a large amount of facts in a stateful > knowledgebase: > > java.lang.NullPointerException

[rules-users] Null Pointer Exception with 10K+ kBase objects

2014-01-28 Thread jhusby
I'm trying to stress-test Drools to see what its limits are, and I stumbled across a NPE when I have a large amount of facts in a stateful knowledgebase: java.lang.NullPointerException at org.drools.core.phreak.PhreakTimerNode.doPropagateChildLeftTuple(PhreakTimerNode.java:355) at

Re: [rules-users] Null pointer exception when using global in rdrl 6.0.1.F

2014-01-28 Thread SrjTx
Thanks! -- View this message in context: http://drools.46999.n3.nabble.com/Null-pointer-exception-when-using-global-in-rdrl-6-0-1-F-tp4027876p4027886.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing lis

[rules-users] Drools as osgi bundle in Jboss AS

2014-01-28 Thread km.sujeet
Hi, I am trying to run "Hello World" using drools as osgi bundle in Jboss AS. Deployed below jars to Jboss container : drools-compiler-6.0.0.Beta1.jar drools-core-6.0.0.Beta1.jar drools-templates-6.0.0.Beta1.jar kie-api-6.0.0.Beta1.jar kie-internal-6.0.0.beta1.jar While deploying my own bundle

Re: [rules-users] java dialect and declared types

2014-01-28 Thread pmander
I've tried to reproduce this in a tester but all my unit tests show 6.0.0 marginally quicker. The rules and data are simplified for the test so I'll try something closer to what i am seeing on the full system. I've just done another comparison and the results are shown in the attached image.

Re: [rules-users] OptaPlanner vehicle routing problem with "multiple depots"

2014-01-28 Thread milenko
Dear Geoffrey, I succeeded now to produce more Depots, so that each of them contains some vehicles. The optimisation works excellent. Some values are unclear to: - In the XML-Input file is the customerList: what is meant by milliReadyTime and milliDueTime (physical Dimension?). I understand that