Hi Mark,
Thanks for the reply. I created a packagebuilder.conf file that simply had
name/value pairs in it as follows:
drools.dialect.java.compiler=JANINO
and I placed into one of each of the following locations:
WEB-INF
WEB-INF/classes
META-INF
I tried each one, one after the other but I
Hi Mark,
After a bit of debugging I managed to resolve my issue. It appears the
correct way to resolve this issue is to instantiate an instance of
PackageBuilderConfiguration and pass into the constructor a Properties
object where you specify your options.
Spring configuration:
bean
Allocate more memory for the JVM when starting the application/server. As
an example, pass the following in to the JVM on startup:
-Xms128m -Xmx256m
By default, the JVM only allocate 64M of memory. You simply need to tell
the JVM to allocate more.
Shiva Shankar Reddy Katula [EMAIL
I did make certain that my rule file
had the extension of .dslr. I discovered this early on and realized the
importance when I renamed it. Of course I renamed it back to .dslr once
I saw the difference.
The DRL preview of my rule is
as follows:
rule
Maximum Order
Amount Exceeded
salience
9800
OK, I opened a JIRA for this issue.
JBRULES-1191
Thanks again for the help and the work
around.
Chris Mathrusse
[EMAIL PROTECTED]
Sybase, Inc
One Sybase Drive
Dublin, CA 94568
(925) 236-5553
Edson Tirelli
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/13/2007 10:27 AM
Please respond
You can access it with the following:
drools.getRule().getName()
Irving Reid
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/13/2007 08:34 PM
Please respond to
Rules Users List rules-users@lists.jboss.org
To
rules-users@lists.jboss.org
cc
Subject
[rules-users] Is there a
way
I'm using a DSL with my DRL file and
I've read through the documentation but I've gotten hung-up on the syntax.
Below is a rule from my DRL and the expansion in my DSL.
My rule in the DRL:
rule
Maximum Order
Amount Exceeded
salience
9800
when
There is
an Order with
- an
Thanks for the response. This clears things up greatly. I
guess what I am struggling with at this point is the best approach to applying
the rules. I looked over the Conway example I began to use the DSL editor. This
seems to be a "best approach" to defining the rules but still left me