Re: [rules-users] Reusing Rules in a Rule Flow?

2010-08-03 Thread Michael Rhoden
Have you looked at "extends" keyword? You could use a base rule and extend it for ruleflows. Not positive it would work for your needs, but possibly. -Michael On Aug 3, 2010, at 1:59 PM, Jason Davidson wrote: > Is it possible to use a rule in a rule flow without a "ruleflow- > group"? >

Re: [rules-users] fireAllRules performance

2010-07-30 Thread Michael Rhoden
Probably not, work is done on insert not fire. Fire just shows what is on the agenda. -Michael On Jul 30, 2010, at 8:32 AM, sjoo822 wrote: > > I have several thousand objects that gets inserted into a statefull > knowledge > session as show below: > > for (Item item : itemList) >

Re: [rules-users] Drools with Guvnor

2010-05-19 Thread Michael Rhoden
buttons. Not a big deal, but it isn't automated. You can then use that DRL as a resource in your application. I know there was some working being done to be able to pull out DRLs from Guvnor using xml calls, but don't know if that was ever completed. Michael Rhoden - Origin

Re: [rules-users] Category Rules - Guvnor

2010-02-11 Thread Michael Rhoden
The category rule should just extend all child rules in that category. If all is working your generated DRL should have "extends" in the "tax" (etc) rules. -Michael On Feb 11, 2010, at 6:33 PM, Amit Kumar wrote: > Hi Folks, > > I am looking at the category rules and have a scenario to use i

Re: [rules-users] Server Sizing for Flow and Expert

2009-12-14 Thread Michael Rhoden
You won't need much horsepower. If anything I would go 64 bit and put 6-8 gigs of ram in the box. CPU won't matter much. We run 10k rules on an old dual core, but the rulebase takes 2.5 gigs of ram. -Michael On Dec 14, 2009, at 10:11 AM, Bruce Campbell wrote: > I will be starting a new p

Re: [rules-users] drl 2.0 invoking drl 6.0

2009-10-30 Thread Michael Rhoden
/4.0.7.19894.GA/html/index.html is the url. I'm sure you can find the drools 2 xml manual somewhere, but hopefully that will get you started. Michael Rhoden VP - IT Development Franklin American Mortgage Company Direct: 615-778-1117 Fax: 615-778-2766 Email: mrho...@franklinamerica

Re: [rules-users] How to create nested rules in Drool Guvnor

2009-08-13 Thread Michael Rhoden
ions from the first rule to what is being extended, but I believe it will do what you are trying to do. Michael Rhoden VP - IT Development Franklin American Mortgage Company Direct: 615-778-1117 Fax: 615-778-2766 Email: mrho...@franklinamerican.com - Original Message - From:

Re: [rules-users] Drools Guvnor Remoting API

2009-08-04 Thread Michael Rhoden
this with us? Michael Rhoden VP - IT Development Franklin American Mortgage Company Direct: 615-778-1117 Fax: 615-778-2766 Email: mrho...@franklinamerican.com - Original Message - From: "Steve Ronderos" To: rules-users@lists.jboss.org Sent: Tuesday, August 4, 2009 1

Re: [rules-users] Web based decision tables

2009-06-15 Thread Michael Rhoden
Are you exporting the DRL or just using the view source from guvnor? The view source doesn't show the model that must be defined, among other things. I havent used the eclipse plugin much but Guvnor itself, has it's own pseudo model for handling Web Decision tables. When you finally generate a p

Re: [rules-users] Drools in the real world

2009-06-12 Thread Michael Rhoden
We have been using Drools since version 2, and currently have well over 10,000 rules in production. It is a very solid product that can be used anywhere an Ilog etc would be considered. Drools Flow is a bit new, although I know there are several companies who have it in production. We are curren

Re: [rules-users] Introduction to my project

2008-11-16 Thread Michael Rhoden
I think a rules engine could do what you are asking, but you have to ask the right questions of it. What any rules engine can do is allow you to declare "rules" and then you reason using those rules. Once you setup your rules, I would guess you would want to "guess" if a plant can go in a bed,

Re: [rules-users] How to monitor what rules are fired

2008-10-27 Thread Michael Rhoden
Not sure if there are any examples around, but you could use AgendaEventListener to see any rules firing. -Michael - Original Message - From: "Ravi Krishnamurthy" <[EMAIL PROTECTED]> To: "Rules Users List" Sent: Monday, October 27, 2008 11:31:40 AM GMT -06:00 US/Canada Central

Re: [rules-users] calling custom java code from Guvnor editor

2008-10-27 Thread Michael Rhoden
I don't believe so. This is something we need as well and will likely be contributing soon. If this were to be added as a patch do you have a preference as to how it would work? On save, call a url with the rule name? What are your needs for this? -Michael Rhoden - Original Me

RE: [rules-users] Drools, Performance issues on 4.0.7 Vs 2.5

2008-09-05 Thread Michael Rhoden
I'll say it before someone else... Evals are the devil, avoid them. From memory, the newer drools handles old rules poorly, using extensive use of evals. It's the reason we have not moved up to the newest version yet. It's probably not pretty but you may have to rewrite/reconfigure your rules to a

RE: [rules-users] Turning on and off a particular rule

2008-09-02 Thread Michael Rhoden
I'm not sure your use case, but I will answer what I think you are asking. We had the need of turning on/off rules per time the rules were fired. So different data may need different rules to fire, and simply too dynamic to build rules around. It is as simple as a manager may choose to override a p

RE: [rules-users] two different versions...

2008-02-26 Thread Michael Rhoden
We handled this by dating all rules with a production start/stop date. Effectively we made all rules have a date condition implicitly added to control situations like this. I believe the BRMS has this functionality in it as well. -Michael -Original Message- From: [EMAIL PROTECTED] [mailto

RE: [rules-users] Using the drools as the backend engine for a service

2008-02-01 Thread Michael Rhoden
You would likely NOT want to create a rulebase per session. Most people create working memory per session. Rulebases should only be loaded once per server (context) in my opinion, and you reload it as rules changes. Loading a rulebase loads rules from a file, and orders your rete tree. For our inst

RE: [rules-users] Drools 4.02 or 4.03 memory leak?

2008-01-06 Thread Michael Rhoden
Try setting your JVM memory higher. Drools tends to use plenty of memory as well as perm gen space. What I use: -Xmx512m -XX:MaxPermSize=512m -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of heroshaojun Sent: Sunday, January 06, 2008 9:14 PM To: rules-user

[rules-users] JBRMS persistence

2007-11-27 Thread Michael Rhoden
Couple questions about the JBRMS persistence layer. I have been trying to figure out how to upgrade and incorporate the new 4.03 code into my current app using 2.x and 3.x drools. After many months of off and on playing with 4.x I want to see if I have some things straight. 1) JBRMS is buil

RE: [rules-users] JBRMS - Rule IDs/Referencing

2007-06-15 Thread Michael Rhoden
e Backups. It doesn't seem to work or maybe it just writes the file to some default location. I did search my hard drive for any new Zips so I guess it just doesn't work atm. Thanks, Michael Rhoden _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pro

[rules-users] JBRMS - Rule IDs/Referencing

2007-06-15 Thread Michael Rhoden
t as cool as changing semantics in MVEL, it is a huge barrier of adopting this new very feature rich JBRMS. Thanks, Michael Rhoden ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

RE: [rules-users] change "assert" to "insert"+ other changes

2007-06-12 Thread Michael Rhoden
I have a question related to this. Is there a way within a rule that you can add 30 days to a date... //mydate within last 30 days mydate + 30 > getdate() then dosomething() I would only want mydate modified for this rule only not re-asserted on the stack with a new date. Also if someone could

RE: [rules-users] name

2007-06-08 Thread Michael Rhoden
Wonderful idea. D-rules or some variant is much better than the previous 2 names :) Telling an exec we saved a lot of time & money using this system called "Drools" always got me a few looks. Likewise I dont go around saying the new version of JBoss Hibernate is out. -Michael -Original

RE: [rules-users] Tracking non-matches...

2007-04-17 Thread Michael Rhoden
Store all rules with a unique id (rule id) and keep dates of when rules were put in/out of production. Store your net matches in a database, after a run, and you can easily pull the delta to show what didn't "match" on a particular day. -Michael -Original Message- From: [EMAIL PROTECT

RE: [rules-users] How to pre compile rule files for production

2007-04-15 Thread Michael Rhoden
Yes something like that should work fine. I'm not to up on the "synchronized" call you're making but if you can access some app scoped memory, what you have will work fine. I might suggest you try and cache the rulebases [call execute(String ruleFile, Object [] objects)] well before you expect

Re: [rules-users] How to pre compile rule files for production

2007-04-14 Thread Michael Rhoden
Typically you would want to create a rulebase at server load or at the application scope and store that rulebase as a singleton. Then at runtime get a workingmemory, assert your objects and fire rules. For our application loading rules into a rulebase takes from 10 to 180 seconds , but working

RE: [rules-users] Rules Design Question

2007-04-06 Thread Michael Rhoden
Please give a better example or some pseudo code of what you are trying to do. -Michael _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronald R. DiFrango Sent: Friday, April 06, 2007 8:15 AM To: Rules Users List Subject: [rules-users] Rules Design Question All, I ha

[rules-users] Rule Organization suggestions

2007-03-19 Thread Michael Rhoden
create DRL rules will I be able to import them in the new system? Will it create Rules IDs for these rules then? Thanks for the help. -Michael Rhoden ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

RE: [rules-users] advice is needed: rule based processing ofinterconnected facts

2007-02-01 Thread Michael Rhoden
Can you post a couple of example conditions with a dataset you want to check? -Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olenin, Vladimir (MOH) Sent: Thursday, February 01, 2007 4:04 PM To: rules-users@lists.jboss.org Subject: [rules-users]

RE: [rules-users] What if Rules change frequently...

2007-01-31 Thread Michael Rhoden
We have done what I believe you are describing. Running under tomcat we load our rules at server load. So in the contextloader we create several RuleBase instances (just one for each different type of rule base we need). We store our rules in a database initally, so loading involves pulling all rul

RE: [rules-users] Problem downloading source from SVN

2007-01-29 Thread Michael Rhoden
I was able to pull source just fine from my house. It appears this may be a firewall issue at my office. Disregard my previous post. -Michael _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Rhoden Sent: Monday, January 29, 2007 3:30 PM To: rules-users

[rules-users] Problem downloading source from SVN

2007-01-29 Thread Michael Rhoden
s other things. Could use some advice as to how to checkout some code, or confirmation something is broke at jboss. Thanks, Michael Rhoden ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users