[rules-users] BRMS 5.1 change-set.xml

2010-12-17 Thread Benson Fung
Hi I am using the BRMS 5.1 with the following change-set.xml at the client side. change-set xmlns='http://drools.org/drools-5.0/change-set' xmlns:xs='http://www.w3.org/2001/XMLSchema-instance' xs:schemaLocation='http://drools.org/drools-5.0/change-set

Re: [rules-users] BRMS 5.1 change-set.xml

2010-12-18 Thread Benson Fung
to confirm you are prompted for a username and password and that the credentials you show can be confirmed as valid? What version of Drools are you running client side too? 2010/12/18 Benson Fung benson.red...@gmail.com Hi I am using the BRMS 5.1 with the following change-set.xml at the client

Re: [rules-users] BRMS 5.1 change-set.xml

2010-12-18 Thread Benson Fung
Yeah! It works, Michael. Thanks 2010/12/18 Michael Anstis michael.ans...@gmail.com AFAIK you'd need to run 5.1 against BRMS 5.1, as the code to handle sending authentication details wasn't introduced until 5.1... 2010/12/18 Benson Fung benson.f...@redhat.com Yes, I tried to put

[rules-users] Rule removal in BRMS 5.1/Drools Guvnor

2010-12-29 Thread Benson Fung
Hi, I created a rule(Technical rule) in the BRMS. But I would like to remove it now. When I pull down the Action at the top right hand corner, the delete is greyed. Please teach me how to remove the rule, otherwise, so many garbage rule will be accumulated in the BRMS. Thanks Benson

[rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
Hi, Can anyone know whether QA features can provide the rule conflict checks? Thanks ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
checks you have in mind. -W 2010/12/30 Benson Fung benson.red...@gmail.com: Hi, Can anyone know whether QA features can provide the rule conflict checks? Thanks ___ rules-users mailing list rules-users@lists.jboss.org https

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
conflicts and which checks you have in mind. -W 2010/12/30 Benson Fung benson.red...@gmail.com: Hi, Can anyone know whether QA features can provide the rule conflict checks? Thanks ___ rules-users mailing list rules-users

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
that everybody knows which features and which conflicts and which checks you have in mind. -W 2010/12/30 Benson Fung benson.red...@gmail.com: Hi, Can anyone know whether QA features can provide the rule conflict checks? Thanks ___ rules

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
The conflict is like : E.g. If (X = 90) then Score = 10; If (X = 90) then Score = 100; Can the BRMS detect this? On Thu, Dec 30, 2010 at 5:52 PM, Wolfgang Laun wolfgang.l...@gmail.comwrote: Please define conflict. -W 2010/12/30 Benson Fung benson.f...@redhat.com: I would like to check

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
can play this game at any level of complexity. And even your straightforward case would require the consideration of rule attributes, since there would not be a conflict if they are in different agenda groups, etc. -W 2010/12/30 Benson Fung benson.red...@gmail.com: The conflict is like

Re: [rules-users] Rule removal in BRMS 5.1/Drools Guvnor

2010-12-30 Thread Benson Fung
are you using? I think you have to archive it first. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2010/12/30 Benson Fung benson.red...@gmail.com Hi, I created a rule(Technical

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2010/12/30 Benson Fung benson.red...@gmail.com Yes, I tried QA analysis. But it only can find out the problems of the individual rules like what you said. I tried to develop two rules

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Benson Fung
Hi Mark, Do you have example how to use the DroolsVerifier? It is used at rule level or at java level? 2010/12/31 Mark Proctor mproc...@codehaus.org On 30/12/2010 08:53, Benson Fung wrote: Hi, Can anyone know whether QA features can provide the rule conflict checks? http

[rules-users] Drools 5.1 JMX Monitoring.

2011-01-04 Thread Benson Fung
Hi , As I understand, Drools 5.1 made API enhancement to support JMX standard and enables knowledge base and knowledge session monitoring and inspection using any JMX console. It also can display the average firing time. How to implement this? Is there any sample for this? Please advise.

[rules-users] Implementation of Drools 5.1 JMX Monitoring

2011-01-05 Thread Benson Fung
Hi, Can you teach me how to implement the JMX Monitoring of Drools 5.1 like what the following link mentions? http://blog.athico.com/2009/10/drools-monitoring-with-jmx.html Thanks ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Drools 5.1 JMX Monitoring.

2011-01-11 Thread Benson Fung
/rules-users -- Benson Fung Solution Architect, Global Services, Greater China | Redhat Hong Kong Limited || 45/F., The Lee Gardens, 33 Hysan Avenue, Causeway Bay, Hong Kong || Office : 852-31802332 || Cell : 852-98369898 || benson.f...@redhat.com || http://www.hk.redhat.com

Re: [rules-users] KnowledgeAgent and applyChangeSet

2011-01-11 Thread Benson Fung
-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- Benson Fung Solution Architect, Global Services, Greater China | Redhat Hong Kong Limited || 45/F., The Lee Gardens, 33 Hysan Avenue, Causeway Bay, Hong Kong || Office : 852-31802332 || Cell : 852-98369898 || benson.f

[rules-users] Large amount of rules deployment

2011-01-26 Thread Benson Fung
Hi, I have 9000 rules in a DRL file and would like to import to BRMS. Please suggest a way to import it efficiently. Thanks Benson ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Looking for smart way to import huge amount of rules into BRMS

2011-01-26 Thread Benson Fung
Hi, I need to import a drl file with 9000 rules inside into BRMS. However, I found that it takes very long time to import and it also takes long time to get downloaded into the application to build the ruleBase. Is there any smart way or faster way to manage this procedure? Please advise

Re: [rules-users] Looking for smart way to import huge amount of rules into BRMS

2011-01-27 Thread Benson Fung
package to build the KnowledgeBase/RuleBase. Why is this so slow? Is there any way to speed up the process? Thanks On Thu, Jan 27, 2011 at 3:18 PM, Benson Fung benson.red...@gmail.comwrote: Hi, I need to import a drl file with 9000 rules inside into BRMS. However, I found that it takes very

Re: [rules-users] large rulebase load time

2011-01-27 Thread Benson Fung
Hi, I created a package by uploading a large drl file with 9000 rules into the Guvnor/BRMS. It takes almost 4 hours to complete. Could you tell me how you can upload ~76,000 rules in 7 minutes to the package? It is very fast. Please advise Thanks 2011/1/14 Joe White

Re: [rules-users] Looking for smart way to import huge amount of rules into BRMS

2011-01-27 Thread Benson Fung
object during application startup. -W 2011/1/27 Benson Fung benson.red...@gmail.com Hi, I need to import a drl file with 9000 rules inside into BRMS. However, I found that it takes very long time to import and it also takes long time to get downloaded into the application to build the ruleBase

Re: [rules-users] How to obtain the object/fact created in the rule file?

2011-01-28 Thread Benson Fung
- Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Jan 28, 2011 at 2:02 PM, Benson Fung benson.red...@gmail.com wrote: Hi, I developed a rule as below:        rule Rule1            dialect mvel            when                Fields( field1 100

Re: [rules-users] How to obtain the object/fact created in the rule file?

2011-01-28 Thread Benson Fung
Thanks, could you show me some examples? Benson ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] How to obtain the object/fact created in the rule file?

2011-01-28 Thread Benson Fung
Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Jan 28, 2011 at 2:02 PM, Benson Fung benson.red...@gmail.com wrote: Hi, I developed a rule as below:        rule Rule1            dialect mvel            when                Fields

Re: [rules-users] How to obtain the object/fact created in the rule file?

2011-01-28 Thread Benson Fung
. -W On 28 January 2011 18:29, Benson Fung benson.red...@gmail.com wrote: Thanks, could you show me some examples? Benson ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] not sure if this is a bug of drools or my bad usage...

2011-03-07 Thread Benson Fung
Hi Simon, Could you tell me a bit more about your logic below in code level? I can't imagine how it goes. So, I first insert an A(), print all the objects. Retract A(), and print all the objects. Here's what I got: com.sample.B@42 com.sample.C@43 com.sample.A@548997d1 after retract!

[rules-users] execute Rules selectively

2011-03-24 Thread Benson Fung
Hi, I have setup about 10 rules in the rulebase. Can you tell me how I can execute more than one specific rule at the same time? Please help Thanks Benson ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] execute Rules selectively

2011-03-25 Thread Benson Fung
want to execute rules in parallel? On Fri, Mar 25, 2011 at 2:08 AM, Benson Fung benson.red...@gmail.com wrote: Hi, I have setup about 10 rules in the rulebase.  Can you tell me how I can execute more than one specific rule at the same time?  Please help Thanks Benson

Re: [rules-users] execute Rules selectively

2011-03-25 Thread Benson Fung
session and then if you insert A, all the rules will be evaluated. There is no need to create an agenda group for that, unless I'm missing something else that you don't mention :) Greetings. On Fri, Mar 25, 2011 at 10:10 AM, Benson Fung benson.red...@gmail.com wrote: Hi Leonardo, Thanks

Re: [rules-users] execute Rules selectively

2011-03-25 Thread Benson Fung
:29 AM, Benson Fung benson.red...@gmail.com wrote: Thanks Mauricio, What I want is to only execute these 3 rules simultaneously out of 1000 rules in the rulebase.  Can you advise programmatically how to achieve? Thanks On Fri, Mar 25, 2011 at 9:19 PM, Mauricio Salatino sala...@gmail.com

[rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
Hi, I got the following rule problem. The rule is like : 1. | rule Rule1 2. | dialect mvel 3. | when 4. | ad : ApplicationData( age == null , age.size() == 0) 5. | then 6. | ad.setReturnMsg( age should

Re: [rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
== ) is the right thing to do, provided that ApplicationData.age is a String. -W On 25 March 2011 17:32, Benson Fung benson.red...@gmail.com wrote: Hi, I got the following rule problem. The rule is like : 1.      |       rule Rule1 2.      |           dialect mvel 3.      |           when 4

Re: [rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
17:32, Benson Fung benson.red...@gmail.com wrote: Hi, I got the following rule problem. The rule is like : 1.      |       rule Rule1 2.      |           dialect mvel 3.      |           when 4.      |               ad : ApplicationData( age == null , age.size() == 0) 5

Re: [rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
   age == null Probably   ApplicationData( age == null || age == ) is the right thing to do, provided that ApplicationData.age is a String. -W On 25 March 2011 17:32, Benson Fung benson.red...@gmail.com wrote: Hi, I got the following rule problem. The rule is like : 1.      |       rule

Re: [rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
guided editors. -W On 25 March 2011 18:17, Benson Fung benson.red...@gmail.com wrote: Hi Wolfgang, I managed to author this rule(ApplicationData( age == null || age == )) via Technical Rules editor of BRMS. However, I cannot create this rule via Business Rule Guided Editor of BRMS. Could

Re: [rules-users] Ask for help on rule authoring

2011-03-25 Thread Benson Fung
so how can I change it to integer in the rule? 2011/3/26 Wolfgang Laun wolfgang.l...@gmail.com: If it's stored in a fact field of type int: yes. The way you write it: no. -W On 25 March 2011 18:37, Benson Fung benson.red...@gmail.com wrote: If the age is String type, can I use

[rules-users] execute particular rules programmatically and dynamically

2011-03-30 Thread Benson Fung
Hi, If there are 10 rules in the drools rulebase, and right now I would like to execute one of the particular rule. Is there any approach/way to execute particular rule programmatically? I don't think agenda-group or activation-group can do that, right? Or is it possible to create an agenda

Re: [rules-users] execute particular rules programmatically and dynamically

2011-03-31 Thread Benson Fung
On 31 March 2011 07:58, Benson Fung benson.red...@gmail.com wrote: Hi, If there are 10 rules in the drools rulebase, and right now I would like to execute one of the particular rule.  Is there any approach/way to execute particular rule programmatically? No. The right hand side of a rule (code

Re: [rules-users] execute particular rules programmatically and dynamically

2011-03-31 Thread Benson Fung
approach. With kind regards, Mike 2011/3/31 Wolfgang Laun wolfgang.l...@gmail.com On 31 March 2011 07:58, Benson Fung benson.red...@gmail.com wrote: Hi, If there are 10 rules in the drools rulebase, and right now I would like to execute one of the particular rule.  Is there any

Re: [rules-users] execute particular rules programmatically and dynamically

2011-03-31 Thread Benson Fung
this situation. Thanks On Fri, Apr 1, 2011 at 11:38 AM, Jevon Wright je...@jevon.org wrote: If you split up your rules across many rule files, you can selectively execute specific rule files. Very simple but it works :-) Jevon On Thu, Mar 31, 2011 at 6:58 PM, Benson Fung benson.red...@gmail.com

[rules-users] Strange java.lang.NoClassDefFoundError

2011-04-11 Thread Benson Fung
Hi, I have a GWT RPC method as follows : public String validate(ApplicationData ad) { Object dataObj = null; KnowledgeAgent kagent = (KnowledgeAgent)getServletContext().getAttribute(KNOWLEDGE_AGENT); KnowledgeBase kbase =

Re: [rules-users] Strange java.lang.NoClassDefFoundError

2011-04-11 Thread Benson Fung
Hi, Please note that, if I make 200 ajax call to validate 200 fields. It works fine without any problem. But if validate 2000 fields, the exception comes up. Please advise what is the root cause in the BRMS(Drools Guvnor). Thanks Benson On Tue, Apr 12, 2011 at 2:00 AM, Benson Fung benson.red

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-13 Thread Benson Fung
Hi, Here is the scenario : If there are 2 edit boxes and 2 dropdown list at the frontend like. dropdown(minIssrdAge1) editbox(age1) dropdown(minIssrdAge2) editbox(age2) everytime when I lost focus the editbox(age1 or age2), the editbox(age1 or age2) value will be validated against the

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-13 Thread Benson Fung
Rule3    dialect mvel      when        ad : ApplicationData( $age : age != null , age != , age 0 || 600, minIssrdAge == Years )      then        ad.setReturnMsg( \nage is out of the range(i.e.   0 and 600) ); end On 13 April 2011 17:19, Benson Fung benson.red...@gmail.com wrote: Hi

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-13 Thread Benson Fung
at Plugtree - I believe they're quite well customed to writing UIs backed with rules; salaboy or esteban (or IRC #drools) might be able to offer more practical advice. With kind regards, Mike On 13 April 2011 17:48, Benson Fung benson.red...@gmail.com wrote: Hi Michael, Can you

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-14 Thread Benson Fung
coupling between UI and Rules may be undesirable. With kind regards, Mike On 14 April 2011 03:52, Benson Fung benson.red...@gmail.com wrote: Good, Michael. 'context' is used to distinguish which part of the UI which will be validated, right?  The customer will ask if they have 1 rules

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-14 Thread Benson Fung
the proper msgs to the field. This allows us to support multiple call scenarios without duplicating the logic in multiple rules just based on context info. Hope this helps, Bob Christenson -- Message: 2 Date: Thu, 14 Apr 2011 15:23:44 +0800 From: Benson Fung

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-14 Thread Benson Fung
this helps, Bob Christenson -- Message: 2 Date: Thu, 14 Apr 2011 15:23:44 +0800 From: Benson Fung benson.red...@gmail.com Subject: Re: [rules-users] execute particular rules programmatically    and    dynamically To: Rules Users List rules-users@lists.jboss.org

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-14 Thread Benson Fung
Hi Wolfgang, Please see the following scenario. On Thu, Apr 14, 2011 at 12:19 AM, Benson Fung benson.red...@gmail.com wrote: Hi, Here is the scenario : If there are 2 edit boxes and 2 dropdown list at the frontend like. dropdown(minIssrdAge1)   editbox(age1) dropdown(minIssrdAge2

Re: [rules-users] execute particular rules programmatically and dynamically

2011-04-14 Thread Benson Fung
in multiple rules just based on context info. Hope this helps, Bob Christenson -- Message: 2 Date: Thu, 14 Apr 2011 15:23:44 +0800 From: Benson Fung benson.red...@gmail.com Subject: Re: [rules-users] execute particular rules programmatically    and    dynamically

Re: [rules-users] Memory issue with drools (using 10000 rules)

2011-04-26 Thread Benson Fung
is it necessary to execute 1 rules in one time for your case? Why don't execute rule selectively? 2011/4/26 Mark Proctor mproc...@codehaus.org There is no out of the box way to improve that, beyond just partitioning your rulebases yourself. If you would like to get involved in RD we

Re: [rules-users] Error opening dslr in Eclipse on Mac

2011-04-29 Thread Benson Fung
What version of jdk and Drools plugin are you using? 2011/4/29 Steven Williams stevearoo...@gmail.com: Hi, I am running Eclipse Helios on Mac OS X 10.6.7 with the Drools 5.1.1 plugin and cannot open DSLR files with the error below. This error also occurs if I create a new Drools project,

[rules-users] BRMS on WebLogic

2011-07-12 Thread Benson Fung
Hi, Is there installation documentation how BRMS/Drools Guvnor is installed on WebLogic server? Please help. Thanks Benson ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] How to monitor drools execution time?

2011-11-13 Thread Benson Fung
You can use the Drools guvnor to measure the execution time of each rule. This is the feature of that. On Mon, Nov 14, 2011 at 11:00 AM, Zhao Yi zhaoyi0...@gmail.com wrote: I want to check how long each rule executed. Can I add any listener on drools run time to get the rule time? Thanks,