Re: [rules-users] Concurrency problem in PackageClassLoader

2011-09-29 Thread S_Kumar_P
I also was getting this error. I brought out package building logic to execute once, and KnowledgeSession related logic to repeat the required number of times. Seems there required some delay in preparing rules related classes into one package during iteration and loading the same. Above step

[rules-users] Guvnor and Axis2

2011-09-29 Thread Mario Viertel
Hi, I am using an own web service (Axis2; tomcat 6) to interact with Guvnor. All drools related jars (drools*, mvel*, knowledge-api) are contained in the lib folder of service's aar file. Via knowledge-api the service interacts with the guvnor repository. Unfortunately this doesn't work. At

Re: [rules-users] [rules-dev] java.lang.NullPointerException while testing

2011-09-29 Thread Esteban Aliverti
First of all, I' moving this to drools-users list. The problem seems to be that the application is not finding the change-set file. Where is the ChangeSet(12).xml file placed? Is it reachable at the first level of the classpath? Try to debug and see if the resource is in the classpath. Try with

Re: [rules-users] DROOLS PLANNER - getting started

2011-09-29 Thread vik
Do you now if org.drools.eclipse.feature - 5.1.1 is compatible with drools-planner 5.2? Thanks :) -- View this message in context: http://drools.46999.n3.nabble.com/DROOLS-PLANNER-getting-started-tp3030567p3378637.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] DROOLS PLANNER - getting started - drools-eclipse-plugin

2011-09-29 Thread Geoffrey De Smet
I 'd recommend using org.drools.eclipse.feature - 5.2 with drools planner 5.2 because drools-planner 5.2 uses drools-core 5.2 and org.drools.eclipse.feature - 5.2 uses the same exact version. But 5.1.1 probably mostly works too to edit the score drl files. Op 29-09-11 10:16, vik schreef: Do

Re: [rules-users] DROOLS PLANNER - getting started - drools-eclipse-plugin

2011-09-29 Thread vik
Do you know if I have to install JBoss Drools Guvnor to work with Drools Planner to write rules? -- View this message in context: http://drools.46999.n3.nabble.com/DROOLS-PLANNER-getting-started-tp3030567p3378730.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] DROOLS PLANNER - getting started - drools-eclipse-plugin

2011-09-29 Thread Geoffrey De Smet
Not needed, it's optional. Op 29-09-11 11:05, vik schreef: Do you know if I have to install JBoss Drools Guvnor to work with Drools Planner to write rules? -- View this message in context: http://drools.46999.n3.nabble.com/DROOLS-PLANNER-getting-started-tp3030567p3378730.html Sent from

Re: [rules-users] DROOLS PLANNER - getting started - drools-eclipse-plugin

2011-09-29 Thread vik
I apologize for bothering you so frequently :)... I still have a problem... I imported examples\source into eclipse and each time a run it the following error shows up The working directory should be set to drools-planner-examples. at

Re: [rules-users] Not able to call parameterizied Java method in LHS

2011-09-29 Thread Tinku
I am facing one more issue with calling a method in lhs of the rule .. When I call a method as mentioned below ('getValue' is the method in class 'customObject' and 'numberofObjects' is method in class 'AnotherObject') ; the drl file has problems in saving in eclipse. The error says like

Re: [rules-users] Regression with Drools 5.3.0-CR1

2011-09-29 Thread Edson Tirelli
JBRULES-2995 is fixed now, except for a corner case when using .class literals with fully qualified class names. This will be fixed in MVEL for 5.3 final release. This works fine now: Primitives( classAttr == (java.lang.String.class), eval(classAttr.equals(

Re: [rules-users] Concurrency problem in PackageClassLoader

2011-09-29 Thread Ziggy
Thank you Santhosh, Actually we already have the package building logic out of the session execution stuff. We will try to create directly a Stateful Session for each call as you did. For now we are using our Stateless Session as a factory for the Stateful (@see

Re: [rules-users] Expiry of events not occurring for sliding window

2011-09-29 Thread cfuser
I've done a bit more looking -- based upon what I've read and what I've seen via testing, you don't need to have a temporal constraint on a CE for it to be expired, provided there is an explicit one declared. Is that correct? That said... Ok, maybe there is a silly mistake here, but I'm seeing

[rules-users] Package snapshots in Guvnor have wrong list of rules

2011-09-29 Thread sappelhans
Using Guvnor 5.1.1, I build a package using a custom selector that filters on a rules' status; then take a snapshot. In the Package Snapshot tab selecting Business rule assets from the navigation tree shows all the rules from the package, not the filtered subset. But I know the selector worked

Re: [rules-users] Guvnor Repository Report

2011-09-29 Thread sanjuk72
Thank you Jilu, this is very helpfull. From: jliu [via Drools] ml-node+s46999n3378073...@n3.nabble.com To: sanjuk72 sank1...@yahoo.com Sent: Wednesday, September 28, 2011 10:51 PM Subject: Re: [rules-users] Guvnor Repository Report On 2011/9/29 2:07, Vincent

Re: [rules-users] Drools 5 PseudoClock with StatelessKnowledgeSession

2011-09-29 Thread sanjuk72
Hi, I wanted to know if you found any solution to this. I have a same issue, I need to run the legagcy rules and for that need to change the date that rules have using the date-effective and date-expiry. I was thinking of using this functionality, but it seems not available with Stateless

Re: [rules-users] Drools 5 PseudoClock with StatelessKnowledgeSession

2011-09-29 Thread Mark Proctor
Look at the interval timer test here from line 254 onwards, and the subsequent cron tests: https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/integrationtests/TimerAndCalendarTest.java#L254 On 13/10/2009 00:32, Ben Scott wrote: Note: This e-mail is