[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? ___

[rules-users] guvnor - dsl rule editor - using : in text box

2010-02-17 Thread John Walker
: The value http://google.com is not valid for this field What needs to happen to allow a value with a colon? I did not have this problem with drools4 and JBRMS. Thanks, John ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org

Re: [rules-users] guvnor - dsl rule editor - using : in text box

2010-02-17 Thread John Walker
matches {v9:.*}=field9!=null, field9 matches {v9} [then]Set summary to {summary:.*}=... code here ... I am not very familiar with regex inside the DSL variable placeholders. I've only just seen this in other forum posts. Thanks, John

Re: [rules-users] high cpu usage

2009-03-25 Thread John A Thompson
I would not worry about this, especially on solaris. You're first test was invalid. You ran on an idle system. The OS is going to give the Java process whatever amount of the CPU it needs to complete its work. On an idle system, there is nothing competing for the CPU. In this scenario, a very

Re: [rules-users] StatefulKnowledgeSession and J2EE

2009-02-12 Thread John A Thompson
I have a similar situation, and am kicking around JMS/MDBs. I'm interested in the feedback you get on this question. On Wed, Feb 11, 2009 at 8:45 PM, Dan Seaver dan.sea...@ge.com wrote: Is there any recommended Best Practice for instantiating and accessing a StatelfulKnowledgeSession in a

Re: [rules-users] Re: scheduled starting of a ruleflow-group / drools fusion docs

2009-02-03 Thread John A Thompson
. There are semantic differences in both approaches, so you need to look at the whole of your scenario to decide what is more appropriate to you. Ok, can someone help translating this into a users manual? ;) Or examples? /me back to docs Edson 2009/2/2 John A Thompson fly.yam...@gmail.com

Re: [rules-users] Re: scheduled starting of a ruleflow-group / drools fusion docs

2009-02-02 Thread John A Thompson
Edson, I'm very interested in fusion. I'm looking at it using it for fraud detection in a credit card authorization system. Quick question - can the time of facts be asserted? I'm thinking around how to handle testing, and business requirements of batch authorizations. (where 3rd parties send

Re: [rules-users] ClassLoader Problem

2008-10-18 Thread John
Yann, You need to add your com/sample/* classes to the classpath of your PluginClassLoader, or configure that ClassLoader to use a parent that has those classes on its classpath. John Yann Massard wrote: Hi, I am using version 4.0.7 of Drools. I am trying to load facts with a particular

[rules-users] Mvel compilation error

2008-07-17 Thread John Squire
Hi All, We are intermittently getting mvel compilation errors with the following: Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

Re: [rules-users] Problem using Package Builder

2008-03-07 Thread john
in your catch block, I suspect it will tell you what the problem is. John ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Re: repository documentation

2008-01-07 Thread John Verhaeg
Massi Gmail mmquelo at gmail.com writes: http://labs.jboss.com/drools/livetrails/index.html Does it help You? These are nice demos, so thanks for pointing them out, but unless I'm missing something they don't realize address my problem. I understand how to work with Drools in regard to

[rules-users] repository documentation

2008-01-04 Thread John Verhaeg
Can someone point me to some documentation that explains how to populate a drools repository with packages, models, rules, DSLs, etc., programmatically without using the BRMS? TIA ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] drools ide apparently not finding my drools configuration file

2007-12-29 Thread John J. Franey
This is not a showstopper, when my application runs in a junit test, drools is finding my configuration file. Eclipse's Problems View is showing the error: No accumulator function found for identifier: ... However, I DO HAVE the accumulator function listed in my drools.packagebuilder.conf and

Re: Re:[rules-users] JUnit testing

2007-12-05 Thread John J. Franey
development is different than application development. Regards, John -- View this message in context: http://www.nabble.com/Re%3AJUnit-testing-tf4947303.html#a14178234 Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing

[rules-users] looping due to immediate retraction

2007-11-21 Thread John J. Franey
wondering: why does the update break the infinite loop? Thanks, John -- View this message in context: http://www.nabble.com/looping-due-to-immediate-retraction-tf4847517.html#a13869521 Sent from the drools - user mailing list archive at Nabble.com

[rules-users] BRMS Insurance Sample - Invalid Class Exception

2007-10-25 Thread John Nader
I am seeing the same issue. My configuration is slightly different in that I am using Drools 4.0.3 and JBoss 4.2.2GA with Java 5. I have been searching very hard to find where these two different version of AbstractParser are coming from. This class comes out of the MVEL. The jar in the

[rules-users] enum Support

2007-04-10 Thread John Howard
in DROOLS. Thanks, John ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Re: NoViableAltException

2007-04-10 Thread John Howard
Edson Tirelli tirelli at post.com writes:    John,   Yes, please open a JIRA. This is an error in the parser that needs to be fixed or it may bite our foot later.    Thank you,   Edson JBRULES-783 raised. Cheers, John ___ rules-users

[rules-users] NoViableAltException

2007-04-09 Thread John Howard
' typeSpec )]) I think this was working in the previous version of JBoss rules, I'm now running 3.1 M1. Thanks, John ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Problem in adding speicified packages

2007-03-01 Thread Micheal John
Hi all, I am using Drools IDE in Eclipse 3.2. While I am creating the Rules project using Drools IDE, I am having the following folfder structur: SampleRule src java rules I am crerating the package, so that: SampleRule src java com sample rules Whenever I am creating a new rule, it

<    1   2