Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread jps
Hello manstis, Thanks for you reply. Just tried with 6.1.0.CR2 (wildfly-8.1.0.Final + java version 1.7.0_11), but still the same error :(( 10:42:46,359 INFO [org.guvnor.m2repo.backend.server.M2Servlet] (default task-14) POST request received. 10:42:46,851 ERROR [io.undertow.request] (default

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Mario Fusco
Thanks for your clarifications. The problem was in mvel. I reproduced and fixed it ( https://github.com/mvel/mvel/commit/874b03a8c5700661b503d96ad5d2ce1397cde18a ). The fix will be available when we will drop another mvel release and integrate it. For now I can only confirm that field names

Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread Michael Anstis
I've tried AS7 and Wildfly CR2 with a simple JAR (we use to kick the tyres of the M2Repo Upload stuff) and it works fine on both. I have to speculate that the problem you're encountering is something specific to the JAR you're trying to upload. Can you please create a JIRA at

Re: [rules-users] condition on size of list

2014-07-14 Thread Michael Anstis
See my other reply. On 11 July 2014 10:08, sumit dhaniya sumitdhan...@gmail.com wrote: After restarting the server it started showing list in import suggestions but still it doesn't shows size and other list operation on the list's in my object. For eg. class A { ListB bList = new

Re: [rules-users] check list size

2014-07-14 Thread Michael Anstis
I had a look, but was able to use a List without problem (6.1.CR2): 1) Made a Maven-ized JAR containing the following class: package org.anstis; import java.util.List; public class MyListClass { private List myList; public List getMyList() { return myList; } public

Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread jps
For reference : https://issues.jboss.org/browse/GUVNOR-2108 -- View this message in context: http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR1-wildfly-error-when-upload-jar-M2-Repo-tp4030276p4030336.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
Hello, Class ProducerMasterForRules isn't valid; it references getPCuisines() that isn't in the class. Since your rule uses the affected public methods getPrimaryCuisine() and getSecondaryCuisine() can you provide the missing implementation? I could mock something up, but want to be sure to use

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
Hello, I wrote a test that checks the marshalling of the DRL and it passes OK. It could be that the workbench is failing fast midway through trying to marshal due to the MVEL issue Mario mentions (the test doesn't pro grammatically build meta-data from the classes in the model; whereas the

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
FYI, test http://github.com/droolsjbpm/drools/commit/ee232266c On 14 July 2014 13:54, Michael Anstis michael.ans...@gmail.com wrote: Hello, I wrote a test that checks the marshalling of the DRL and it passes OK. It could be that the workbench is failing fast midway through trying to

Re: [rules-users] kie-wb 6.1.CR2

2014-07-14 Thread sumit dhaniya
Thanks Toni On Mon, Jul 14, 2014 at 11:13 AM, Toni Rikkola toni.rikk...@gmail.com wrote: You can get 6.1.0.CR2 from Nexus. https://repository.jboss.org/nexus/index.html#nexus-search;quick~kie-wb-dis Toni On la, 2014-07-12 at 02:04 -0700, Sumit Dhaniya wrote: Is there any link from

[rules-users] Problem when I cleaning the production memory.

2014-07-14 Thread braveheart85
Hello guys, I have a very strange behaviour when i execute this fragment of code: private void _clearKnowledge() { try { CollectionKnowledgePackage knowledgePackages = _knowledgeBase.getKnowledgePackages(); for (KnowledgePackage singlePackage : knowledgePackages) {

Re: [rules-users] Problem when I cleaning the production memory.

2014-07-14 Thread braveheart85
I forgot to say what version I'm using. The version of Drools is 5.5. -- View this message in context: http://drools.46999.n3.nabble.com/Problem-when-I-cleaning-the-production-memory-tp4030341p4030342.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Problem when I cleaning the production memory.

2014-07-14 Thread Davide Sottara
Can you try 5.6 or a later version? That part of logic was improved in 5.6, and rewritten in 6.x Davide On 07/14/2014 04:54 PM, braveheart85 wrote: I forgot to say what version I'm using. The version of Drools is 5.5. -- View this message in context:

Re: [rules-users] Problem when I cleaning the production memory.

2014-07-14 Thread braveheart85
Hi Davide, Thanks for the reply. Unfortunately I cannot migrate to version 5.6 or newer. Today I have inspected that part of code, but it is quite huge and complex in the Reeteo part. I have seen the NullPointer is due to the nodes retrieved from the rules Map (line 250). Moreover, this

[rules-users] Evaluations are increasingly slower

2014-07-14 Thread sumantp
Hi, I have a rule that looks for 2 consecutive events for the same entity. To stress test it, I inserted 10K consecutive events. I'm calling fireAllRules() after each event is inserted. I'm printing out timestamps after every 100 events. I'm noticing that insertions/evaluations are increasingly

Re: [rules-users] check list size

2014-07-14 Thread sumit dhaniya
Thanks for the example Mike just upgraded to 6.1.CR2 it's working in it. Just need to add a BRL fragment if want to you in a Decision table. Thanks and Regards On Mon, Jul 14, 2014 at 4:58 PM, Michael Anstis michael.ans...@gmail.com wrote: I had a look, but was able to use a List without

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread sumit dhaniya
Upgraded to 6.1CR2 it's fixed now. On Mon, Jul 14, 2014 at 6:26 PM, Michael Anstis michael.ans...@gmail.com wrote: FYI, test http://github.com/droolsjbpm/drools/commit/ee232266c On 14 July 2014 13:54, Michael Anstis michael.ans...@gmail.com wrote: Hello, I wrote a test that checks the

Re: [rules-users] Workaround: EventFactHandle retained in memory after FactCount reaches 0 for temporal-based rule

2014-07-14 Thread Kent Anderson
https://github.com/droolsjbpm/drools/pull/358 Per your advice, this pull request sets up the memory leak, but it cannot verify that it exists without diving into internal drools structures. Please let me know what else we can do to facilitate fixing this issue. On Jul 14, 2014, at 2:09 PM,

Re: [rules-users] Workaround: EventFactHandle retained in memory after FactCount reaches 0 for temporal-based rule

2014-07-14 Thread Davide Sottara
Thanks, we'll look at it tomorrow Davide On 07/15/2014 02:09 AM, Kent Anderson wrote: https://github.com/droolsjbpm/drools/pull/358 Per your advice, this pull request sets up the memory leak, but it cannot verify that it exists without diving into internal drools structures. Please let me