[rules-users] How to write related table dsl,dslr files

2008-06-10 Thread Nagaraju runkana
Hi , i have some problem... core_preference_text this my table name.Row like "VARIABLE_CODE" VARCHAR2(60 BYTE)" i need write dsl,dslr files related data validation to the table. 1. variable_code should be unieque per enterprise_id 2. variable_code can not be updated give me some suggestion ..h

re[rules-users] -use of an object used in a previous rule

2008-06-10 Thread Mounir Chattou
Hi, I have a problem : a fact is inserted in a rule but when I cast for it in another, nothing happened, here is a simplified code to understand better : rule "eco" ruleflow-group "economic" salience 20 when a : Alpha() then Beta beta = new Beta()

[rules-users] JSR-94 and JEE integration

2008-06-10 Thread Knoster
Hi, i would like to integrate drools in jee. to be more flexible i was loking at jsr-94. as i suppose jsr-94 only addresses j2se environment, my question is: how it is possible to use drools with this specs from an ejb3 session bean? my thoughts about this brought me to the idea of injecting the ru

RE: [rules-users] JSR-94 and JEE integration

2008-06-10 Thread Hehl, Thomas
I know nothing about jsr-94, but we use drools in a webapp, servlet side only. It seems to me you could simply put your rules into a stateless session bean. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knoster Sent: Tuesday, June 10, 2008 4:46 AM To: r

RE: [rules-users] JSR-94 and JEE integration

2008-06-10 Thread Corneil du Plessis
We use JSR-94 and have a 'RuleLoader' that uses our rule definitions and a velocity script to generate the rules and creates a ruleset from that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hehl, Thomas Sent: 10 June 2008 13:48 To: 'Rules Users List' S

Re: re[rules-users] -use of an object used in a previous rule

2008-06-10 Thread Mounir Chattou
Could it be an "equals" method problem ?? -- View this message in context: http://www.nabble.com/re-use-of-an-object-used-in-a-previous-rule-tp17750384p17756335.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mail

RE: re[rules-users] -use of an object used in a previous rule

2008-06-10 Thread Corneil du Plessis
I can't see where you insert an object of type Alpha that would fire 'pack eco' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mounir Chattou Sent: 10 June 2008 10:34 To: rules-users@lists.jboss.org Subject: re[rules-users] -use of an object used in a pr

Re: re[rules-users] -use of an object used in a previous rule

2008-06-10 Thread Mounir Chattou
I'm sorry there was a mistake because I tried to change too quickly the names ...%-| I changed the code above. But anyways Drools doesn't activate the last rule. I don't understand why ... -- View this message in context: http://www.nabble.com/re-use-of-an-object-used-in-a-previous-rule-tp177503

Re: [rules-users] Security, ldap and tomcat - Urgent please help

2008-06-10 Thread jbossruler
Can anybody see this? it still shows pending? jbossruler wrote: > > Hi, > I deployed Drools onto Tomcat and I am trying to figure out how to get > security to work. I want to use LDAP but I have no clue where to begin. > All of the tutorials I see make use of JBoss AS. I do not have the option

[rules-users] Accessing the fact model class files

2008-06-10 Thread Felbecker, Tobias
Hi all, I create a *.pkg package with the BRMS and I want to access the class files from my fact model at runtime. I coud't find a way to do so in the org.drools.rule.Package API. Is there a way to do so? Thx, Tobi ___ rules-users mailing list rules-use

Re: [rules-users] JSR-94 and JEE integration

2008-06-10 Thread Knoster
to access the engine from a servlet might not be the problem, as in servlets some attributes are managed as singletons. but with ejb3 there are no singletons, as i know. Hehl, Thomas wrote: > I know nothing about jsr-94, but we use drools in a webapp, servlet side > only. > > It seems to me you c

Re: [rules-users] JSR-94 and JEE integration

2008-06-10 Thread Knoster
thankĀ“s for your quick answer. well, in witch context does your 'RuleLoader' reside? do u use ejbs for access? Corneil du Plessis wrote: > We use JSR-94 and have a 'RuleLoader' that uses our rule definitions and a > velocity script to generate the rules and creates a ruleset from that. > > -Or

RE: [rules-users] JSR-94 and JEE integration

2008-06-10 Thread Corneil du Plessis
We use Spring to manage most of the application components including singletons and we expose the application as stateless session bean. No entity beans. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knoster Sent: 10 June 2008 17:44 To: Rules Users List

[rules-users] Security, ldap and tomcat

2008-06-10 Thread jbossruler
Hi, I deployed Drools onto Tomcat and I am trying to figure out how to get security to work. I want to use LDAP but I have no clue where to begin. All of the tutorials I see make use of JBoss AS. I do not have the option of using JBoss AS. Can somebody point me in the right direction or let me kno

[rules-users] Drools Maven repository error

2008-06-10 Thread Wilson O Ojwang
All, I am getting the following error while updating drools 4.0.7 repo. using the following ant task version="4.0.7"/> OR using version="4.0.7"/> version="4.0.7"/> Here is the error == ant Buildfile: build.xml [artifact:dependencies] Downloading: org/dro

[rules-users] NoClassDefFoundError when dynamically updating rulebase for rule using 'accumulate' CE

2008-06-10 Thread kunal
I am dynamically adding/modifying rules (packages) to a loaded rule-base and having issues specifically when my rule contains accumulate CE. For an example, following is a rule which I am trying to add to my rulebase (which is already loaded in memory). rule "7d7fa7f1-164b-45a7-8e5a-c0c260815f9a"

[rules-users] beginner needs help

2008-06-10 Thread Senlin Liang
Hi all, I just started using Drools. I tried to run some example, but they all give me errors. Is there any simple instructions for beginners? Any help is appreciated. Senlin I tried to run examples in drools-examples/drools-examples-drl/src/main/java/org/drools/examples But got some exc