[rules-users] DSL Build Problem

2012-02-07 Thread John Peterson
I'm looking for a little help on a problem we can't figure out with some DSL errors during a build. We're working with version 5.3.0.Final on RSA 7.5.5. The offending line of DSL is on the rule is: Write qualifyingPoints on Result as $var01 * $var02 $var01 and $var02 are variables set in the

[rules-users] Question about JBoss Enterprise BRMS Platform 5.2

2011-11-04 Thread John Peterson
Does purchased support for BRMS include support for jBPM? ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Error in Guvnor with Enumerations (5.1.1)

2011-08-24 Thread John Peterson
Reposting since I didn't get any takers. I'm hoping it might have been because I sent it to the list on a Friday afternoon (2 weeks ago). Hey, I'm trying to utilize a load method for Guvnor, but I can't seem to get it working. His is my DataHelper class (modeling it off the documentation):

[rules-users] Error in Guvnor with Enumerations (5.1.1)

2011-08-11 Thread John Peterson
Hi, I'm trying to utilize a load method for Guvnor, but I can't seem to get it working. His is my DataHelper class (modeling it off the documentation): package com.enumerations; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class DataHelper {

[rules-users] Why is Drools called Drools?

2011-06-10 Thread John Peterson
This is something I get asked on a semi-regular basis and I don't have a good answer for it, so I thought I'd post it to the mailing list and hope someone can tell the story. Is there anyone out there who can explain how the name Drools was settled on?

[rules-users] Rule Flow and Stateless Session

2011-05-27 Thread John Peterson
I'm having some difficulty getting a rule flow with a stateless session to work. Essentially, it is just executing the first task and then stops. I'm using Drools 5.1.1 and I just built the sample Drools by creating a new Drools Project. My rule flow is simple:

[rules-users] Problems with Drools 5.2.0.M1 and IE7?

2011-05-04 Thread John Peterson
Has anyone experienced problems running with the graphic layout of Guvnor with Drools 5.2.0.M1 on Internet Explorer 7? It appears to be okay with IE8. Thanks. ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] help! the field *** is not visible

2011-04-12 Thread John Peterson
Try adding 'dialect mvel' (no single quotes) after the rule name to the top of each of the rules. I have seen this error before and doing this resolved the issue. hello,everyone!I wrote a rule with Drools,but the error told me that the field Server.Message is not visible, I can't find how it

[rules-users] Existing Test Harnesses for Drools?

2011-04-12 Thread John Peterson
I was wondering if anyone out there is aware of any Test Harnesses that could be used for regression testing Drools applications out there? We found this spreadsheet tester from Michael Neale: https://github.com/michaelneale/rule-spreadsheet-tester/#readme Are there any others? Thanks!

[rules-users] Test Scenarios with Rule Flows in 5.1.1 Guvnor

2011-03-30 Thread John Peterson
Hi all, I had (hopefully) a quick question about trying to test rules in rule flows in Guvnor with Drools 5.1.1. I have a simple 4 step rule flow (Start-RuleGroup1-RuleGroup2-End) with 1 rule in each Rule group. When I set up the test scenario to fire the first rule, which will trigger the

Re: [rules-users] Problems with Guided Rule Editor in Eclipse

2011-03-16 Thread John Peterson
know when a fix is planned, but my feeling is that nobody uses the guided editor under eclipse (dsrl editor works well and provide completions on facts and DSL sentences). But it is not easy when you have rules that comes from Guvnor ... Le 15/03/2011 20:47, John Peterson a ?crit : I am

Re: [rules-users] Problems with Guided Rule Editor in Eclipse

2011-03-16 Thread John Peterson
I'm working in Eclipse only right now, but not using DSL for this particular situation (yet). I've manage to make the error go away by removing the package name from drools.package, however, when I attempt to run the code that builds the application to run the rule, it fails to resolve the

[rules-users] Problems with Guided Rule Editor in Eclipse

2011-03-15 Thread John Peterson
I am experimenting with the Guided Rule Editor in Eclipse, but I am unable to get a Guided Rule to parse. I have created a Drools Project using the basic Hello World example for starters. I've created a class called Item with 3 attributes - itemPrice (float), ItemNumber (int), and

[rules-users] Unable to find implementation for BusinessRuleProvider

2011-03-09 Thread John Peterson
Hi, I've been experimenting with the Guided Rule Editor plug-in in Eclipse. I've built a Drools Project using the default Hello World sample application. I've created a new Guided Rule in my project called GuidedRule.brl and get the associated drools.package with it. The rule is simple: WHEN

[rules-users] Dynamic Salience

2011-03-01 Thread John Peterson
Is Dynamic Salience supported by Guvnor? I've done some experimenting and it does not, but I thought I'd validate my results in case I'm missing something. ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] KnowledgeAgent exception while trying to deserialize

2011-01-05 Thread John Peterson
any new packages been successful? Thanks, Mike On 4 January 2011 18:12, John Peterson john.peterson.g...@statefarm.comwrote: I upgraded Guvnor on the JBoss server by replacing the 5.0.1 drools-guvnor.war in /server/default/deploy with the drools-guvnor.war for 5.1.1. Once we restarted

[rules-users] KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage

2011-01-04 Thread John Peterson
This is sort of a repost of an error I've been getting, but I thought with the new year, I'd give it another shot. I've been getting the following exception in my code: [2010:12:361 09:12:910:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet [2010:12:361 09:12:972:exception]

Re: [rules-users] KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage

2011-01-04 Thread John Peterson
will need to re-compile\re-package the binaries as a number of SerialVersionIds changed. It wasn't clear from your email whether this is what you have set-up. Happy New Year! Mike 2011/1/4 John Peterson john.peterson.g...@statefarm.com This is sort of a repost of an error I?ve been getting, but I

[rules-users] URL for package documentation does not refresh with new Build

2010-12-30 Thread John Peterson
I was experimenting with Guvnor 5.1.1's new capability to produce documentation. In my scenario, I did a Build Package and then clicked on the URL for package documentation link. Everything looked fine. Then I went back and added a description to one rule and un-disabled another rule (in DSL) to

Re: [rules-users] URL for package documentation does not refresh

2010-12-30 Thread John Peterson
We're running on a Linux server using JBoss 4.2.3.GA, so the documentation isn't on our workstations (we tried clearing the cache on IE and it didn't resolve the issue). Is it sitting out on the server someplace? Message: 3 Date: Thu, 30 Dec 2010 07:31:14 -0700 From: John Peterson

[rules-users] StreamCorruptedException - invalid stream header

2010-12-27 Thread John Peterson
Hi, I'm experiencing an interesting issue with Drools/Guvnor. I am running Drools 5.1.1 on my workstation and the Guvnor 5.1.1 standalone locally. When I run it locally, it works fine. The server installation of JBoss AS was downloaded and installed at the same time as Drools 5.1.1. When I try

[rules-users] StreamCorruptedException - invalid stream

2010-12-27 Thread John Peterson
Workstation Version (windows): 1.6.0_17 Server Version (linux): 1.6.0 (build 1.6.0-b09) Are you using the same JVM version in both machines? Greetings 2010/12/27 John Peterson john.peterson.g...@statefarm.com Hi, I?m experiencing an interesting issue with Drools/Guvnor. I am running

Re: [rules-users] StreamCorruptedException - invalid stream

2010-12-27 Thread John Peterson
. -- Message: 1 Date: Mon, 27 Dec 2010 09:05:50 -0700 From: John Peterson john.peterson.g...@statefarm.com Subject: [rules-users] StreamCorruptedException - invalid stream To: rules-users@lists.jboss.org Message-ID

[rules-users] Unable to validate package configuration (eg, DSLs, models) for [package name]

2010-12-23 Thread John Peterson
Hi, We recently upgraded from Drools/Guvnor 5.0.1 to 5.1.1 (early December). We had an existing package we had developed in 5.0.1 that we had not done much with since the upgrade. This morning, we tried to open one of the rules in that package and we get the following messages: Picture (Device

Re: [rules-users] Using GlobalArea in Guvnor

2010-12-14 Thread John Peterson
Message: 7 Date: Fri, 10 Dec 2010 09:48:21 -0700 From: John Peterson john.peterson.g...@statefarm.com Subject: [rules-users] Using GlobalArea in Guvnor To: rules-users@lists.jboss.org Message-ID: d3a6e68928c9104bb815c83f43a36bdf0ef4e...@wpscv6nh.opr.statefarm.org Content-Type: text/plain

[rules-users] Using GlobalArea in Guvnor

2010-12-10 Thread John Peterson
Hi, I'm working with Guvnor 5.1.1 and I'm having an issue accessing Declarative Models defined in the Global Area in the Packages. Is it possible to create a shared model in the Global Area and then write rules against them in other packages? It would seem to me that the answer would be yes

Re: [rules-users] KnowledgeAgent exception while trying to deserialize

2010-12-07 Thread John Peterson
the packages in Guvnor, there is a button for that. Server and client must all be on the same version, as well as compiled Packages. Mark On 03/12/2010 16:15, John Peterson wrote: I'm getting the following error when I attempt torun my Drools application. I recently upgraded from Drools 5.0.1

[rules-users] KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage

2010-12-03 Thread John Peterson
I'm getting the following error when I attempt to run my Drools application. I recently upgraded from Drools 5.0.1 and Guvnor 5.0.1 to 5.1.1 (for both). I've looked through the rules-users list and I found the issue with the XML Change Set (authentication), which I've addressed (XML listed at

Re: [rules-users] @role( event ) in guvnor

2010-12-01 Thread John Peterson
Message: 3 Date: Tue, 30 Nov 2010 02:16:05 -0800 (PST) From: Pankaj Khattar pankaj.khatt...@alcatel-lucent.com Subject: Re: [rules-users] @role( event ) in guvnor To: rules-users@lists.jboss.org Message-ID: 1291112165767-1991857.p...@n3.nabble.com Content-Type: text/plain; charset=us-ascii

Re: [rules-users] rules-users Digest, Vol 48, Issue 72

2010-11-19 Thread John Peterson
Message: 2 Date: Fri, 19 Nov 2010 09:07:33 +1100 From: Xinhua Zhu xh...@it.uts.edu.au Subject: [rules-users] Integrate Fusion into Guvnor To: rules-users@lists.jboss.org Message-ID: aanlktimqfjttdmj=mfner9nqckttpdvyfoh-not1s...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi

Re: [rules-users] Integrate Fusion into Guvnor

2010-11-19 Thread John Peterson
Message: 4 Date: Fri, 19 Nov 2010 07:01:36 -0700 From: John Peterson john.peterson.g...@statefarm.com Subject: Re: [rules-users] rules-users Digest, Vol 48, Issue 72 To: rules-users@lists.jboss.org Message-ID: d3a6e68928c9104bb815c83f43a36bdf0ed54...@wpscv6nh.opr.statefarm.org Content

[rules-users] User Experience with multiple users in Guvnor

2010-11-12 Thread John Peterson
I have a question for users out there working with Guvnor. Do you have more than one user working on rules within the same package at the same time? How are you handling versioning and testing, especially if the changes are not going out at the same time? We've been experimenting with Guvnor

[rules-users] Error with update in Guvnor

2010-11-05 Thread John Peterson
Hi all, I'm getting a strange error when I run my rules deployed from Guvnor. Here's the rule: WHEN Fact1 [f1] Flag1 = false Flag2 = false Fact2 [f2] KeyField = f1.KeyField THEN f1.Flag2 = true; update(f1); f2.count1 = f2.count1 - 1; f2.count2 = f2.count2 - 1; f2.count3 = f2.count3 - 1;

[rules-users] Starting a process in Guvnor with ruleflow-group

2010-10-27 Thread John Peterson
Hi all, I'm doing some experimentation for a business problem and I've hit a snag when it comes to Guvnor and Ruleflow-Groups. I'm using Guvnor 5.0.1 and Drools 5.0.1. I've uploaded a simple 4 step (plus start and end) ruleflow-group to Guvnor. I've added ruleflow-group attributes to all my

[rules-users] Some rule packages have disappeared in Guvnor

2010-10-20 Thread John Peterson
Hey all, We restarted our JBoss Server (version 4.2.3.GA) on Linux and after the restart completed, we noticed that some of our packages (2) have disappeared. I've gone through the server log and there is an error (PathNotFoundException) for one of the missing packages, which I've pasted below.

Re: [rules-users] Is it possible to use CEP features in Guvnor?

2010-10-13 Thread John Peterson
be defined but not tested. 2010/10/12 John Peterson john.peterson.g...@statefarm.com I was wondering if it was possible to leverage the CEP features in Guvnor. I am not sure how we?d set the ?...@role(event)? in Guvnor or putting the ?entry-point? in the rule unless you use DSL (embedding

[rules-users] Is it possible to use CEP features in Guvnor?

2010-10-12 Thread John Peterson
I was wondering if it was possible to leverage the CEP features in Guvnor. I am not sure how we'd set the @role(event) in Guvnor or putting the entry-point in the rule unless you use DSL (embedding it in the translation) or doing technical rules. ___

[rules-users] More Information - NoClassDefFoundError when inserting

2010-08-25 Thread John Peterson
, 24 Aug 2010 09:30:37 -0700 From: John Peterson john.peterson.g...@statefarm.com Subject: [rules-users] NoClassDefFoundError when inserting Guvnor-declared Fact To: rules-users@lists.jboss.org Message-ID: d3a6e68928c9104bb815c83f43a36bdf0e27c...@wpscv6nh.opr.statefarm.org Content

[rules-users] NoClassDefFoundError when inserting Guvnor-declared Fact

2010-08-24 Thread John Peterson
I'm experiencing a stack trace error (which I've pasted below) with a sample Drools/Guvnor application. I'm running version 5.0.1 right now. Here's the scenario: I have a Java application loading data (56 records right now) from a flat file, creating objects (one per row), parsing the

[rules-users] FW: how to fire a subset of rules in KB?

2010-06-08 Thread John Peterson
Date: Mon, 7 Jun 2010 17:28:12 +0800 From: wenjinchao wenjinchao0...@gmail.com Subject: [rules-users] how to fire a subset of rules in KB? To: rules-users rules-users@lists.jboss.org Message-ID: 201006071728086572...@gmail.com Content-Type: text/plain; charset=us-ascii Hi all, I'm a newbie for

[rules-users] Working on Selectors - getting 'The Selector named onlyNonDraftRules is not available'

2010-05-26 Thread John Peterson
I'm working off of Jarosław Kijanowski's blog post from 7/8/2009 on using Selectors: http://www.kijanowski.eu/index.php?site=articlesarticle=guvnor_selectorslang=en I've followed the instructions for a DRL selector, including adding a line to the selector.properties file as follows:

Re: [rules-users] Using Drools as a glorified Hashmap

2010-05-19 Thread John Peterson
Hey Daniel, My suggestion was that a single default rule could be fired to indicate that the prescription was invalid if all the matching rules failed to create a valid match. Example: - Match Rule 1, Salience 50, Activation-group Match Rules - Match Rule 2, Salience 50, Activation-group Match

Re: [rules-users] Using Drools as a glorified Hashmap

2010-05-18 Thread John Peterson
How many match rules do you have? You could always set a single invalid rule with a low salience (at least lower than your match rules) that is always true and sets the flag that it is invalid. Then put all the rules into the same activation-group so that only one can fire. If the invalid flag

[rules-users] Questions about using Knowledge Agent

2010-05-11 Thread John Peterson
Hi all, I'm trying to get the sample code in the Drools 5.0.1 User Manual to work locally for a Knowledge Agent, but I'm missing some info (from my perspective) to get it to run. Question #1: From the User Manual (3.2.6): KnowledgeAgent kagent =

Re: [rules-users] rules not wrking

2010-04-30 Thread John Peterson
If you really wanted to see your text string there, you might be able to invoke a method that takes that text string and prints it and then returns true in all cases. You'd most likely need to put it in an Eval as suggested below. You can't directly use java code inside the LHS of a rule. You

[rules-users] Trying to get Eclipse Java code to call Guvnor

2010-03-26 Thread John Peterson
I'm using the example code from the Red Hat Magazine - http://magazine.redhat.com/2008/08/12/jboss-drools-how-to-tuning-guvnor- part-1/ - to try to get the sample code to work, but I keep getting the following error: Exception in thread main java.lang.NullPointerException at

[rules-users] Guvnor Newbie Question

2010-03-22 Thread John Peterson
I've imported a model from Eclipse and created a bunch of rules in Guvnor, but I have not found a way to see all the Facts, Attributes, and Methods that are available in my Model. Is there some place I can go see everything from within Guvnor? ___