In gameWinner == PARTICIPANTS.HOME.getId(), the second operand isn't an
enum, it's a method call on an enum object. Hence, it must be written as a
"Return Value Restriction" (cf. Expert doc on a Rule's LHS), thus
..., gameWinner == ( PARTICIPANTS.HOME.getId() ), ...
-W
2009/8/6 Zevenbergen, A
Greg, thanks for the tip. I wasn't aware of jconsole. I grew up on
'C' and am still finding my way around java and its tools.
I recreated the situation and both jconsole and netbeans (running under
its debugger) report "No deadlock detected". Yet here I am with three
threads in the middle o
Did you do deadlock detection in a tool like jconsole?
--- On Thu, 8/6/09, Charles Binford wrote:
> From: Charles Binford
> Subject: [rules-users] multi-threaded deadlock?
> To: "Rules Users List"
> Date: Thursday, August 6, 2009, 4:08 PM
> All,
>
> Drools 4.0.7.
>
> I have a single ruleba
All,
Drools 4.0.7.
I have a single rulebase and three threads running stateless sessions
(each thread has it's own session). All appears to work fine until I
try to dynamically update the packages in the rulebase. That scenario
intermittently hangs on an apparent deadlock. The documentation s
You just need to create a mapping like..
There is a product type = productType : ProductType()
There is a customer = customer : Party()
and you can write the LHS of the rule like
when
>not PricingResult()
There is a product type
There is a customer
Matt
Hi all,
I am about to start a new project here using Drools and in order to
better understand it I am reading the developer's guide book written
by Michal Bali.
During my readings, one thing caught my attention, on page 26 of the
book the author mentions:
"Use the global variable in a rule cond
Hi,
This is my where clause:
when
resultInfo : TennisResultInfo(endGame == true , setNumber ==
5,gameWinner == PARTICIPANTS.HOME.getId() , gameLoseScore == 0)
then
the rule falls over on PARTICIPANTS.HOME.getId()
PARTICIPANTS.HOME.getId() is an enum and returns an integer
Hi,
I am using Drools Guvnor. I want to know how we can create new permission
that we assign to a user.
Presently we have admin, Analyst, Analyst.readonly, Package.admin,
Package.developer, Package.readonly.
Also if i am giving package.readonly permission to User, he is able to
modify the rules