l look into it when I get
> a chance.
>
> Edson
>
> 2010/9/14 tom ska :
> > Hi,
> > in my package definition I have two kinds of facts. I use
> stateFullSession
> > and I send to ksession facts of two different types. For each type I have
> > one
Hi,
in my package definition I have two kinds of facts. I use stateFullSession
and I send to ksession facts of two different types. For each type I have
one rule using only this type. So what I am doing is processing two
different fact's types in one session. I start fireAllRules, and I know it
fir
Hi,
what I want to do, is to initialise knowledgeBase with package created in
Guvnor. But I don't want to use changeSet.xml. I have my own configuration
file (apache commons configuration), and I want to load all connection's
data from this file. So I have in my config file: Guvnor's URL, and login
Hi,
I have problem with importing and using DrlParser & XmlDumper classes. In
Eclipse I get thoose communicate:
"Discouraged access: The type DrlParser is not accessible due to restriction
on required library [path hier]\drools-compiler.jar"
I googled this problem (maybe not too long) but I haven'
give a different treatment to objects with value == 0,
> just add another rule for them.
>
>[]s
>Edson
>
>
> 2010/8/31 tom ska
>
>> Hello,
>> I have a class and rule:
>>
>> class CTestObj
>> {
>> private double value;
>
Hello,
I have a class and rule:
class CTestObj
{
private double value;
void setValue(double v) {
this.value = v;
}
double getValue() {
return this.value;
}
}
rule "r1"
when
p : CTestObj
then
p.setVal
Hello,
what I want to do, is to get rule's body(rule's code written in DRL). For
example: I have a ConsequenceException, and I can get rule's name, and
package this way:
.
.
.
catch (ConsequenceException e) {
e.getRule().getName();
e.getRule().getPackageName();
}
But for me it is n
Hi,
what I can't do is to save rules defined in Guvnor to DBMS's tables. I want
another application to read rules, and this another application can read
from Database. I saved Guvnor's data in database, but I can't see tables
with rules definition... How can I do it?
Thanks in advance,
tom.
__
and come back with the response) or in server side
> with a client id.
>
>
> 2010/8/20 tom ska
>
>> Thanks Esteban. I thought it could be a solution too, but I am not
>> experienced (and my knowledge is not big either) in solving such a problems.
>>
>> If I wou
d have different ksessions (and not kbases)
> for each user.
>
> Best,
>
>
>
> Esteban Aliverti
> - Developer @ http://www.plugtree.com
> - Blog @ http://ilesteban.wordpress.com
>
>
> 2010/8/20 tom ska
>
>> Hi,
Hi,
what I have is SOAP Web Service with two methods: fn_AddFacts, and
fn_Conclude. I defined special XML implementation to send various fact's
types via SOAP. Model is defined in DRL/Guvnor - and rules too.
So now, I can add some facts (web service creates them using Drools
"reflection" API) to k
untPojo.*hra* = hra;
>
> }
>
>
>
> }
>
>
>
> Let me know if you still require any further information.
>
>
>
> Regards,
>
> Kripa
>
> *From:* rules-users-boun...@lists.jboss.org [mailto:
> rules-users-boun...@lists.jboss.org] *On Behalf Of *tom
Hi,
it's important to do quick training to Your's client. Why? Because a way of
thinking is a little bit different in some cases. For example: in Drools
rules You can't do ELSE case (in IF-ELSE). There exists only IF. Another
case could be creating general rules:
http://drools-java-rules-engine.469
Ok, please write me AmountPojo class code, and - if You can - those rules in
DRL, I will try to write You rules in DT.
regards,
tom
2010/8/20 Kripa Nathwani
> Hi,
>
>
>
> Below is the decision table on which I am working. It is calculating PF and
> HRA by taking basic value and checking that b
Hi,
try to read docs from Drools web site. I recommend
http://downloads.jboss.com/drools/docs/5.1.0.34406.FINAL/drools-expert/html_single/index.html
regards,
tom
2010/8/19 Singh, Palvinder X.
> I am new to Drools and just executed with my first sample program. I have
> been trying to find out
Hi,
You put "1000" value in cell in column, where Your's condition never uses
values from this column (basic salarz). This same problem with basic salary
1 column. What do You mean by "a.getBasic()!=null ? What do You mean by
"null"? Also if Your's model is not complicated, please show it to us.
r
Hi,
I have a problem with creating Guvnor repository using Oracle 11g database.
When I try to run JBoss, drools-guvnor.war deployment process is failed.
Info from server log and my config (repository.xml) are below:
Oracle JDBC provider has been copied to JBOSS_HOME/server/default/lib/.
I use the
ules-users-boun...@lists.jboss.org [mailto:
> rules-users-boun...@lists.jboss.org] *On Behalf Of *tom ska
> *Sent:* 06 August 2010 10:49
> *To:* rules-users@lists.jboss.org
> *Subject:* [rules-users] Math calculations on attributes in WHEN section
> of rules.
>
>
>
> Hell
Hello,
what I want to do, is to calculate on object's attributes in WHEN section of
rule. Can I do it?
For example:
class CObj
{
private int k;
private int n;
// setters and getters
}
Now what I want to do is:
rule "r1"
when
p : CObj ( k +
Hello,
I have my Drools project, and I want to use a Drools JAR in Oracle PL/SQL.
The problem is, that importing JAR to Oracle means for me (as far as I know)
splitting JAR (in Oracle Database) to classes. After importing I have few
thousands of classes in my Oracle Database. I want to avoid this,
;
> *From:* rules-users-boun...@lists.jboss.org [mailto:
> rules-users-boun...@lists.jboss.org] *On Behalf Of *Mauricio Salatino
> *Sent:* 28 July 2010 04:58
> *To:* Rules Users List
> *Subject:* Re: [rules-users] General rules in spreadsheet.
>
>
>
> you can remove p, bec
are not using it..
> in the rules you use p to print the type of the product but in the
> spreadsheet you are hardcoding the value in the "what to print" column
>
> 2010/7/27 tom ska
>
>> Hello,
>> I want to use StatelessSession with spreadsheet. I wrote few rul
Hello,
I want to use StatelessSession with spreadsheet. I wrote few rules in DRL,
but I cant do it in spreadsheet. First I want to present rules and class
that is used by rules:
public class CProduct {
private String name;
private int value;
public CProduct ()
{
name = "e
Kris,
really thank You for help - I will try installer tomorrow :) If I would have
some problems - I will write about them.
Greetings, Tom.
P.S. unfortunately I have another problem - something else: rules in
Spreadsheet, so welcome in my new thread ;)
>
> Hello,
> I am trying to use Drools Flow with GWT Console v.2.1. I use Guvnor and
> Eclipse too. I am new in server applications, and jBoss is for me something
> new, so please be patient :)
> What I did are:
>
1.)Creating processes in Eclipse. They work.
2.)Exporting them to Guvnor - I can see
Hello,
I am trying to use Drools Flow with GWT Console v.2.1. I use Guvnor and
Eclipse too. I am new in server applications, and jBoss is for me something
new, so please be patient :)
What I did are:
___
rules-users mailing list
rules-users@lists.jboss.or
Hello,
I want to try Drools Flow software (Eclipse plugin works). I have installed
Guvnor. Then I have installed console (two wars). I type
http://localhost:8080/gwt-console/app.html in my web browser. Then I get a
dialog, and I have to authenticate. But I don't know default Username and
Password.
Thanks for reacting ;)
I did some simulations, and after them, I want of course to parallelize this
process of processing 2 billions facts. But as far as I wrote, Drools
engine, can't do this. And I have to create threads manually in application
(with pool of sessions). Am I right? Tuning number of
one fact at time and use
> activation-group.
>
> Pavel
>
> 2010/7/22 tom ska :
> > Hello,
> > I have a problem with defining rules. I insert many, many objects (facts)
> to
> > ksession object (StatefulKnowledgeSession). I want to fire rules for all
> of
>
Hello,
I have a problem with defining rules. I insert many, many objects (facts) to
ksession object (StatefulKnowledgeSession). I want to fire rules for
*all*of them(facts), but I want to fire only one rule from all rules
for each one
fact(not always this same rule is fired, because I use salience)
30 matches
Mail list logo