Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-27 Thread Knapp, Barry
Is there plan to support work items in Stateless sessions as well? It seems I had a POC using stateless and had to convert it to stateful in order to use a simple "send email" work item. Thanks Barry -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-bou

Re: [rules-users] A quick survey of application areas

2009-12-18 Thread Knapp, Barry
Railinc, Inc. uses Drools expert for all Railroad equipment validations as well as billing processing. We have also used it for migrating/converting railroad equipment (2 million+) from mainframe to midrange. There will be more implementations to come in 2010 from us. From: rules-users-boun..

Re: [rules-users] unable to determine value type class *** URGENT***

2009-10-13 Thread Knapp, Barry
Oh I missed a third option from Ken. 1) upgrade to Drools 5 2) Rollback FP 3) We had the same issue with IBM JDK. Upgrade to java 6R4 to solve the problem -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Knapp

Re: [rules-users] Drools Flow, threads and persistence in a clustered environment

2009-10-06 Thread Knapp, Barry
-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Knapp, Barry Sent: Tuesday, October 06, 2009 8:25 AM To: Rules Users List Subject: Re: [rules-users] Drools Flow, threads and persistence in a clustered environment Well if this is up for a "dig" type vote, I&#x

Re: [rules-users] Drools Flow, threads and persistence in a clustered environment

2009-10-06 Thread Knapp, Barry
Well if this is up for a "dig" type vote, I'd have to up-vote #2. 1) You've got these three nodes assumedly all running on the same hardware, might as well utilize it all. If one node goes down it's not a major crisis or an experiment in "let's get the ksession running on the other node" to sta

Re: [rules-users] Decision table problem

2009-08-20 Thread Knapp, Barry
c.checkFoo("$1","$2"), -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Alex Esmann Sent: Thursday, August 20, 2009 10:15 AM To: Rules Users List Subject: [rules-users] Decision table problem Hey I am using drools w

RE: [rules-users] Identify Rule on Attributes

2009-03-16 Thread Knapp, Barry
You should create a new class that implements AgendaEventListener and then add it to your execution session. The snippet below shows how to add the listener to the session if you create a new class called ExecutionAgendaEventListener. This is 4.7, probably pretty similar concept in 5.

RE: [rules-users] How to Access and Execute Rules from Database

2009-01-23 Thread Knapp, Barry
You will get your rules from the BRMS not directly from the DB. The section on Rule Agent describes an API to get the Package from the BRMS or you can get the DRL by appending .DRL to the URL of your snapshot. Barry From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...

RE: [rules-users] Drools Community Clinic Feb 4th 5PM GMT

2009-01-23 Thread Knapp, Barry
Mark, This is an awesome idea! In my company I am often talking about and promoting Drools so what is most interesting to my audience is how you guys are fine tuning the BRMS and Execution integrations as well as making it easier to incorporate the engine into an existing bus. The incorporatio

RE: [rules-users] Drools, Grails, and default packages for domain objects

2009-01-22 Thread Knapp, Barry
Your best bet is to download the 5.0M5 documentation here http://download.jboss.org/drools/release/5.0.0.24825.M5/drools-5.0.0.M5- docs.zip There is plenty of good info in there on the execution side of the house. Barry And I have to agree with you on the cool factor. From:

RE: [rules-users] How to use Salience in a decision table

2008-12-17 Thread Knapp, Barry
Yes, add the following to the header after your import statement. sequential true Barry From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ravi Krishnamurthy Sent: Tuesday, December 16, 2008 7:48 PM To: rules-users@lists.jboss.org Sub

RE: [rules-users] accessing hashmap from condition on decision table

2008-12-04 Thread Knapp, Barry
hat i want!!! - Original Message - From: Knapp, Barry <mailto:[EMAIL PROTECTED]> To: Rules Users List <mailto:rules-users@lists.jboss.org> Sent: Wednesday, December 03, 2008 6:19 PM Subject: RE: [rules-users] accessing hashmap from condition on

RE: [rules-users] accessing hashmap from condition on decision table

2008-12-03 Thread Knapp, Barry
org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:394) at com.sample.DroolsExcelTest.readRule(DroolsExcelTest.java:66) at com.sample.DroolsExcelTest.main(DroolsExcelTest.java:22) - Original Message - From: Knapp, Barry <mailto:[EMAIL PROTECTED]>

RE: [rules-users] accessing hashmap from condition on decision table

2008-12-03 Thread Knapp, Barry
You may want to wrap your map in another class that you assert into the engines working memory. Then you can access the contents of the map with an eval eval(myMapWrapper.get("KEY").equals("SOME_VALUE")) Barry From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasc

RE: [rules-users] RulesRepositoryException: Unable to checkin withOracle DB (Works with MySQL)

2008-11-04 Thread Knapp, Barry
Hmmm, sounds like nobody else is encountering this issue. Does anyone have an Oracle repository.xml file that I might be able to take a look at? Thanks for any help, Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry K Sent: Thursday, October

RE: RV: [rules-users] Checking an xml field

2008-10-07 Thread Knapp, Barry
Might be worth trying OASISTSO10($e: EVENT) EVENT($g: $e.GEO[0]) OASISTSO10($e.GEO[0].POSITION.LOCID matches "40.*") Barry From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Otaduy del Paso, Zaloa Sent: Tuesday, October 0

RE: [rules-users] rule algorithm

2008-08-29 Thread Knapp, Barry
I would have all of the object be of the same type or implement the same interface (A), then set some calculated facts in a rule that I would use in a subsequent rule to get the final calculation. This first rule fires for every instance of the type or interface If A.weight > 0 Then Set fac

RE: [rules-users] problems with desicion tables

2008-07-23 Thread Knapp, Barry
Make sure all the xls files have the same package declaration at the top. Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vanina Beraudo Sent: Wednesday, July 23, 2008 3:27 PM To: rules-users@lists.jboss.org Subject: [rules-users] problems with desi

RE: [rules-users] Multithreading Rulebase Parsing Threadsafe

2008-05-15 Thread Knapp, Barry
Perfect answer. Thanks! Barry Knapp [EMAIL PROTECTED] office 919.651.5039 cell 919.995.0396 MSN [EMAIL PROTECTED] AIM BarryRKnapp Yahoo BarryKnapp From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

RE: [rules-users] OutOfMemory Error - 3500 Rules

2008-05-02 Thread Knapp, Barry
So here Is a question then. If I create 2 rulebases with 2 different rules, does that consume more permGen space than 1 rulebase with the same 2 rules? Thanks Barry From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli Sent: Friday, May 02, 2008 9:58 AM T

RE: [rules-users] What the.... is happening?

2008-04-04 Thread Knapp, Barry
I think this has already been answered... a few times. "Both 4.0.5 and 4.0.6 where bad releases, poor QA, so we rolled back to 4.0.4." From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mmquelo massi Sent: Friday, April 04, 2008 5:52 AM To: Rules Users List; [EMAIL PROTECTED]

RE: [rules-users] conversion of .pkg file to other formats

2008-03-12 Thread Knapp, Barry
Rick, We had the same issue/concern and chose to pass the drl to our engine. We bypass the default BRMS deployer and created a custom servlet to return the drl. Here is some logic that will generate the drl. PACKAGE_UUID = uuid of your package REPOSITORY_SERVICE = "org.drools.brms.client.

RE: [rules-users] Ruleflow groups in decision tables

2007-10-12 Thread Knapp, Barry
That generic attribute would sure be a nice place to put effective and expiration dates. Really looking forward to the patch :) Barry Barry Knapp [EMAIL PROTECTED] office 919.651.5039 cell 919.995.0396 MSN [EMAIL PROTECTED] AIM

RE: [rules-users] Date - Effective & Date - Expire in BRMS

2007-09-13 Thread Knapp, Barry
ers List' Subject: RE: [rules-users] Date - Effective & Date - Expire in BRMS Include them in your session as separate object(s) and make your references to those object instead of to constants. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

[rules-users] Date - Effective & Date - Expire in BRMS

2007-09-13 Thread Knapp, Barry
Where can the values for Effective date and Expiration date for a decision table? Is there some place in the BRMS to change these dates, so I do not need to update the rule sheet. Thanks Barry ___ rules-users mailing list rules-users@lists.jb

RE: [rules-users] java void in LHS

2007-09-13 Thread Knapp, Barry
You could add a helper method to your java class that returns Boolean class ChessType public Boolean setPriceWithReturn(){ this.price = price return true; } rule test123 when cheese: Chesse() --->>> chess.getType().setPri

RE: [rules-users] How to catch Exceptions when firing rules

2007-08-24 Thread Knapp, Barry
Yang, If you want to evaluate the remaining rules in the transaction you will need to catch and handle your errors rather than throw them to the engine. This is consistent with other products, such as ILog JRules. If you are catching and handling your own errors, you can always grab the rule n

[rules-users] Data Driven Object Models and BRMS validation

2007-08-24 Thread Knapp, Barry
Question: What is the best way to customize the validation in the BRMS? Is there a callout method that exists in JBoss Rules already to override the current validator with a custom validator? Reason: I have a data driven object models and my users create rules in decision tables. I will