I meant that I called the rule agent in such a way that I call it only once.
I put it in a singleton.
As far as I know the "update in place" works fine.
Bye,
Massi
On Fri, Feb 22, 2008 at 7:17 PM, Zoltan Farkas <
zoly@daxtechnologies.com> wrote:
I use the url to get the rulebase, I supply a localCacheDir=. with a local folder only to cache the rulebase.
The url is from a deployed package via the drools JBRMS.
I am not sure I understand what you mean by "how do u implement the ruleagent"
I use: org.drools.agent.RuleAgent and I did not implement that class...
I suspect there is something wrong with the "update in place" implementation, or I am doing something really wrong :-)
--zoly
________________________________________
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of mmquelo massi
Sent: Friday, February 22, 2008 12:31 PM
To: Rules Users List
Subject: [rules-users] Re: deadlock when rules get updated?
Hi,
Sorry to reply with another question but I need it to ask u...
Ho do u define the localDir???
I need to use it as well and I do not know how to use it.
Should I put the .pkg file somewhere in Jboss dir?
As far as concerned your issue.... how do u implement
the ruleagent???
I do the same steps in order to get the rulebase but I encapsulated
everything within a singleton "getSession()" method.... just
like the "drools insurance example".
Did u do the same??
Let me know.
Massi
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users