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,
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
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,
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
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
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
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
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
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
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
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
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
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 =
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
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
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
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
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
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
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
: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
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
== )
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
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
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
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
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
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
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!
- 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
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
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
.
-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
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
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
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
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
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
/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
-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
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
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.
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
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
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
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
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
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
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
,
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
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
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
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
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
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
55 matches
Mail list logo