Re: [rules-users] Delete action in Guvnor

2011-08-02 Thread Jervis Liu
Have you tried the latest version, 5.2 final? It should work. Cheers, Jervis On 2011/8/3 10:34, DroolersEye wrote: > Hi, > I am tring to delete the created catagory in Guvnor but unable to delete, it > always complains can not delete, it is used by some other resource (but no > assets added, it i

[rules-users] Delete action in Guvnor

2011-08-02 Thread DroolersEye
Hi, I am tring to delete the created catagory in Guvnor but unable to delete, it always complains can not delete, it is used by some other resource (but no assets added, it is new, just created catagory). Is any idea, why this happpen? - with kind regards, -- View this message in context: ht

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Neelesh Deo Dani
Thanks Thomas,  Wolfgang for the inputs! Regards,Neel --- On Tue, 2/8/11, Wolfgang Laun wrote: From: Wolfgang Laun Subject: Re: [rules-users] running multiple instance of rule engine To: "Rules Users List" Date: Tuesday, 2 August, 2011, 5:13 PM 2011/8/2 Neelesh Deo Dani It can be done in

[rules-users] Fwd: Press Release: Call to Relieve Constraints on AI

2011-08-02 Thread Mark Proctor
Original Message Rules Fest 2011 *PRESS RELEASE* Forward this message to a friend The Need to Relieve Constraints on Artificial Intelligence

Re: [rules-users] Backward chaining, again...

2011-08-02 Thread Mark Proctor
On 02/08/2011 05:19, johnysums wrote: > Hello, > > My previous post didnt get the attention i was hoping for, so i decided to > ask once more. Are derivation queries the only way to use backward chaining? > If so, then it is (at least for now) impossible to implement backward > chaining rules in gu

Re: [rules-users] Insert a fact into drools server from a web application or java application

2011-08-02 Thread kkelleyjr
Update: So I have the following as code that I found in a blog by salaboy... List myDomainClasses = new ArrayList(); myDomainClasses.add("com.test.TestFact"); // I need to create a JAXB context including my domain classes // to be able to creat

Re: [rules-users] Change order of columns in decision table

2011-08-02 Thread jian zhi
Thanks. A new enhance PMR is entered: https://issues.jboss.org/browse/GUVNOR-1578 Jian --- On Tue, 8/2/11, Michael Anstis wrote: From: Michael Anstis Subject: Re: [rules-users] Change order of columns in decision table To: "Rules Users List" Date: Tuesday, August 2, 2011, 9:57 AM It looks l

Re: [rules-users] Condition syntax to access Map

2011-08-02 Thread Mark Proctor
On 02/08/2011 07:15, Wolfgang Laun wrote: 2011/7/31 Mark Proctor > On 31/07/2011 19:39, Wolfgang Laun wrote: 2011/7/31 Mark Proctor mailto:mproc...@codehaus.org>> Implicit mapping I call Managed Object Graphs MOGs. So you can write

Re: [rules-users] Guvnor: Embed Asset’s Editor in your application

2011-08-02 Thread Michael Anstis
Hi Leonardo, It is not possible to use the just the "UI" component of any editor. The good work completed by Plugtree allows the editors to be embedded in a IFRAME within "your application" but the editor still communicates with Guvnor's back-end for persistence etc; all you do is provide a contai

[rules-users] Guvnor: Embed Asset’s Editor in your application

2011-08-02 Thread Leonardo Gomes
I was reading this nice article from the plugtree guys: http://www.plugtree.com/guvnor-embed-asset%E2%80%99s-editor-in-your-application/ and was wondering if there's a light-weight version of Guvnor that I could use if I'm only interested in the BRL edition mode, that is, if I don't want to worry

Re: [rules-users] Change order of columns in decision table

2011-08-02 Thread Michael Anstis
It looks like this feature was (inadvertently) blitzed when we replaced the table used for the guided decision table for 5.2. Can you please raise a new JIRA requesting the feature be added back? Thanks, Mike 2011/8/2 jian zhi > Hi, > > [GUVNOR-454

[rules-users] Change order of columns in decision table

2011-08-02 Thread jian zhi
Hi, [GUVNOR-454] was fixed in Drools 5.1. It allows the user to change the order of the columns in the decision table(web-guided) from Guvnor. Does this function still exist in Drools 5.2? I couldn't find a way to do that. Thanks, Jian ___ rules-user

Re: [rules-users] How to remove Drools 5 facts from a web service

2011-08-02 Thread Matthew Erler
That worked.  Thank you very much. --- On Tue, 8/2/11, Wolfgang Laun wrote: From: Wolfgang Laun Subject: Re: [rules-users] How to remove Drools 5 facts from a web service To: "Rules Users List" Date: Tuesday, August 2, 2011, 1:35 AM 2011/8/1 Matthew Erler The first thing that the service m

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Wolfgang Laun
2011/8/2 Neelesh Deo Dani > It can be done in single session, if I make sure all the related events > always go to a particular host by partitioning input event stream. > This is an option. > Basically, I'm looking for options in a scenario when the number of input > events per sec is very lar

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Swindells, Thomas
If you need all the events that are being generated then you need to have a session consume all the events that are being generated. If you can’t change that requirement then you are probably stuffed. You should explore partitioning your design in different ways. You may not need all the events

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Neelesh Deo Dani
It can be done in single session, if I make sure all the related events always go to a particular host by partitioning input event stream. Basically, I'm looking for options in a scenario when the number of input events per sec is very large and a single instance/ host won't be able to handle th

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Wolfgang Laun
Why don't you do it in a single session? The overhead created by the procedure you describe is considerable. And you may run into synchronisation problems such as that the first event has gone to host A, the second one goes to host B, but A hasn't stored the event yet... -W 2011/8/2 Neelesh De

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Neelesh Deo Dani
Following example clarifies the question:I've Event declaration and rule as follows: declare Event     @role(event)     @timestamp(datetime)     datetime : Date     name : String end rule "Contest" no-loop when        $e1 : Event(name == "event1")     $e2 : Event(name == "event2", thi

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Abhay B. Chaware
What do you expect to happen in the scenario mentioned, assuming you are running only 1 rules session? Whatever you expect to happen in this case ( e.g. latest update wins ), you will need to implement in your persistence logic If you are using separate rule engines/instances. by the way, have y

Re: [rules-users] running multiple instance of rule engine

2011-08-02 Thread Swindells, Thomas
I’m not sure I understand the question. You have two totally independent rule engine on two different servers running with separate JVMs and sessions. You happen to share data between the two sessions by updating a database but drools has no knowledge of that (they are just java objects which hap

Re: [rules-users] Backward chaining, again...

2011-08-02 Thread Michael Anstis
Hi, AFAIK derivation queries are the only way to achieve backwards chaining. Furthermore, your suspicion is correct: Guvnor does not support BC at present however we obviously plan to provide for it. With kind regards, Mike On 2 August 2011 05:19, johnysums wrote: > Hello, > > My previous po