Re: [rules-users] classloader problem in Drools 6.0.0.CR1 and CR2 (working in Beta5)

2013-09-06 Thread Martin Minka
this works today with 6.0.0-SNAPSHOT thank you for fixing it, Martin -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-classloader-problem-in-Drools-6-0-0-CR1-and-CR2-working-in-Beta5-tp4025726p4025837.html Sent from the Drools: User forum mailing list archive at

[rules-users] What is the defect tracking process for Drools Community Edition

2013-09-06 Thread adarsh . chaini
All, We are using drools as our rule engine in one of our mission critical application which is distributed in nature . Recently we have found a very bad memory leak with in the drools that does not clean the some of the listeners after the execution of the session(stateless in our case). This

Re: [rules-users] counter in slidingTime window with restriction

2013-09-06 Thread Alexander Wolf
Drools Version 5.5.0 FINAL Here's the code for session setup: KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource("myrule.drl"), ResourceType.DRL); // Check the builder for errors i

Re: [rules-users] counter in slidingTime window with restriction

2013-09-06 Thread Alexander Wolf
Ah sorry: the output: 1. fireAllRules() 2. fireAllRules() Events in last 3 seconds: 1 3. fireAllRules() Events in last 3 seconds: 2 4. fireAllRules() Events in last 3 seconds: 3 5. fireAllRules() Events in last 3 seconds: 3 6. fireAllRules() Events in last 3 seconds: 3 7. fireAllRules() Events in

[rules-users] Drools guvnor 5.2 model is not available

2013-09-06 Thread pritha.ghosh
Hi, Whenever I am setting the dialect as java the following error comes "[testdrl] Unable to generate rule invoker. CountryPriceModeltest cannot be resolved to a type CountryPriceModeltest cannot be resolved to a type" I am using guvnor 5.2 with jboss 6.1 Thanks, Pritha Please do not print th

[rules-users] Access the return value in Guvnor

2013-09-06 Thread Smurfs
Hi I am working on the guvnor in jboss. I have created a rule that use two objects Item and Tracker. It checks if the quantity in the ItemOrcer is greater than 20, then it sets the status in the Message object. KnowledgeBuilder kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder();

Re: [rules-users] Access the return value in Guvnor

2013-09-06 Thread Michael Anstis
There is no MEssage object in the code you paste. On 6 September 2013 11:10, Smurfs wrote: > Hi > > I am working on the guvnor in jboss. > I have created a rule that use two objects Item and Tracker. It checks if > the quantity in the ItemOrcer is greater than 20, then it sets the status > in >

Re: [rules-users] What is the defect tracking process for Drools Community Edition

2013-09-06 Thread adarsh . chaini
Thanks.Looks like there is a bug already.Need to verify the versions of the fix though it says it was fixed on 5.2 and we are on 5.3(unless there some internal dependencies that uses earlier version) https://issues.jboss.org/browse/JBPM-3347 Thanks & Regards, Adarsh SENIOR LEAD DEVELOPMENT S

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread adarsh . chaini
I think it all depends on the architecture and the type of application and the usage of rules with in those applications. Having a separate server adds another single point of failure and latency. The applications that are very distributed in nature and spread across 100's of JVM's would like

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread Genene Geda
The "rules as a service" app I was talking about for option #2 is using spring and it is a RESTful webapp, but dedicated to handle "rules requests". There is no DRL handled by the "rules service" , the DRL / decision tables resides outside this "rules service" app. It is a java app devoted to t

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread Genene Geda
You said : Also we do not see drools serving multiple applications at this point of time or in near future. > then, architecturally you may not need option #2. Genene -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of

Re: [rules-users] Potential Bug in Guvnor with usage of "from collection" and "Any of the following are true"

2013-09-06 Thread Michael Anstis
What version of Guvnor are you using? Can you check with 5.5? I have a vague recollection that this has been fixed. If the problem remains in 5.5 please raise a JIRA at https://issues.jboss.org/browse/GUVNOR On 6 September 2013 20:07, Sean Su wrote: > I found that the statement generated from

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread Stephen Masters
So you have 2 different answers, and neither of us provided performance as a reason for our choices. :) I should point out that I also prefer to have rules services (both REST and SOAP), which keep business logic separate from front-end applications. I just prefer to build Spring web apps and u

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread Genene Geda
My preference is option #2 - REST based Why? That way you will have "rules as a service" and you can serve more than one application. Your interface to the GUVNOR repository would be from this "rules service" server instead of each application duplicating the same code. I am building "rules serv

Re: [rules-users] What is the defect tracking process for Drools Community Edition

2013-09-06 Thread Stephen Masters
That sounds like a bug I came across a little while back. A bug in my code, not Drools. ;) If you create listeners and attach them to a session, then of course, you need to remove them manually. The session will have references to them, so they can never be garbage collected. It's the same wit

Re: [rules-users] Drools guvnor 5.2 model is not available

2013-09-06 Thread Stephen Masters
Probably worth showing us the code for "testdrl". On 6 Sep 2013, at 09:48, pritha.gh...@wipro.com wrote: > Hi, > > Whenever I am setting the dialect as java the following error comes > > “[testdrl] Unable to generate rule invoker. CountryPriceModeltest cannot be > resolved to a type Country

[rules-users] Guvnor error when compiling imported process

2013-09-06 Thread pritispin
guvnor-error.png Hi Guvnor Team, I am having a process definition in Eclipse and it runs fine. But we want to use Guvnor as the repository so I imported the process definition from Eclipse to Guvnor but I get following error whe

Re: [rules-users] Integrate Drools with Java application, need recommendations

2013-09-06 Thread srikanthmalli
Thank you all for your valuable input. It seems like performance is not the issue between the 2 options. So I really need to see the differences between 2 options to make my decision. It’s not going to be 100% rule based business logic, we evaluated whole application and decided to use “rules based

Re: [rules-users] Potential Bug in Guvnor with usage of "from collection" and "Any of the following are true"

2013-09-06 Thread Sean Su
Unfortunately, it is "Version 5.5.0.Final" thanks Sean On Fri, Sep 6, 2013 at 3:34 PM, Michael Anstis wrote: > What version of Guvnor are you using? > > Can you check with 5.5? I have a vague recollection that this has been > fixed. > > If the problem remains in 5.5 please raise a JIRA at > ht