[rules-users] pattern / tag is not working in rule file

2008-01-17 Thread prateek.katiyar
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 pattern / 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

[rules-users] RE: rules-users Digest, Vol 12, Issue 79

2007-12-02 Thread prateek.katiyar
---BeginMessage--- 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

[rules-users] about use of org.drools.concurrent package

2007-11-28 Thread prateek.katiyar
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

[rules-users] problem in removing rule from rulebase

2007-11-25 Thread prateek.katiyar
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:

[rules-users] Problem with Drools 4.0.3

2007-11-23 Thread prateek.katiyar
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

[rules-users] RunTime problem with Drools 4.0.3

2007-11-21 Thread prateek.katiyar
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. function return-type=boolean name=validateDate parameter identifier=date

[rules-users] Problem with rule file

2007-10-24 Thread prateek.katiyar
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

[rules-users] Abour removing the rules from the rulebase

2007-10-24 Thread prateek.katiyar
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

[rules-users] Drools 4.0.3

2007-10-22 Thread prateek.katiyar
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.

[rules-users] about function in rule file

2007-10-11 Thread prateek.katiyar
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

[rules-users] About rules firing

2007-10-08 Thread prateek.katiyar
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

[rules-users] Help me

2007-10-03 Thread prateek.katiyar
Hi I hava a rule file as: ?xml version=1.0 encoding=UTF-8? package name=rules xmlns=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 import name=com.wipro.rfq.report.bean.Validator.RFQBean /

[rules-users] executing specific rules using agenda group

2007-09-30 Thread prateek.katiyar
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: rule-attribute name=agenda-group value=Check-rfq/ how can I execute specific

[rules-users] how to use a method in a xml file

2007-09-27 Thread prateek.katiyar
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.

[rules-users] query

2007-09-26 Thread prateek.katiyar
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

[rules-users] query

2007-09-24 Thread prateek.katiyar
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