[rules-users] Problem with package loading form BRMS

2007-12-18 Thread Rahul Upadhyay
Hi, I made an application in struts and pkg is created by BRMS . After that i put URL in properites file but but getting folling error. 12:08:19,293 ERROR [STDERR] RuleAgent(agent) INFO (Wed Dec 19 12:08:19 IST 2007): Configuring with newInstance=true, secondsToRefresh=30 12:08:19,309 ERROR

Re: [rules-users] xslt for converting rule XML from drools 2 to jboss rule 4

2007-12-18 Thread Darko IVANCAN
THANKS a lot On 19/12/2007 03:52, arina he wrote: > I was scraping internet for one xslt when I was converting drools 2 to > jboss rule 4, but couldn't find one, > > so I rolled up sleeves and created one by myself, put up here in case > anyone need it too. > > welcome comments. > > Arina. _

[rules-users] xslt for converting rule XML from drools 2 to jboss rule 4

2007-12-18 Thread arina he
I was scraping internet for one xslt when I was converting drools 2 to jboss rule 4, but couldn't find one, so I rolled up sleeves and created one by myself, put up here in case anyone need it too. welcome comments. Arina. http://www.w3.org/1999/XSL/Transform"; xmlns:xs=" http://www.w3.org/

Re: [rules-users] New functionality not working?

2007-12-18 Thread Edson Tirelli
Thanks, Fixed the docs. []s Edson 2007/12/18, Andrew Robinson <[EMAIL PROTECTED]>: > > Quote from the site: > > Disjunctive field constraints connectives could also be used and would > not result in multiple rule generation. > Person( eyeColour == "blue"||"green" ) > > Any idea

Re: [rules-users] New functionality not working?

2007-12-18 Thread Andrew Robinson
Sorry once again, I got it working adding "and" between the lines in the permission section. looking in the docs I realized that only at the root level is there an applied "and" On Dec 18, 2007 10:52 AM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Okay got the from working in a new rule (one rule

Re: [rules-users] New functionality not working?

2007-12-18 Thread Andrew Robinson
Okay got the from working in a new rule (one rule to check the admin roles, one to check the permissions). Is there a better way to do this? -Andrew On Dec 18, 2007 10:03 AM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Quote from the site: > > Disjunctive field constraints connectives could also

[rules-users] How to set agenda groups in decision table

2007-12-18 Thread Mattias Nilsson
Hi, I cannot figure out how to set agenda group on rules in a decision table. I see there is code in class org.drools.decisiontable.parser.ActionType that indicates that is should be possible to add a new column with title "AGENDA-GROUP" in the same way that is possible to do with e.g. "ACTIVATION

Re: [rules-users] New functionality not working?

2007-12-18 Thread Andrew Robinson
Quote from the site: Disjunctive field constraints connectives could also be used and would not result in multiple rule generation. Person( eyeColour == "blue"||"green" ) Any idea on why the "from" is not correct? $rt: ResourceType( ) $perm: ResourceTypePermission( accessType !=

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread Mark Proctor
you pass a PackageBuilderConfiguration to the PackageBuilder, which will then influence the items added to the PackageBuilder. Mark mmquelo massi wrote: I c... so it should be out within march, shouldn't it? Concerning the ruleflow action specification I am trying to specify it in the "tex

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread mmquelo massi
errata corrige: *I guess it's because the default dialect is MVEL and not Java. * On Dec 18, 2007 5:01 PM, mmquelo massi <[EMAIL PROTECTED]> wrote: > > I c... so it should be out within march, shouldn't it? > > Concerning the ruleflow action specification I am trying to specify it in > the "textu

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread mmquelo massi
I c... so it should be out within march, shouldn't it? Concerning the ruleflow action specification I am trying to specify it in the "textual" field but i can't. I guess it's because the default dialect is Java and not MVEL. Should I override the PackageBuilderConfigurator in the action node its

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread Mark Proctor
mmquelo massi wrote: Ok, thanks. I was wondering when next release will be available... Q1 Will the next release include IDE\BRMS intergration features as well as ruleflow dialect selection? IDE/BRMS integration - no ruleflow dialect selection - yes Thanks again. Massi On Dec 18, 20

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread mmquelo massi
Ok, thanks. I was wondering when next release will be available... Will the next release include IDE\BRMS intergration features as well as ruleflow dialect selection? Thanks again. Massi On Dec 18, 2007 3:18 PM, Mark Proctor <[EMAIL PROTECTED]> wrote: > mmquelo massi wrote: > > > Hi guys, > >

Re: [rules-users] RuleFlow Dialect

2007-12-18 Thread Mark Proctor
mmquelo massi wrote: Hi guys, How r u doing? This time a simple and short question How do I specify the dialect for a RuleFlow in drools eclipse plug-in 4.0.3? You can't, this is only in trunk. So the only way is to override the default dialect at the PackageBuilderConfiguration leve

[rules-users] RuleFlow Dialect

2007-12-18 Thread mmquelo massi
Hi guys, How r u doing? This time a simple and short question How do I specify the dialect for a RuleFlow in drools eclipse plug-in 4.0.3? Thank u in advance. Massi ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/

Re: [rules-users] New functionality not working?

2007-12-18 Thread Edson Tirelli
Correct is either: Role(name == "christws-admin" || == "site-admin" || == "resource-type-admin") Or: Role(name in ( "christws-admin", "site-admin", "resource-type-admin") ) Where in the docs it says that the syntax you used is correct? []s Edson 2007/12/18, Andrew Robinson <[EM

Re: [rules-users] How to disable a rule during runtime?

2007-12-18 Thread Edson Tirelli
Well, you may add/remove rules dynamically, but this is probably not what you want. Maybe you just need rule-flow? []s Edson 2007/12/18, velven <[EMAIL PROTECTED]>: > > > HI, > Can I "disable" some certain rule's firing during runtime? Something like, > after 20 seconds, this certain rul

Re: [rules-users] retract() problem

2007-12-18 Thread Edson Tirelli
You did not provided enough information on this for us to help. NOT and EXIST are existential CE and reason over presence or absence of facts and they work fine. []s Edson 2007/12/18, Guardian <[EMAIL PROTECTED]>: > > Hi all, > The problem is, if i retract some objects (EJB3.0 entiti

Re: [rules-users] getFactHandle() problem

2007-12-18 Thread Edson Tirelli
Yes, this is related to the ticket you found. I will try to include the fix for that in 4.0.4. []s Edson 2007/12/18, Guardian <[EMAIL PROTECTED]>: > > > Hi all, > i want to use the getFactHandle(obj) method to retrieve a previously > inserted fact by providing an equivalent object as an

Re: [rules-users] Could not load property

2007-12-18 Thread Edson Tirelli
You are using a wrong path to your resource. This is a standard java problem. It is not related to Drools. []s Edson 2007/12/18, Rahul Upadhyay <[EMAIL PROTECTED]>: > > Hi > > I am made an application in struts,write some rules in drl file. > deployed it with BRMS. now I am trying it

[rules-users] getFactHandle() problem

2007-12-18 Thread Guardian
Hi all, i want to use the getFactHandle(obj) method to retrieve a previously inserted fact by providing an equivalent object as an argument. The equivalent object is a new object, i.e. it has not the same memory address. Therefore i have overwritten the equals() and hashcode() methods. I also tri

[rules-users] retract() problem

2007-12-18 Thread Guardian
Hi all, The problem is, if i retract some objects (EJB3.0 entities) from my workingMemory the agenda wont´t be refreshed. There are rules that should be fired if the objects are retracted from the workingMemory, but nothing happens. Thanks, Dennis Jansen

[rules-users] RE: Insert logical in session

2007-12-18 Thread Sikkandar Nawabjan
Hi, Stateless session used Insert method or insertlogical method? How abt statefulsession Sikkandar Basha Tech Lead WPEPDS UST Global B5N 144, Bhavani Technopark, Trivandrum, India [EMAIL PROTE