Re: [rules-users] Distributed Drools

2014-04-24 Thread Esteban Aliverti
n of drools-mas used drools-grid to try to do something like this (distributed working memories), but this implementation was discarded after drools-grid was discontinued (it actually never passed the incubation period). Regards, XXXXXXXX Esteban Aliverti -

Re: [rules-users] Identical Facts over rules, results being cached?

2014-04-09 Thread Esteban Aliverti
. Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Apr 9, 2014 at 11:16 AM, Wolfgang Laun wrote: > If it's general enough, it is not something to be shrugged off as "not > that hard". > > You'll have

Re: [rules-users] Identical Facts over rules, results being cached?

2014-04-09 Thread Esteban Aliverti
anism shouldn't be that hard (at least for simple - no nested- Facts) and once you have it you can validate the benefits. Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Apr 9, 2014 at 11:02 AM, Leonard93 wrote: > Woul

Re: [rules-users] Buggy query behavior in drools 5.6 and 6.1-SNAPSHOT ??

2014-01-23 Thread Esteban Aliverti
Ok, I think I have a fix already in place. I'll add a test in MiscTest (drools-compiler) and create a Pull Request. Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Jan 23, 2014 at 9:15 AM, Esteban Aliverti < esteb

Re: [rules-users] Buggy query behavior in drools 5.6 and 6.1-SNAPSHOT ??

2014-01-23 Thread Esteban Aliverti
Let me see what I can do. Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Jan 23, 2014 at 12:18 AM, Davide Sottara wrote: > Esteban, I have created a ticket for this with > an explanation of the weird behavior. >

Re: [rules-users] Buggy query behavior in drools 5.6 and 6.1-SNAPSHOT ??

2014-01-22 Thread Esteban Aliverti
Good catch Davide. I can confirm that not using nested accessors the query works as expected. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jan 22, 2014 at 6:57 PM, Davide Sottara wrote: > Indeed, the use case can

Re: [rules-users] bound variable scope

2013-11-06 Thread Esteban Aliverti
e) ) then //All the Event objects matching the LHS are going to be in the set. channels["reset"].send("Alarm resolved."); end Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Nov 5,

Re: [rules-users] why define the returnedProcessor twice

2013-10-17 Thread Esteban Aliverti
#L86 6.0: https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel-legacy5/src/main/java/org/drools/camel/component/DroolsPolicy.java#L67 Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Oct 17, 2

Re: [rules-users] How does drools provides an explanation of how the solution was arrived?

2013-10-04 Thread Esteban Aliverti
Let me add that you can also use a custom AgendaEventListener to keep track of all the rules that were executed. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Oct 4, 2013 at 10:20 AM, rjr201 wrote: > This is a statem

Re: [rules-users] how to check difference between two .pkg files

2013-09-10 Thread Esteban Aliverti
as a starting point ( https://github.com/droolsjbpm/drools/blob/5.6.x/drools-core/src/main/java/org/drools/agent/impl/BinaryResourceDiffProducerImpl.java), but be sure that it doesn't implement all possible cases. Regards, XXXX Esteban Aliverti - B

Re: [rules-users] Question on "From Collect"

2013-07-30 Thread Esteban Aliverti
want to have the 'missing' methods for Lists and Sets, you just need to import those classes in the package you are working on. Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jul 29, 2013 at 5:33 PM, Wolfgang Laun wrote

Re: [rules-users] Iterating string objects inside Arraylist

2013-07-17 Thread Esteban Aliverti
Hi, Drools supports 'contains' and 'member of' operators. You can find more information about them in the documentation. Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jul 17, 2013 at 7:49 AM, Ganesh R

Re: [rules-users] Unexpected, Unclear, Unperiodic error

2013-05-15 Thread Esteban Aliverti
? Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, May 15, 2013 at 7:10 AM, abhinay_agarwal < abhinay_agar...@infosys.com> wrote: > I have a piece of code which builds the kbase, when i run it from my local > system as a java application with guvnor de

Re: [rules-users] Use of the binding variable

2013-05-09 Thread Esteban Aliverti
: Person($name2: name, *this != $p1*) then System.out.println("Found "+$p1+" with name '"+$name1+"' and "+$p2+" with name '"+$name2+"'"); end Regards, Esteban Aliverti - Blog @ http://i

Re: [rules-users] Comparing KnowledgePackages for Equality

2013-03-21 Thread Esteban Aliverti
Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Mar 21, 2013 at 2:27 PM, gqmulligan wrote: > Thanks for the suggestion Wolfgang. The problem is that hibernate does > serialize the packages to compare the bytes and they are

Re: [rules-users] When - Then In DSL Rule

2013-02-18 Thread Esteban Aliverti
Yes you can. The problem you are having is because "Charge a fee" is using $item variable and that variable is not bound in "When the loan application is submitted". Best Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.

Re: [rules-users] Custom UI to create rules and inserting them via REST API

2013-01-29 Thread Esteban Aliverti
As far as I know, there is no API for DRL creation. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jan 28, 2013 at 2:32 PM, benq2188 wrote: > Esteban thanks for the quick reply, so in this case my question is, wh

Re: [rules-users] Custom UI to create rules and inserting them via REST API

2013-01-28 Thread Esteban Aliverti
If you are not planning to use Guvnor to author your rules, there is no need to store them in BRL format. You can store your rules as 'technical rules' directly. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On M

Re: [rules-users] form of accumulate in examples is depricated?

2013-01-22 Thread Esteban Aliverti
accumulate functions is not enough you can create your accumulate function in a Java class and then register it in drools and use it in your DRL. Please refer to the documentation for further information. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Guvnor 5.5 being WIERD

2013-01-17 Thread Esteban Aliverti
Maybe a screenshot of Guvnor's editor might help. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Jan 17, 2013 at 12:01 PM, starfish15 wrote: > > Manstis, > > If you notice the code written to execu

Re: [rules-users] How are rules imported into the knowledgebuilder?

2013-01-16 Thread Esteban Aliverti
st Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jan 16, 2013 at 11:33 AM, Bojan Janisch < bojan.jani...@scai.fraunhofer.de> wrote: > Hello everybody, > > the problem that I'm facing right know is, > that I wa

Re: [rules-users] Hello and my first question

2013-01-14 Thread Esteban Aliverti
You can take a look at 'Conditional named consequences' to see if that is what you need: http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html_single/#releaseNotes_5.5.0_Expert Best Regards, XXXX Esteban Aliverti - B

Re: [rules-users] Listen event in different package

2013-01-11 Thread Esteban Aliverti
According to the code you have shown, OtherItem is not defined as an @role(event) but you are using it to do time-related comparisons. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Jan 11, 2013 at 12:59 PM, Wolfgang

Re: [rules-users] Correlating 2 independent streams of events

2013-01-07 Thread Esteban Aliverti
me rule (and not coming from a 'from' or any other black box). I'll continue digging on this, but it seems that the only solution will be to use explicit time stamps and then use them instead of the events in my marker fact. Best Regards, XX

Re: [rules-users] Guvnor rule validation using Java Code?

2013-01-02 Thread Esteban Aliverti
You can get the whole source code of the pkg (drl) an the model (jar) from Guvnor using rest and then you could try to compile the package in your app using Drools APIs. That is what Guvnor does. Best regards, On Jan 2, 2013 8:59 AM, "arup" wrote: > Thanks for your replies. > > Here is my requi

Re: [rules-users] Writing a rule to find a fact that has a minimum value

2012-12-19 Thread Esteban Aliverti
rule 'Smallest city' when $smallCity: City() not City(population < $smallCity.population) then System.out.println("This is the smallest city: "+$smallCity); end Best Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban

Re: [rules-users] A basic doubt about Drools Fusion

2012-12-07 Thread Esteban Aliverti
I think you have 2 main options here: - Invoke fireUnitlHalt() in an independent thread. - Invoke fireAllRules() after each insert() you have. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Dec 7, 2012 at 3:57

Re: [rules-users] A basic doubt about Drools Fusion

2012-12-07 Thread Esteban Aliverti
ll of fireAllRules() should fire the activation of the first object (and you will miss the activation of the second). Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Dec 7, 2012 at 1:55 PM, Adrián Paredes &

Re: [rules-users] Executing more than one rules having no infinite execution

2012-12-07 Thread Esteban Aliverti
Using drools.halt() is not considered a good practice at all. I would recommend you to read this post: http://ilesteban.wordpress.com/2012/11/16/about-drools-and-infinite-execution-loops/ Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Value is not reflected in Fact Object at Drool Client Side

2012-12-05 Thread Esteban Aliverti
, nor understood, by drools. In order to tell the agent which resources should it use, you must provide a change-set pointing to those resources. You can find more information about change-sets in Drools documentation. Best Regards, XXXX Esteban Aliverti - Blog @

Re: [rules-users] keep only one, retract all other

2012-11-30 Thread Esteban Aliverti
s you will have. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Nov 30, 2012 at 10:06 AM, Wolfgang Laun wrote: > It seems you are using dialect "mvel"? This doesn't work > in 5.2.0, 5.3.0 and 5.4.0. (I haven't t

Re: [rules-users] lock-on-active clarification needed

2012-11-16 Thread Esteban Aliverti
I've put together my ideas and findings in this topic in my blog: http://ilesteban.wordpress.com/2012/11/16/about-drools-and-infinite-execution-loops/ Feel free to read it and provide feedback if desired. Best Regards, XXXX Esteban Aliverti - Blog @

Re: [rules-users] lock-on-active clarification needed

2012-11-15 Thread Esteban Aliverti
: do not create activations of this rule (no matter if using update(), modify(), insert() or retract()) if the agenda group where it belongs is active. Best Regards! Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Nov 15, 2012 at 7:54 AM

Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-09 Thread Esteban Aliverti
it for all your 'wait points'. Best Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Nov 9, 2012 at 3:18 PM, dunnlow wrote: > Salaboy, the issue I have is that I want users to be able to see the > process &g

Re: [rules-users] Error in adding BRL in Guvnor

2012-10-30 Thread Esteban Aliverti
If you are using the binary version of your package you should use ResourceType.PKG. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Oct 30, 2012 at 7:15 AM, vargheseps wrote: > I have created a Model na

Re: [rules-users] Local Variable

2012-10-05 Thread Esteban Aliverti
Did you read the documentation about 'globals'? Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Oct 5, 2012 at 1:46 PM, joy wrote: > Hi > > i need local variables in drl file. > it should hol

Re: [rules-users] Drools 5.4 final and jbpm: problem in acces process variable

2012-09-27 Thread Esteban Aliverti
y, what is 'DroolsAuthorizationService.populateResultFields(decisionList);' doing? Best Regards, XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Sep 27, 2012 at 1:10 PM, Manasi wrote: > hi, > > heres is the handler code in service task : > > I h

[rules-users] How does 'from' cache works?

2012-09-12 Thread Esteban Aliverti
real fact but I would like to understand why I'm experiencing the described behavior. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com ___ rules-users mailing list rules-users@lists.

Re: [rules-users] Understanding Rules Firing Sequence

2012-08-28 Thread Esteban Aliverti
algorithm is no a so common task. It is preferable to write the rules in a way they don't have inconsistencies. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 28, 2012 at 8:17 AM, tanug wrote: > The conflict re

Re: [rules-users] Problem importing processes from one system to another

2012-08-26 Thread Esteban Aliverti
, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Sun, Aug 26, 2012 at 2:52 PM, David Shields OpenCDS < david.shie...@opencds.org> wrote: > I have created a repository on my own computer (localhost:8080) which > contains a large number of rules and several processes, and

Re: [rules-users] Question about the Nature of Ruleflows

2012-08-21 Thread Esteban Aliverti
going to pick the first one. I would suggest to use different process instances for different scenarios. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 11:14 PM, BenjaminWolfe wrote: > Thanks Wolfg

Re: [rules-users] fireUntilHalt() is halt forever

2012-08-21 Thread Esteban Aliverti
You can still have different change-sets pointing to different resources (you can share these resources too) for different kbases. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 5:21 PM, Rana wrote: >

Re: [rules-users] How to fire rules of a specific rule file from ChangeSet

2012-08-21 Thread Esteban Aliverti
I would say to have a Map where the keys are "AndroGel", "Another Thing", etc and the value is the kbase containing only the rules that apply to that particular product. Best Regards XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpre

Re: [rules-users] fireUntilHalt() is halt forever

2012-08-21 Thread Esteban Aliverti
Instead of grouping your rules using agenda-group maybe you could partition your kbase to only have the rules for a particular Product (?) Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 5:00 PM, Rana

Re: [rules-users] How to execute knowledeg base remotely?

2012-08-19 Thread Esteban Aliverti
AFAIK, after you deploy the generated .war you will have a running instance of Drools Camel Server: http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-integration-docs/html_single/index.html#ch.server Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread Esteban Aliverti
http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html_single/index.html#d0e1802 Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Aug 17, 2012 at 4:06 PM, jasonxzhong wrote: > Sure I'll explain.

Re: [rules-users] modify and update is not working in the rule file

2012-08-16 Thread Esteban Aliverti
One last thing. Just like Wolfgang said: if you don't activate the agenda-group where the rule is defined its activations are never going to be executed. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Aug 16, 2012

Re: [rules-users] modify and update is not working in the rule file

2012-08-16 Thread Esteban Aliverti
) { FactHandle fact = workingMemory.getFactHandle(obj); workingMemory.update(fact, obj); } } Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Aug 16, 2012 at 4:25 PM, Esteban Aliverti

Re: [rules-users] modify and update is not working in the rule file

2012-08-16 Thread Esteban Aliverti
The project doesn't compile since the parent pom is missing. You don't event have the Drug and Program classes in it! Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Aug 16, 2012 at 4:02 PM, Rana wrote: >

Re: [rules-users] Slow compilation (4h) for a single rule

2012-07-24 Thread Esteban Aliverti
As far as I remember, there were some fixes around compilation time for edge cases in 5.4. Could you please give a try to 5.4 or even 5.5-SNAPSHOT? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Jul 24, 2012 at 1:11 PM

Re: [rules-users] com.google.protobuf.InvalidProtocolBufferException thrown when deserializing

2012-07-23 Thread Esteban Aliverti
eady exposed), or use a ridiculous large predefined size. Best Regards, XXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jul 23, 2012 at 3:06 PM, chrisLi wrote: > Hi Laune, > > Thank you very much for your quick response.

Re: [rules-users] Gwt Error while integrating guvnor with custom application.

2012-07-18 Thread Esteban Aliverti
XXXXXXXX Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jul 18, 2012 at 3:55 PM, soumya wrote: > Hi, > > I am new to drools, currently i have deployed drools-guvnor5.3 on jboss AS > 5.1GA. > I want to use guvnor asset editor in my custom application. I ha

Re: [rules-users] Error on Build Package Click

2012-07-16 Thread Esteban Aliverti
Could you paste the source code (DRL) of the package? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jul 16, 2012 at 6:30 PM, paco wrote: > I got the following error when I tryed to build the default sam

Re: [rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Esteban Aliverti
The problem is that you are inserting the fact type definition instead of the facts themselves. instead of insert *appType* and *incomeType* you should insert *application*and *income*. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] ruleflow-group

2012-07-04 Thread Esteban Aliverti
.html#d0e1862 Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Jul 3, 2012 at 10:02 PM, al so wrote: > I already have tons of rules today in drl file. I've both jBPM5 and dr

Re: [rules-users] convert drl file to rf?

2012-07-04 Thread Esteban Aliverti
a business rule language). So, using BPMN2.0 you can orchestrate the rules present in one or more DRL file. Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Jul 3, 2012 at 10:28 PM, al

Re: [rules-users] ruleflow-group

2012-07-03 Thread Esteban Aliverti
group. Best Regards, XXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jul 2, 2012 at 10:08 PM, al so wrote: > One could control the rule execution order using various different > constructs (like sali

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-07-03 Thread Esteban Aliverti
Hi Hrumph, The pull request is still open and waiting to be merged (even if now it can't be automatically merged): https://github.com/droolsjbpm/drools/pull/100 Could someone of the dev team please take a look at it? Best Regards, XXXX Esteban Ali

Re: [rules-users] Cannot get Custom Forms to work in Guvnor

2012-06-18 Thread Esteban Aliverti
What is the url you are using for the custom form? Did you try to see what is going on using something like firebug of chrome developer tools? Is the URL even invoked? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] guvnor-distribution-5.4.0.Final problem

2012-06-16 Thread Esteban Aliverti
All versions from 1 to 7? Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Sun, Jun 17, 2012 at 12:45 AM, Michael Anstis wrote: > If you receive Guvnor from the Drools download page it is not a Red

Re: [rules-users] unable to build expression for 'constraint' null': java.lang.NullPointerException with bpmn processes

2012-06-11 Thread Esteban Aliverti
Did you upload into Guvnor the jar where all the classes you are using in your processes are? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jun 11, 2012 at 9:17 PM, sumatheja wrote

Re: [rules-users] Performance issue

2012-05-31 Thread Esteban Aliverti
from the already existing kbase and use it. The compilation of the rules is (usually) one of the most time-consuming tasks you have in drools. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com

Re: [rules-users] Prevent saving the resource when using guvnorEditorObjRef, in case if validation fails.

2012-05-28 Thread Esteban Aliverti
AFAIK, there is no way to do what you have described. Feel free to file a new feature request in jira about this. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, May 28, 2012 at 8:44

Re: [rules-users] Guvnor 5.3 to 5.4.0.CR1 DSLVariableValue ClassCastException

2012-04-23 Thread Esteban Aliverti
Thanks a lot Mike, I have a really busy week. I really appreciate your help! Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Apr 23, 2012 at 5:06 PM, jemka wrote: > Hi M

Re: [rules-users] Guvnor 5.3 to 5.4.0.CR1 DSLVariableValue ClassCastException

2012-04-22 Thread Esteban Aliverti
I tried with a legacy repo when I introduced this feature. It seems that I missed something. A failing repository export would be great in order to start working on this problem. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com

Re: [rules-users] please provide a rule for events timeout cases

2012-04-13 Thread Esteban Aliverti
First question: are you using Drools Fusion? If yes, did you try with something like this?: EventRecord(type=EventRequest, id=1) not EventRecord(type=EventResponse, id=1, this after [1s,10s]). I'm using a 10s timeout here. Best Regards, XXXX Es

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-05 Thread Esteban Aliverti
Could you append the log output of the Knowledge Agent? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Apr 4, 2012 at 4:12 PM, albertorugnone wrote: > Thank you every body for y

Re: [rules-users] Drools performance

2012-03-30 Thread Esteban Aliverti
Model Definition? Rules Definition? How much memory your 100 objects are consuming? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 30, 2012 at 1:30 PM, Hassan wrote: >

Re: [rules-users] [drools-spring]Incompatibility with jdk 5

2012-03-29 Thread Esteban Aliverti
That bug that is now fixed in 5.4. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Mar 29, 2012 at 6:35 PM, jsoula wrote: > Hello, > > I'm using drools-spring versi

Re: [rules-users] Exception in thread "main" java.lang.ClassCastException:

2012-03-19 Thread Esteban Aliverti
This is a known bug. We are trying to solve it: https://issues.jboss.org/browse/JBRULES-2962 Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Mar 19, 2012 at 9:52 AM, srinivasasanda

Re: [rules-users] maven repository for drools 5.2.0.Final

2012-03-16 Thread Esteban Aliverti
This is the repo you should use: https://repository.jboss.org/nexus/content/groups/public/ Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 16, 2012 at 2:42 PM, Sujit Biswas wrote

Re: [rules-users] uploading bpmn file from file system in guvnor

2012-02-24 Thread Esteban Aliverti
Continuing with Michaels' explanation: once the process editor is open you have to search for a button in the toolbar of the editor that will allow you to import a process providing a a file or simply the content. Best Regards, XXXX Esteban Ali

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-22 Thread Esteban Aliverti
Are you sure that the binary package was also created with the same drools version you are using in your tests? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Feb 22, 2012 at 7:39 PM

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-22 Thread Esteban Aliverti
t://github.com/droolsjbpm/drools.git drools (It will download all the sources and place them in "drools" directory") 2.- Get the fix from my repo. Fortunately, the fix is just one file: https://raw.github.com/esteban-aliverti/drools/61c2110df8c55c67ff532491865b3f28f368e8db/drools-

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-21 Thread Esteban Aliverti
ided patch to see if everything is ok. Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 21, 2012 at 4:56 PM, Hrumph wrote: > Great! > > ** ** > > https://issues

Re: [rules-users] Declared model and drools.agent.newInstance

2012-02-21 Thread Esteban Aliverti
There is a known bug with incremental kbase changes (what happens when drools.agent.newInstance=false) and declared types. Sometime ago someone mentioned a possible workaround. Try to search in the mailing list. Best Regards, Esteban Aliverti - Developer

Re: [rules-users] Guvnor 5.4.0.Beta2 launch Error.

2012-02-20 Thread Esteban Aliverti
Do you see any suspicious log in Tomcat's logs? Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 21, 2012 at 1:42 AM, Monline wrote: > Hi, > > Just wondering if

Re: [rules-users] Adding a List(CollectionFramework) datatype in DeclarativeModel

2012-02-20 Thread Esteban Aliverti
Just do not select anything in the combo-box and write the fqn of the type you want to use: i.e. java.util.List Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Feb 20, 2012 at 9:51 AM

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-20 Thread Esteban Aliverti
Hi Herman, I'm working on this issue right now. Did you create the jira issue? Could you please send me the link? Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Sat, Feb 18, 2012 at

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-18 Thread Esteban Aliverti
Seems that the link for the attached file is no valid. Could you please try to send it again? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 17, 2012 at 12:13 AM, Hrumph wrote

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
Could you please upload you failing test project using 5.4 so I can test it? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/16 Hrumph > Regretably, I’m still getting the same er

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
gards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/16 Herman Post > In debug, KnowledgeAgentImpl.createPackageFromResource(), the last line > to run is DroolsStreamUtils.streamIn(is), then an ex

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
By the way, in the stacktrace you pasted I only see a NullPointerException, but no ClassNotFoundException. Where are you seeing the ClassNotFoundException? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
Seems like a bug to me. The best you can do is to rise a Jira issue. Actually, the best you can do is to provide a patch also ;) Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 16

Re: [rules-users] ConsequenceException when using modify

2012-02-16 Thread Esteban Aliverti
Just out of curiosity, if you change your "modify" block and use an "updeat" instead, does it work? Something like: $myObject.setVariable1(defaultValue); update($myObject); Best Regards, XXXXXXXX Esteban Aliverti - Developer @ http://www

Re: [rules-users] Failed to get rules from Guvor after apply Security using Tomcat and JAAS

2012-02-15 Thread Esteban Aliverti
Please search in this list about this problem. Your question has been answered before. I think the documentation also has a section about how to add security elements to the change-set. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
sInstance.getId()); retract ($id) end Best Regards, XXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Alberto R. Galdo > We're using 5.2.0 final here. > > What we are also observ

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
gards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Alberto R. Galdo > > According to the documentation: > > "Rule constraints do not have direct access to variables defined inside >> the process.

Re: [rules-users] Call of a function in the definition of a rule template

2012-02-13 Thread Esteban Aliverti
If you are dealing with non-technical people, maybe you could also use a DSL sentence to "hide" the function call. Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Mich

Re: [rules-users] make the Guvnor interface into French

2012-02-13 Thread Esteban Aliverti
quest you can post the file here. Best Regards, XXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 freelance developpement > hi > Michael Anstis, >Can you tell me in detail how to mak

Re: [rules-users] GUVNOR

2012-02-09 Thread Esteban Aliverti
Deploy the war Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/9 Olfa h > HI , > > how to install DROOLS Guvnor ? > > ___ > rules-

Re: [rules-users] Rule does not fire when JBPM asks to do so in BPMN 2.0 process

2012-02-08 Thread Esteban Aliverti
instance in the WM: this will create the activation of the other rule insert(processInstance); //now, start the process kcontext.getKnowledgeRuntime().startProcessInstance(processInstance.getProcessInstance()); end Best Regards, XXXX

Re: [rules-users] 5.3 ruleflow question

2012-02-08 Thread Esteban Aliverti
(5.3.0-SNAPSHOT) are different from org.drools (5.4.0-SNAPSHOT) Best Regards, XXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/7 St. Lawrence, Zachary > I am trying to use ruleflows to test a d

Re: [rules-users] [rules-dev] http://blog.athico.com/2012/02/welcome-alexandre-porcelli.html

2012-02-07 Thread Esteban Aliverti
Congratulation Alexandre! Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 7, 2012 at 3:44 PM, Mark Proctor wrote: > http://blog.athico.com/2012/02/welcome-alexandre-porcelli.h

Re: [rules-users] Problem deploying 5.3.0 drools server in Tomcat

2012-02-07 Thread Esteban Aliverti
Try to remove the offending jar from WEB-INF/lib -> geronimo-servlet_3.0_spec-1.0.jar Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/7 Ravi Sundaar > Hi, > > When I d

Re: [rules-users] [rules-dev] Contributing to Drools?

2012-02-03 Thread Esteban Aliverti
Same thing here. Count on me for that! It is a good excuse to visit London :) Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 3, 2012 at 12:57 PM, Mario Fusco wrote: > T

Re: [rules-users] ChangeSet not working for Package Type

2012-02-03 Thread Esteban Aliverti
Could you please post the change-set you are using along with the error you are getting? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 3, 2012 at 12:47 PM, Mark Proctor wrote

Re: [rules-users] Ruleflow: two flow exits (or equivalent?) from reusable sub-process?

2012-02-03 Thread Esteban Aliverti
events as well. Define a throw event node in your sub-process and attach a boundary event to it in the parent process. Best Regards. Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/2 George Georgovassilis

Re: [rules-users] how to retract all documents created in the following scenario

2012-02-03 Thread Esteban Aliverti
Did you try using Java dialect instead of MVEL? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 2, 2012 at 11:47 PM, vadlam wrote: > > when > > $emptyDocs:java.util

Re: [rules-users] how to retract all documents created in the following scenario

2012-02-02 Thread Esteban Aliverti
Code( "code1" ); insert(fact0 ); //retract empty documents for (int i=0; i < $emptyDocs.size(); i++){ retract( $emptyDocs.get(i)); } end Best Regards, XXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://iles

  1   2   3   4   5   6   >