Hi All,
I am using drool 4.0.1,I am facing some problem in using or operator
i am using 2 maps by inserting in to working memory:
1) ErrorMapString,String
2) validationmapString,Object
my requirment is to generate error when rule fails for this i am taking
following steps:
1) i insert one
Hello Brian,
I've done something similar previously using a combination of a field
binding constraint, an eval and the excellent joda-time API
(http://joda-time.sourceforge.net/). If I remember right, you'd need
something along the lines of :
import org.joda.time.Duration;
import
Hello!
Im new with Drools and I follow the documentation to install, but when I
try to run the example Hello World its return an error:
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
at
This seems a bug. May I ask you please to open a JIRA for it and attach
a self contained test showing the problem?
At the same time, I think there is a conceptual error in your rules: no
object should be changed in the LHS of the rules. This will surely cause you
problems in the future,
I'll be glad to test with the trunk. Do you have a snapshot build or do I
have to build my own? It would be nice for your downloads area to contain a
nightly snapshot build.
-Chris
On 9/17/07, Mark Proctor [EMAIL PROTECTED] wrote:
Maybe some fixes broke this? can you test with trunk, and
Snapshot build: http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules
Thanks.
2007/9/18, Chris West [EMAIL PROTECTED]:
I'll be glad to test with the trunk. Do you have a snapshot build or do I
have to build my own? It would be nice for your downloads area to contain a
nightly
Hi,
My rule is :
#created on: 29 août 2007
package example
#list any import classes here.
global Boolean test
rule Your Third Rule
#include attributes such as salience here...
when
then
#actions
test = true;
I am having trouble with the BRMS running under JBoss in that the default for
the JBoss app server is to run as localhost but when you change JBoss to use
the actual hostname of the machine so that it can be accessed remotely, the
repository can't be accessed any more.
I know you can export the
I tested the SNAPSHOT, and the problem exists. So my tests indicate that
the example attached to the JIRA runs properly on 4.0.0, does not work on
4.0.1, and does not work on the trunk SNAPSHOT.
-Chris
On 9/18/07, Chris West [EMAIL PROTECTED] wrote:
Edson,
Thanks for the snapshot build
thanks,
it's working.
V.
Mark Proctor wrote:
java is pass by reference, so all you are doing is assigning the local
test pointer to point to something else; which ofcourse won't be
reflected in the global resolvers
drools.getWorkingMemory.setGlobal(test, test);
Mark
vdelbart
Hi all,
When exceptions occur during runtime of drools, is there a list of things to
see to understand what may be causing
this to happen ? I know it is a very generic question. I want to see if
there is a methodical way to understand what
to look for ?.
org.drools.RuntimeDroolsException:
Hi All,
My requirment is that i want to send corresponding error when any rule
fails.
for example:
rule ValidationRuleExp_G250.4_0
when
IValidationField(attributeId ==G250.4)
(((Map( this[G250.18] !=4))(Map( this[G250.4]not
in(910,990,983,995,996,997||((Map( this[G250.18]
==4))(Map(
just enable the -Djboss.bind.address=0.0.0.0 property in your jboss config
On 9/18/07, Peter Docherty [EMAIL PROTECTED] wrote:
I am having trouble with the BRMS running under JBoss in that the default
for
the JBoss app server is to run as localhost but when you change JBoss to
use
the
Has anyone managed to download the model from the insurance example in
the BRMS?
I'm using the standalone version on tomcat 5.5.20.
Thanks,
Mat
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Drouin.Mathieu
Sent: September 11, 2007 11:52 AM
To:
Ok, found out the download didn't work because I was using IE 6...so I
tried in firefox and it works...
The upload still doesn't work though...getting the following
exception...
ERROR 18-09 13:01:48,014 (ApplicationContext.java:log:675) Exception
while dispatching incoming RPC call
Chris,
Thanks for reporting this.
I fixed a bug in 4.0.0 (released in 4.0.1) that causes you to see the
correct value for TestEval1 in 4.0.1 and later versions. Although, at that
time I missed the memberOf scenario. I know why it happens (shadow fact
related), but now I need to
Hi,
First, it would be better if you can use the constraints inside the same
pattern, avoiding subrule generation, instead of using multiple patterns:
Map( this[G250.18] !=4 this[G250.4] not in(910,990,983,995,
996,997)
|| this[G250.18] ==4 this[G250.4] in
Krushnan,
Isn't there a cause by down the stack trace? Current code for raising
the exception is:
try {
return this.expression.evaluate( object,
null,
this.previousDeclarations,
Hi,
Thanks for your help as always. I did look at it a little more closer.
The caused error is as follows :-
INFO | jvm 1 | 2007/09/14 16:46:33 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2007/09/14 16:46:33 | at
Krishnan,
By the line:
INFO | jvm 1 | 2007/09/14 16:46:33 | at
com.makesys.fs.is.dnpiac.vendorBehaviour.snmp.Rule_Cisco_Systems_0.returnValue0
(Rule_Cisco_Systems_0.java:14)
We can decipher the trace :) and know that the NPE is raised in the
rule Rule Cisco Systems, in the first return
http://jira.jboss.com/jira/browse/JBRULES-1204
On 9/18/07, Edson Tirelli [EMAIL PROTECTED] wrote:
Chris,
Thanks for reporting this.
I fixed a bug in 4.0.0 (released in 4.0.1) that causes you to see the
correct value for TestEval1 in 4.0.1 and later versions. Although, at
that
Chris,
Do you really need to collect all these facts? Are you doing anything
with these lists? It would be easier if you can show me the full rule, but
seems to me that maybe you can avoid some or all of these collects. Remember
that collect is a heavy CE, so it is always good to avoid
The fix for 1115 and fix for 1204 you're working will not help me unless
1203 is fixed, because all versions of code after 4.0.0 are affected by
1203, and it is a showstopper for me since I use JDK dynamic proxies as
facts.
-Chris
On 9/18/07, Edson Tirelli [EMAIL PROTECTED] wrote:
Chris,
Chris,
Ok, 1203 is in the pipeline too...
[]s
Edson
2007/9/18, Chris West [EMAIL PROTECTED]:
The fix for 1115 and fix for 1204 you're working will not help me unless
1203 is fixed, because all versions of code after 4.0.0 are affected by
1203, and it is a showstopper for me
24 matches
Mail list logo