We have been using a custom rules engine successfully for our 1000+
rules for our student loans application, but these rules are decision
based types rules (if then else).
For assessing loan amounts for our student loan application, we have
over 400+ calculation formulas plus decision logic.
I have a compound LHS statement that is causing the parser to fail.
Here is my exact stacktrace:
org.drools.compiler.DroolsParserException: Unknown error while parsing.
This is a bug. Please contact the Development team.
at org.drools.compiler.DrlParser.compile(DrlParser.java:183)
Hello,
I am wondering if anyone has any experience in managing very large rule
sets and facts and could share their experiences in the design and
management of this.
We are embarking on a new Student Information System project here at UBC
in conjunction with several other American universit
Hi everybody:
I would like to use Drools to capture validation logics that will be shared
at UI level and back-end level. That is, I need to fire a specific rule
on-demand to validate a field input and fire it again as part of the final
validation.
To fire a specific rule, I use the agenda-grou
Solved.
Actually, Mark Proctor solved this several days ago when he asked if
Seam came with its own Drools jars.
It does. If you use the non-Seam bundled drools jars, you will get
this exception. Sorry for wasting anyone's
time on this, but I'm curiousany ideas what is different betwee
Hello,
I downloaded Seam 2.0.0.GA, built the drools example (it's a simple
number guess application). It fails exactly the same way.
I'm guessing the Seam guys tested this before releasing, so I'm
assuming (as Edson pointed out) a JVM issue with Mac OS X Leopard?
On Nov 8, 2007, at 6:57 AM
Hello Edson,
Frankly, I wouldn't spend a lot of time on this. The alternate
approach is to inject the working memory into the Seam component as
described in the docs. Assuming that works (which I'm sure it will),
then there's no reason to use the approach I was attempting. Let me
mes
Mario,
Each working memory executes single threaded and as such will use only
one processor. As long as you have each of your requests creating a working
memory (ideally from a shared pre-loaded/pre-compiled rulebase) and
executing in a separate thread, it should be using all your processors
This looks like a bug. Can you please open a JIRA and attach a self
contained test you are using to reproduce the problem? This helps us to
speed up getting the solution.
Thanks,
Edson
2007/11/7, Adrian Cowham <[EMAIL PROTECTED]>:
>
> I'm running into an issue where the || operator embe
Hi all,
I've got a fairly simple web application with DRools 4.0.3 deployed on a Tomcat
5.5, where I'm running a stress test of about 100 users doing fact changes every
half a second. There are about 20 rules and about 20 facts. Each action loads
and compiles the rule base, creates a new working m
Hi Mohamed!
Mohamed Mhissen wrote:
I use restrictions to control access to my pages.
[...]
rule RestrictAccessClientEdit
when
check: PermissionCheck(name == "/ClientEdit.xhtml", action ==
"render")
Role(name == "admin")
then
chec
The use of regular expressions in your pattern match would help.
rule "GeneralisedRestrictAccessClient"
when
check : PermissionCheck( name matches "/*Edit.xhtml", action == "render"
)
then
check.grant();
end
You'd best check the RegEx syntax though!
Cheers,
Mike
_
From:
I use restrictions to control access to my pages.
In my security.drl file, I have :
*Code:*
rule RestrictAccessClientEdit
when
check: PermissionCheck(name == "/ClientEdit.xhtml", action ==
"render")
Role(name == "admin")
then
chec
Sikkandar,
regard a rule-semaphore as a "guard": It's a variable which you use
on left hand side of rules:
rule 1
when Guard g
then
end
You can set the semaphore in any other rule to control which other
rules you want to disable or enable...
(If you need background on semaphores, have a l
14 matches
Mail list logo