Yes, I added in knowledge base.
When I look at in Guvnor it shows up in the model.
When I open up mortgagemodel, it is there.
--
View this message in context:
http://drools.46999.n3.nabble.com/kbase-getFactType-returning-null-even-though-I-see-it-in-Guvnor-tp4020018p4020020.html
Sent from the D
I am using the mortgage example in Guvnor and I added a factType to the model
called BillRate.
I am getting a null back on this:
FactType billrateType = kbase.getFactType("mortgages", "BillRate");
The original types in that are predefined work such as Bankruptcy,
Applicant, etc.
I rebuilt the
So, what versions do I use?
I downloaded the guvnor from Jboss web site. 5.4.0 final and I got the
example code from github repository.
--
View this message in context:
http://drools.46999.n3.nabble.com/Deserialzation-Error-running-test-example-tp4019874p4019882.html
Sent from the Drools: User
Okay, i changed my mortgage-changeset.xml to:
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
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/chan
I get this error running either with Netbeans or Eclispe.
I downloaded source from github.
Lastest Guvnor too.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinde
is is all you should need:-
git clone https://github.com/droolsjbpm/guvnor
Dependencies are not downloaded when cloning from github. This is normal
behavior.
Importing into Eclipse with M2Eclipse should download and import the
dependencies.
On 18 September 2012 13:14, richard wrote:
It di
It did not load/include the jars when I imported from the github.
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-example-how-to-access-rules-in-database-instead-sample-drl-file-tp4019713p4019829.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Where do I get the correct jar for these?
import org.drools.KnowledgeBase;
import org.drools.agent.KnowledgeAgent;
import org.drools.agent.KnowledgeAgentFactory;
import org.drools.definition.type.FactType;
import org.drools.io.Resource;
import org.drools.io.ResourceFactory;
import org.drools.runtim
What do you suggest?
Are you using Eclipse, if so which version?
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-example-how-to-access-rules-in-database-instead-sample-drl-file-tp4019713p4019817.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
I get could not get the value for parameter encoding for plugin execution
default-resources when I am doing and import of existing maven project.
Could not get the value for parameter encoding for plugin execution
default-resources
Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or on
Could you post a link with the correct download for the example where I can
import a maven project?
I have installed Maven and the eclipse plugin for it.
Thanks,
Richard
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-example-how-to-access-rules-in-database-instead
a Eclipse .project file?
Either of these will ensure your classpath dependencies are correctly setup.
On 14 September 2012 21:54, richard wrote:
I fixed the above with including right jar.
>But now I get this.
>Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFou
I fixed the above with including right jar.
But now I get this.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
org/drools/util/FastClassLoader
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
I think I am running the correct example.
I am using eclipse, so maybe i have it set up wrong?
Any clues?
Exception in thread "main" org.drools.ProviderInitializationException:
Provider org.drools.impl.KnowledgeBaseProviderImpl could not be set.
at
org.drools.KnowledgeBaseFactory.loadP
Michael,
I had edited post,
I get this error now
Exception in thread "main" java.lang.NoSuchMethodError:
org.drools.util.CompositeClassLoader.clone()Lorg/drools/util/CompositeClassLoader;
at
org.drools.RuleBaseConfiguration.getClassLoader(RuleBaseConfiguration.java:886)
at org.droo
d JBoss AS7.1.1 so am confident it works.
On 14 September 2012 16:56, richard wrote:
Guvnor - Version 5.4.0.Final
>\drools-examples\drools-examples-brms\mortgage-example
>
>I get this error.
>
>java.lang.RuntimeException: KnowledgeAgent exception while trying to
>deseri
Guvnor - Version 5.4.0.Final
\drools-examples\drools-examples-brms\mortgage-example
I get this error.
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(Knowle
I assume you mean the mortgageApplicationTest.java.
I have looked at the models, so I see the fact types in the model.
But when I try to run mortgageApplicationTest.java
I am getting:
Exception in thread "main" java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Prop
I guess I don't understand, I am able to pull the rules from the db.
I can see how the helloworld example works because i see stuff being used in
sample.drl.
Dummy rule : mortgages : RULE
Underage : mortgages : RULE
Bankruptcy history : mortgages : RULE
No bad credit checks : mortgages : RULE
no
I am able to get a list of the rules from the mortgage in the database, but
how do I set up the java when I fire the rules, to get them to execute the
underage rule?
Viewing source for: Underage
1. | rule "Underage"
2. | salience 10
3. | dialect "mv
Newbie here,
How do I access the rules in mortgage/test in sample versus having the rule
included in a .drl file?
Guvnor is up and running in tomcat.
Thanks for your help.
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-example-how-to-access-rules-in-database-inste
ols Flow>>
>>
> You'll need to have jBPM on your classpath to execute ruleflows.
>
> Mark
>>
>> 2012/4/27 Richard Moore
>> Hi,
>>
>> I am starting to learn Drools and have hit a problem when using the
>> Ru
Hi,
I am starting to learn Drools and have hit a problem when using the RuleFlow.
Whenever I try to run the sample project using Eclipse I get the following
error:
Caused by: java.lang.ClassNotFoundException:
org.jbpm.bpmn2.BPMN2ProcessProviderImpl
at java.net.URLClassLoader$1.run(Unknown S
Wolfgang: Are the slides for your presentation online? This would be very
helpful. I have searched repeatedly for a rule design best practices
document and have only found conference agenda items on the topic but no
actual document. After more than a year of working with Drools, I have
figured out
le out thread-safety issues, but for them, it may be worth a shot.
Thank you for your interest in resolving user issues. I'm sorry I can't be
of more help this time, but as you can see from my JIRA history, I try to
do my part. That's what an open source community is all about.
Than
session.fireAllRules();
}
-Richard
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
necessary (synchronizing on the session),
then there is a thread-safety bug in Drools.
-Richard
2012/2/10 Mark Proctor
> On 10/02/2012 03:36, Apache wrote:
>
> Hey,
> I am trying to get multiple threads to insert events and run rules against
> the union of events inserted
2004/08/06/method-injection/
-Richard
On Wed, Jan 11, 2012 at 4:37 PM, Hrumph wrote:
> Is it possible to dynamically create a KnowledgeSession using the
> Drools-server API, or must the be statically declared in the Spring config?
>
> Thanks
>
> --
> View this message in co
ot), you
want to insert and fire immediately upon event arrival (and, yes, events
could come from an asynchronous messaging queue).
At least this approach has worked well for me. Happy to hear feedback from
others.
-Richard
On Thu, Dec 22, 2011 at 10:45 AM, Skiddlebop wrote:
> Thanks for the l
t"
> *Envoyé: *Mercredi 9 Novembre 2011 14:53:00
> *Objet: *Re: [rules-users] Bugs in Drools 5.3.0 break Fusion event
> processing
>
>
>
>Richard,
>
>This is great info. Yes, please open JIRA's for all 3 issues and we
> will make sure this is fixed for
I am making extensive use of the event processing features of the Drools
rule engine. Upgrading from Drools 5.2.0.Final to Drools 5.3.0.Final broke
47 of my unit tests and also broke my functional tests. There seem to be
multiple changes in Drools 5.3.0 that cause incorrect behavior and/or break
ba
Robert Crawford wrote:
>
> Any advice on how to troubleshoot problems? I have a fairly simple set of
> rules (a couple dozen), but keep having problems with fatal exceptions.
> The most recent was:
>
> org.drools.RuntimeDroolsException: Unexpected exception executing action
> org.drools.reteoo.P
Martin A wrote:
>
> Hello,
> I'm looking for the online 5.3.0 javadocs, but can't find it... Would you
> point me to a reference?
>
I have not been able to find online (as opposed to download) javadoc for any
version of Drools after 5.1.1 either. I created an issue about that here:
https://issu
Hello,
I am new to Drools (1 day of reading and watching video podcasts etc...). We
have a requirement for our project where we'll have an input table HSQLDB table
and some validation rules we need to apply on the data in the table. Some
tables will have > 45 000 records or more. Would this ki
ing the problem is the same for the 4 views, even though I haven't
tried).
Richard
Vijay Katam wrote:
>
> Richard,
> I use "Drools Application" to launch my applications. In the refresh
> problem that you encountered do you have any elements in those views and
> th
Hi,
Trying to get to grips with Fusion and absence of events...
If I have a Bean that has just a simple variable, e.g. class
MyBean { private String name; getter+setter }
I want to use events to determine when an object with name=="one"
is available, and no object with name=="tw
Thanks very much Wolfgang it was seeing the "2P" in your equation that made
me realise that I had missed the "amountInPence < 0 &&" in the final
accumulation. Its now working fine.
Richard
Wolfgang Laun-2 wrote:
>
> For simplicity's sake, I
s@lists.jboss.org
>
> The second accumulate has "amountInPence < 0" but the values in your
> data are all positive. Therefore,...
> -W
>
> 2009/7/14 Richard Sherman :
> > Thanks Wolfgang,
> >
> > Here's the extra information as requested.
&
nDate : 2009/07/12
amountInPence : 45000
transactionCode : Type 1
- transactionDate : 2009/07/13
amountInPence : 5000
transactionCode : Type 2
Thanks
Richard
>From: wolfgang.l...@gmail.com
>To: rules-users@lists.jboss.org
>Date: Tue, 14 Jul 2009 12:43:40 +0
$value : amountInPence)
from $acc.transactions),
sum($value)
)
then
$s.setMessage( "Account in arrears" );
update($s); // flag update
end
Thanks
Richard
___
hi, we are using Drools 4.0.7
and have a rule which uses a Hibernate entity (SaleEventItem) and its related
entity (Inventory). Some times, the SaleEventItem passed as the fact has the
Inventory lazy loaded and hence its type is the Hibernate proxy -
Inventory_$$_javassist_93. In this case, the
Is it possible to define a column in a Web Decision Table with a function
call template so that data values are passed to a function - say
eval(Fact.check($1)) - as it is in spreadsheet tables?
Thanks
Richard
Richard Evans
07985 437 517
www.thoughtbreak.com
I have a situation where I need to execute one group of rules in one
circumstance and another in a different circumstance. So frar so good. I
just have 2 rulesets in a flow -each pointing at a different ruleflow group
- and select using a split.
However I expect the number of rule-flow groups t
Hello folk.
I am trying to work out the best way to use drools for an application where
I have :
- A domain of @30 fairly complex policy rules each of which has a
Boolean outcome (Fired or Not)
- A domain of @100 "audiences" who apply different subsets of the
policy rules and
Hi,
In drools-jbrms all history information is kept, which is great for
when we are in production to track changes.
However, during development we perform a lot of changes and tests with
the repository.
Is there anyway to remove the history information from the repository?
Cheers
Ric
__
On wednesday I logged a bug GUVNOR-19 indicating that I am unable to
deploy Guvnor M2 in Glassfish application server.
Since then, and with little sleep, I have been able to workaround the
problem.
To deploy Guvnor M2 release in glassfish, do the following.
Download jboss-seam from
http://he
Hi,
I have a DSL defined in BRMS
that says for example..
[when]The cat sat on the mat=Object(moose)
and then loads of rules defined that are using that DSL..
Now the business wants to change the words so that the DSL reads
[when]The dog sat on the mat=Object(moose)
That is easy to do, as I
Are there any schedules for BRMS V2? Several items look like they will
solve some of our requirements.
Many thanks,
Ric
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
ed using a DSL.
Can the whole rule be defined in Groovy/Java - if so I might be easier doing
that. I have so much work to do!
many thanks
Richard
2008/5/2 Anstis, Michael (M.) <[EMAIL PROTECTED]>:
> Hi Richard,
>
> The "when" section matches fact (object) patterns, so
Hi,
say I have a class with two fields, x and y:
public class Test {
int x = 1;
int y = 2;
getters/setters...
}
I would like a rule which fires when y = x + 1
my initial thought would be something like:
rule "Rule 1"
when
test : Test (y == x + 1)
Hi,
I've been reading the Drools documentation where it is mentioned that
"It is strongly discouraged to set (or change) a global value from
inside your rules. We recommend to you always set the value from your
application using the working memory interface." What is the reason for
this?
Also,
ECTED] On Behalf Of X10
Sent: Tuesday, April 08, 2008 6:15 PM
To: Rules Users List
Subject: Re: [rules-users] Rule files missing in examples
On Tue, 2008-04-08 at 17:20 +0530, Seema Richard wrote:
> I'm new to Drools, trying to learn from the examples. I downloaded the
> drools-4.0.4-e
Hi,
I'm new to Drools, trying to learn from the examples. I downloaded the
drools-4.0.4-examples.zip from
http://www.jboss.org/drools/downloads.html. The rule files are missing
in most of the examples. Even the simplest one, HelloWorld.drl is
missing. Please let me know how I can get the correc
Hi all,
I have added the Drools 4.0.6 plugin in my Eclipse v 3.2.2.
I have the plugin jar containing all the required classes in the
org.drools.eclipse_4.0.6.jar which is added to the plugins folder of
Eclipse. But I'm getting this error when I attempt to open a .drl file.
java.lang.ClassNotFou
> You can also find a sample example ShoppingExample.java and Shopping.drl,
> which is self-explanatory.
> However, I was not able to test few MVEL features like projections, which i
> think if added would make drools even more dynamic.
>
> Thanks,
> manjax23
>
>
> Richard Hoberman
ions, which i
>> think if added would make drools even more dynamic.
>>
>> Thanks,
>> manjax23
>>
>>
>> Richard Hoberman wrote:
>>
>>> 1. I can't find any mention of dialects anywhere in the Drools 4
>>> manual. Am I missing
dClaimValidationTest.java:29)
at
com.sadalbari.mvanamibia.model.UnregisteredClaimValidationTest.testEmptyClaim(UnregisteredClaimValidationTest.java:42)
... Removed 22 stack frames
Thanks
Richard
Mark Proctor wrote:
> in theory for nested accessors it should switch to the MVEL dialect
> automatically. You only need to specify the MVEL dialect explici
I'm using Drools 4 (M2), which is supposed to support nested accessors*
This works: when Claim( submissionInfo == null), but not this: when
Claim( submissionInfo.date == null)
Rule file, SubmissionInfo.java and exception are below.
What am I missing?
Richard
* See
http://article.gman
58 matches
Mail list logo