Hmm...
I'm currently working with 5.0 which doesn't have built-in selectors. As you
have said, I would consider this a workaround. I'm not so much in favour of
relying on a manual build and configuration process with setting the right
categories, choosing the respective selector and creating a sna
On 2010/12/16 4:15, Gerret Hansper wrote:
>
> Hello,
>
> if you have a package com.foo in Guvnor it is possible to create a new
> package com.foo.bar.
> Guvnor will then place the bar package beneath the foo package in the
> KBaseTree.
> But other than that the sub package doesn't have any relation
Unfortunately we have not got chance to try Guvnor on GlassFish. This
task was on the list, but just havent got enough time. Not sure if
anyone from the community has any experience with this. FYI, following
doc shows how to deploy Guvnor on various containers:
http://community.jboss.org/wiki/D
Thanks Gerret.
After sending the mail I also observed this behavior. The 'dot' approach has
the inheritance issue which u have rightly raised in your response mail.
Another way to achieve this, though its a workaround is
Steps to create knowledgeBase with combination of package & category:
1. Ju
I am seeing some odd behavior where it seems that inference is not working
when trying to use a flow process within a stateless knowledge session. I
have tried to do the same thing in both stateful and stateless, and the
behavior is different. It appears that if one rule inserts a fact in its
rig
Hello,
if you have a package com.foo in Guvnor it is possible to create a new
package com.foo.bar.
Guvnor will then place the bar package beneath the foo package in the
KBaseTree.
But other than that the sub package doesn't have any relation to its parent,
which I find unfortunate, too.
I was hop
My apologies, I should have looked a little deeper. The Guvnor Event Log showed
I was missing a class in my POJO Model JAR; I fixed that and now everything is
working fine.
--- On Wed, 12/15/10, Scott Mayne wrote:
From: Scott Mayne
Subject: Guvnor 5.1: Can't open assets - "Unable to validate
Hi all,
Using Guvnor 5.1, I'm unable to open assets and get this message:
"* Unable to validate package configuration (eg, DSLs, models) for
[CA.FH.BETACAU]. Suggestion completions may not operate correctly for graphical
editors for this package.
* Unable to get content assistance for this rule
In this case, I would just use clear out the working memory:
for( Person p: ... ){
insert( p );
ksession.fireAllRules();
for( Object object: ksession.getObjects() ){
ksession.retract( ksession.getFactHandle( object ) );
}
}
without recreating another ksession for t
Sorry, I couldn't explain it correctly (first time you understand me correct)
So, please see the code (no it was really realised as you said before ->
every time start new session but...)
I'l try to show example:
private KnowledgeBase kbase;
...
kbase = readKnowledgeBase(ruleflowfileSheme, rule
Hello Jervis,
According to my knowledge, Category is just a way of clubbing related stuff.
If I use knowledge agent to fetch the rules from the guvnor repository than
currently I can provide only the package name.
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/*
mortgages*/L
Hi,
Thanks for you reply.
Your answer looks like a workable one. Thanks.
I eventually implemented this by implemented using "not(...over
window:time(1h)...)" with event duration configured to 1h
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drool
Sub package is not supported at the moment. Is there any specific reason
why you want to use a sub package? You might be able to achieve same
result using other things, like categories.
Cheers,
Jervis
On 2010/12/15 22:13, Harshit Bapna wrote:
> Hello All,
>
> I have gone through the Guvnor UI a
Hello All,
I have gone through the Guvnor UI and I couldn't find a way to create sub
packages under parent package.
for ex: Under package Mortgage, I want to create subMortgage.
*Also I found a method createSubPackage in RepositoryService but not able to
get the UI way to create a subpackage.*
This is a bug. I've filed jira
https://issues.jboss.org/browse/GUVNOR-1124. I will take a look into
this jira next week.
Thanks,
Jervis
On 2010/12/15 2:24, John Peterson wrote:
>> I'm working with Guvnor 5.1.1 and I'm having an issue accessing
>> >Declarative Models defined in the Global Area i
Hello,
I downloaded Guvnor, web based BRMS (WAR) Version 5.1 and tried to deploy it
on Glassfish v3.
Unfortunately without success.
To be more specific:
I put "drools-5.1.1-guvnor.war" into
{glassfish_home}\domains\{configuration}\autodeploy and started Glassfish
within Eclipse 3.5, using Java
Well, the subject of your email says "...remove *all *objects", but now you
say you want to keep them...
What's the distinction between the facts you want to keep and the ones you
want to retract? If they are in separate classes, it's simple: either with a
few rules or use kSession.getObjects(), w
Thanks, for you advice,
but is there any possibilities to realize it to use only one session
(without new creation for each object from list)
because now it is "cheap", but in great size of list
and amount of rules it shouldn't be more so productive :-S
I need to use one session for all obje
Have you looked at insertLogical()?
"Changes made" is a very general term, could be anything...
-
-W
2010/12/15 Diego San Esteban
> Greetings,
>
>
>
> How is it possible to implement a "rollback" in the KB?
> Suppose that when retracting a fact, I want to undo the changes made.
> Writing a ne
Just call kSession.dispose() and create another kSession from the Knowledge
Base.
Session creation is cheap enough.
-W
On 15 December 2010 09:59, saynyshy wrote:
>
> Hello!
>
> I really need help and advice.
>
> I'm using StatefulKnowledgeSession();
> in loop I want to check Listls;
> I have t
My Guvnor is setup to save its repository in an Oracle database.
However, the DBAs have a schedule that takes the database down at night
for backup.
I am finding that, if I set up the ResourceChangeNotifier/Scanner system
then the resource gets unloaded from the KnowledgeBase when the database
Greetings,
How is it possible to implement a "rollback" in the KB?
Suppose that when retracting a fact, I want to undo the changes made.
Writing a negative (opposite) rule isn't efficient, it means declaring the
rule twice effectively. Also the negative rule is usually using lots of OR's
and
Hello!
I really need help and advice.
I'm using StatefulKnowledgeSession();
in loop I want to check Listls;
I have three rules.
(in rules I add some more objects to memory drools.insert(listOfLongIds);
drools.insert(listOfFloatAmounts); drools.insert(listOfStringNames);)
How can I remove all ob
23 matches
Mail list logo