I think there is some fundamental error in deriving truths from givens and
other derived facts that are then interpreted as given truths, and,
moreover, with subtly varying semantics. In terms of graph theory:
reachability is based on (directed) edges, but it does not establish
additional edges.
D
I have a similar problem.
Looking at the drools-guvnor 5.1.1 src it appears that the change set is
hard coded in PackageDeploymentServlet. Essentially it takes the URL
request, chops off the /ChangeSet.xml and returns that url in a changeset
xml which does not have the authentication parameters,
Hello,
I have a requirement to migrate some business rules from WebSphere Process
Server (WPS) to the equivalent product of JBoss . The current functionality
implemented on WPS is
1. Execute appropriate conditions like if-else and decision tables based
on the content in the request mess
What I had is a very simplified version of how calculating transitive
closure could go wrong...
Let's say we have two rules:
rule 1
when
link(a,b)
then
insertLogical(new reachable(a,b))
rule 2
when
link(a,b) reachable(b,c)
then
insertLogical(new reachable(a,c))
Let's say, I have link(a,b
Simon,
The behavior seems correct to me as B is justified by either A or C (or
both). Of course, from the initial state, A is required for C to first
exist, but once it starts to exist, your rules say that B and C justify each
other and so both remain in memory.
This is design as intende
Hi Simon,
Could you tell me a bit more about your logic below in code level? I
can't imagine how it goes.
So, I first insert an A(), print all the objects. Retract A(), and
print all the objects. Here's what I got:
com.sample.B@42
com.sample.C@43
com.sample.A@548997d1
after retract!
com.sample.B
There have been previous posts on this problem:
http://drools-java-rules-engine.46999.n3.nabble.com/Starting-resource-change-scanner-and-notifier-in-drools-server-td1528921.html
but I was unable to find a resolution, or issue in Jira.
Looking at the code in 5.1.1 (and trunk), I could not find wh
Hi,
When I started to using drools flow persistence, I was getting the same
error "java.lang.IllegalStateException: EntityManager is closed". After a
lot of time I figured out that I was using the command "ksession.dispose();"
and when I removed this command everything worked fine.
Regards,
Ander
You can create your own logger implementation using the method:
ksession.addEventListener(listener);
This listener can be one of these three types:
ProcessEventListener
AgendaEventListener
WorkingMemoryEventListener
Take a look at those interface and after that you can implement and bind
your cust
Ok - I managed to get this to work. Now the main question - I've used
ExternalSpreadsheetCompiler. This is still considered 'Experimental' per the
5.1.1 documentation ! And when I look at some history it looks like
RuleTemplates have been around since August of 2008. Is there a road map of
when Rul
Hi Pradeep,
Please explain in detail about how you could make relative path working.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-specify-relative-URL-in-chagenset-xml-file-tp120226p2647899.html
Sent from the Drools - User mailing list archive at N
I have an application that processes rules on every request. Basically,
the application creates a stateless session for every request and fires the
rules.
My question is how to integrate drools logging into this application.
KnowledgeLoggerRuntimeFactory takes a string for filename instead of a
Hello There,
I'm using Drools as a part of my current project and have a few questions. I
subscribed to the forums and posted a new question but it keeps showing up
as pending.
Do I need to do anything else from my side?
Thanks!
___
rules-users mailing
Hi all,
An interesting finding:
I have three simple rules:
rule "A2B"
when
A()
then
insertLogical(new B());
end
rule "B2C"
when
B()
then
insertLogical(new C());
end
rule "C2B"
when
Hi,
I'm seeing some odd behavior in Drools Flow 5.1.1. When using JPA and
creating a StatefulKnowledgeSession using
JPAKnowledgeService.newStatefulKnowledgeSession(), processes look like they
run to completion, but calling RuleFlowProcessInstance.getState() on process
instances created froim this
I've just created 2 class like you show me with some changes to fit
and test all (timestamp are long in fact, i have put int, double and
string as well)
In the second class you don't need the attributes as members, because
Drools uses get / set methods to deduce them, and anyway you never use
I am getting following error on console with every rule trigger.
If 2 conditions met I got following lines twice.
2011-03-03 20:39:26,358 ERROR [STDERR] (http-127.0.0.1-80-2)
org.drools.event.rule.impl.BeforeActivationFiredEventImpl@1f8c9e8
2011-03-03 20:39:26,359 ERROR [STDERR] (http-127.0.0.1-80
It's being looked into and hopefully resolved soon:
https://issues.jboss.org/browse/ORG-990
-W
2011/3/7 Faisal Shafique
> That happened to me recently too. Using Internet Explorer browser instead
> of Chrome fixed it. Try downloading through a different browser.
>
> Regards,
>
> Faisal Shafique
This is a bug in 5.1.1 and earlier. It's been fixed (with other things) for
5.2.
If you are willing to hack the source of 5.1.1, it's in
org.drools.decisiontable.parser.DefaultRuleSheetListener
lines 520-540, insert another one like this:
} else if ( actionType.type == ActionType.AGEN
Hi all,
Let me tune in on this old post.
Is AGENDA-GROUP still unavailable in excel decision tables (V5.1)? The user
manual suggests it should be possible, but when I try it, it doesn't seem to
work.
In the same row as CONDITION, PRIORITY and ACTION, I named one of the
columns AGENDA-GROUP. The
That happened to me recently too. Using Internet Explorer browser instead of
Chrome fixed it. Try downloading through a different browser.
Regards,
Faisal Shafique
On Mar 7, 2011, at 6:55 AM, "Billy Buzzard"
wrote:
> I’m new to drools and I would like to download the binaries and try some of
Thanks for your help Vincent.
To be sure i have understood all well.
I've just created 2 class like you show me with some changes to fit and test
all (timestamp are long in fact, i have put int, double and string as well)
:
First class :
import java.util.HashMap;
public class MapPojo extends H
Drools-ant also supports setting up multiple Guvnor instances in a
jackrabbit cluster. Give it a test and let us know if you run into any
issues:
http://blog.athico.com/2011/01/configuring-multiple-guvnor-instances.html.
Thanks.
Tihomir
On 3/7/11 6:34 AM, David Faulkner wrote:
Sartaj,
You c
I'm new to drools and I would like to download the binaries and try some
of the examples. However, when I click on the download like of the
Drools binaries the screen goes dim and nothing happens. Would someone
please explain to me what is going on and what I should do to get the
binaries.
_
Sartaj,
You can have two nodes of Guvnor in a clustered configuration. Note that there
are significant changes to your repository configuration that need to be made
to fully support a clustered deployment.
Please refer to
http://wiki.apache.org/jackrabbit/Clustering
for more information. Good
25 matches
Mail list logo