Hello all
I am using Drools 4.0.3
I am using a .xml rule file in my application in which I am validating
the user entered data through my rule file.
When I am not using tag in my rule file then it is working
fine but when I use it ,the rules are not firing even it is not showing
any exception als
--- Begin Message ---
Hello Mark
Thanks for your reply.
Actually I have already developed a framework in which for loading the rule
file I am using the following steps:
drl =new InputStreamReader(new FileInputStream(this.fileName));
drlStr = this.getInputStreamAsString(drl);
strReader = new St
Hello all
I am using Drools 4.0.3 in my application.
I want to know about the use of org.drools.concurrent package which is in the
drools-core-4.0.3.jar.
What type of concurrent operations I can do by the classes of this package.
Any information will be appreciated.
Thanks.
With Regards
Pra
--- Begin Message ---
Hi Mark
Thanks very much for your reply.
Actually I want to keep functions and rules in saperate packages because all
the functions will not change through out the application so I am loading the
functions only once using te constructor of a singleton class but in my
appl
Hello all
I am using Drools 4.0.3
I have two packages in my rulebase.In one package I am keeping all the
functions related to my application and in another package I am deploying some
rules for a specific module using front end in my application.
Now I want to use functions from one package in
Hello all
I am using Drools 4.0.3
I want to remove rules from a InvalidRulePackage during the run time of the
java program.
For this I am using removeRule(String packageName, String ruleName) method in
my program but it is giving me the following exception:
org.drools.rule.InvalidRulePackage
Hello all
I am using Drools4.0.3
I have a J2EE application that I am running on Tomcat.
I am using a singleton class in which I am doing the following steps in the
constructor :
PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration();
JavaDialectConfiguration javaConf =
Hello all,
I am using Drools 4.0.3.
In my application I have one singleton class to validate the input parameters.
Also I am using one commonfunction.xml file which has all the functions for the
applications e.g.
// System.out.println(" validateDate date "+date);
// System.out.print
Hello all
I have two packages in my rulebase .I want to use one function from one package
in another package.
How can I do this? Please brief me.
Thanks.
With Regards
Prateek
The information contained in this electronic message and any attachments to
this message are intended for the ex
Hello all
Many congratulations on the release of Drools 4.0.3
I want to remove all the rules belonging to a specific AgendaGroup from the
rulebase containing only one package.
I want to use only the name of the AgendaGroup ,not the names of the rules.
Is there any method in the API that can sol
Hello all,
I am using Drools 4.0.3 in my application in which I am generating the rule
file from the front end.
I made my application in such a way that I can change my rule file during the
runtime (i.e. server is running).
Each time when I submit my test form (on which validation is happening
hello all
I am using Drools 4.0.1.
I have one rule ( name = valsubmitLoanApplication#0_1193115386921 ) in my rule
file. When I am running my application on Tomcat Server first time, the
validation is happening properly. But when I am running the same application
second time(the server is stil
Hi all
I am using drools 4.0.2 and in one of my application i am facing the same
memory leak problem about which we have discussed earlier.
I want to know that when are you going to release the latest version of Drools
i.e. Drools 4.0.3.
It's very argent please give me the proper advice.
T
Hi all
I am using Drools 4.0.
I have written a function in a rule file and i want to use that function in
another rule file.
Please tell me what should i do for this.
Thanks.
With Regards
Prateek
The information contained in this electronic message and any attachments to
this message a
Hi
I am using Drools 4.0.
I have two rules in my rule file.The "when" condition of my first rule is
satisfying.Now please tell me that what should i do if i don't want to execute
the second rule?
Thanks.
With Regards
Prateek
The information contained in this electronic message and any a
--- Begin Message ---
Hi Mark
Thank for your reply.
When i tried with the rule file(.drl format) then also i faced the same problem.
Actually the problem is that when the function returns "true", the program
works fine.
But when the function returns "false",it gives the exception :
java.lang.Nul
--- Begin Message ---
Hi Fernando
Thanks for your reply.
Could you please tell me that is there any alternative to overcome this problem?
Because this is a legal case in which the user just enter "" for a String field.
So i have to validate this in my rule file.
With Regards
Prateek Katiyar
__
Hi
I am using Drools 4.0.
As per the Drools 4.0 documentation if we are declaring a object as global then
we can not use "insert(java.lang.Object Object)" method on this object.
It will be inserted implecetly.Now if we want to update this object in the RHS
part of our rule file then we need th
Hi
I am using Drools 4.0.
I want to know that can i use attribute in my rule file(.xml
format).
Actually i have used it in Drools 3.0 but their is no description for it in
Drools 4.0 documentation.
So please let me know that is it possible or not?
If it is possible then please clarify me with
Hi
I hava a rule file as:
http://drools.org/drools-4.0";
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
xs:schemaLocation="http://drools.org/drools-4.0 drools-4.0.xsd">
(rfq.getM_rfqId() ==null) || (rfq.getM_rfqId().trim().equals(""))
System.out.println("The
Hi
I am using Drools 4.0.
First time I want to fire some specific rules from my rule file(in .xml format)
and then other rules for the second time.
I have defined agenda-group attribute for the rules as follows:
how can I execute specific rules using agenda group or is there any other
o
Hi
I am using Drools 4.0.
First time I want to fire some specific rules from my rule file(in .xml format)
and then other rules for the second time.
I have defined agenda-group attribute for the rules as follows:
how can I execute specific rules using agenda group or is there any other
o
Hi
I am using Drools 4.0.
I want to know that can i use the rule-set tag in our .xml file for
partitioning the rules.
Can i write any statement in the rhs part of a rule to go back to the java
program so that other rules will not execute.
Thanks.
The information contained in this electron
From: Prateek Katiyar (WT01 - ES- eEnabling)
Sent: Wed 9/26/2007 3:07 PM
To: rules-users@lists.jboss.org
Subject: query
Hi
I am using Drools 4.0 version with .xml file.
Here is my java program.
<
Hi
I am using Drools 4.0 version with .xml file.
Here is my java program.
<>
package com.wipro.rfq.report.bean;
import java.io.InputStreamReader;
import java.io.Reader;
import org.drools.RuleBase;
import org.droo
Hi
In one of my program i am getting the following erroe message
Exception in thread "main"
org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing package
name for rule package.
at
org.drools.compiler.PackageBuilder.validatePackageName(PackageBuilder.java:294)
at org.dro
26 matches
Mail list logo