I've run into this issue a few more times. Should I log a JIRA ticket for
this? Any advice would be appreciated.
Thanks,
Norman
From: Norman C rent_my_t...@yahoo.com
To: rules-users@lists.jboss.org
Sent: Sat, July 31, 2010 9:56:26 PM
Subject: Re: Possible
I am a little confused by what you are saying; could you please clarify?
Do you insert a new decision object in working memory from each rule; and
then you need another rule operating on decision objects of a certain
categorisation? The formatting of your email did not lend itself well to
Hi,
I'm having problems with seeing the process in gwt-console. :p
This time the difference is I change the guvnor components.xml authenticator
to other and role based authorization as true and set the
login-config.xml authentication to a users.properties
The steps and difference in setup I
Assuming that the engine is handling one set of facts at a time, I would
use a single additional fact to collect all decisions. The details of this
object
may vary (depending on whether you have a constant number of rules or
not).
enum Decision { UNDEF, GRANTED, DEFERRED,... }
class Collector {
Hi all,
I just recently noticed that drools 5.1 is out and i'd like to congratulate
the jboss team for this great milestone achievement. I've also noticed that
there is separate documentation for this version on
http://jboss.org/drools/documentation.html but i haven't been able to find
the major
Hi ,
Iam trying to persistence drools workflow using my sql as back end . But
iam getting Could not commit sessions
Iam trying with example code,
drool.session.conf file contains
drools.workItemHandlers = MyWorkItemHandlers.conf
#drools.commandService =
On 05/08/2010 10:44, miguel machado wrote:
Hi all,
I just recently noticed that drools 5.1 is out and i'd like to
congratulate the jboss team for this great milestone achievement. I've
also noticed that there is separate documentation for this version on
thanks a lot, i'll look into it!
_ miguel
2010/8/5 Mark Proctor mproc...@codehaus.org
On 05/08/2010 10:44, miguel machado wrote:
Hi all,
I just recently noticed that drools 5.1 is out and i'd like to
congratulate the jboss team for this great milestone achievement. I've also
noticed
I'm using code such as
KnowledgeRuntime knowledgeRuntime;
for( KnowledgePackage knowledgePackage:
knowledgeRuntime.getKnowledgeBase().getKnowledgePackages() ){
for( Rule rule: knowledgePackage.getRules() ){
}
}
to obtain rules, intending to construct a SetRule. This, however,
Hi All,
I am trying to implement a mutli-threaded application using Drools Guvnor,
my question is whether or not i can share a reference of say a
StatefulKnowledgeSession or Knowledge between multiple threads? Any help is
much appreciated.
Kind regards,
James.
After further testing, here's what I am seeing.
GOAL: Serialize a KnowledgePackage object (or Collection of them) to a File,
read that file in as a PKG to create a KnowledgeBase
I have not gotten basic Java Serialization to work. I get the exception from
the previous post every time I try to
Try to add all the packages to a kbuilder and then serialize the resulting
packages. You will need to create a PKG per logical package though. If your
DSLR and DSL files are in the same logical package, the kbuilder will only
contain one package that you have to serialize.
Best,
Hi all,
Just wanted to let know that there is a minor issue on the installation script
for 5.1.0. When running the task:
ant install.demo
It fails with this error:
drools-5.1.0/install/build.xml:158: Can't get
Hi,
I'm working on thinking in Drools rules. Right now I'm trying to solve this:
The rule shall fire if _a special event occurs more than 3 times
within 1 hour_.
My _first thought of a solution_ was to count the count the detected
events using a counter. But the counter has to be a global
My patch adding hashCode and equals has been applied by Edson.
-W
On 5 August 2010 13:09, Wolfgang Laun wolfgang.l...@gmail.com wrote:
I'm using code such as
KnowledgeRuntime knowledgeRuntime;
for( KnowledgePackage knowledgePackage:
Ok, did that and it still only works when serializing using
DroolsStreamUtils.streamOut and using a KnowledgeAgent to construct the
KnowledgeBase from the serialized package, but it does work with multiple
resources in the same logical package when serializing.
Still fails when trying to use
How can I obtain reference to MinaTaskClientHandler through drools config
tags? I mean .. we have drools:kbase tag for KnowledgeBase...similarly, do
we have anything for MinaTaskClientHandler...
I basically need to call the methods, TaskClient.claim, TaskClient.complete
etc thro
Basic idea: associate a Watcher with each event.
class Watcher {
Value what;
int count = 1;
SetValue valueSet = new HashSetValue();
Watcher( Value first ){
valueSet.add( what = first );
}
//...
}
And now the rules:
rule attachWatcher
when
$event : Value(
how can i edit global imports in workflow rf file through eclipse plugin...
not manually...
I would like to add global imports to workflow file through eclipse ??
-drooRam
--
View this message in context:
I have configured the applicationContext.xml as follows for stateful JPA
persistance session - jpaSingleSessionCommandService :
drools:ksession id=jpaSingleSessionCommandService type=stateful
kbase=flowKnowledge
drools:configuration
drools:jpa-persistence
Thank you for this approach, Wolfgang. That sounds great. :)
I just have some further question about your solution.
#1
I'm thinking about an approach without the need modifying things outside
the drl file. Is something like that doable?
Because I have to create the watcher class? (I don't
Hi,
I'm using custom operators in Drools, implementing EvaluatorDefinition and
BaseEvaluator interfaces, and adding them to the
KnowledgeBuilderConfiguration. (tested on 5.01)
Is there a way to make these new operators available in the Guvnor guided
editor?
Thanks!
Alejandro
--
View this
Hi
I have got the following exception when i tried to call ksession.dispose()
method : Does anyone have faced this problem before??
java.lang.IllegalStateException: No value for key
[org.springframework.orm.jpa.localcontainerentitymanagerfactoryb...@173898a]
bound to thread [http-8080-1]
23 matches
Mail list logo