Re: [rules-users] create .pkg file with or without BRMS

2007-11-15 Thread Arnaud B
Yes, exactly:DroolsCompilerAntTask generates a serialized RuleBase. So, i can't generate the same pkg file with drools-ant and with BRMS so is there a way to generate a .pkg file without BRMS ? LNguyen wrote: I think the DroolsCompilerAntTask generates a serialized RuleBase, not a

Re: [rules-users] Another rule vendor being acquired

2007-11-15 Thread Michael Neale
Excellent work Paul ! As an Australian, I am quite proud that it is RuleBurst ! I have met a few of them and they are great people with an interesting product. On Nov 15, 2007 7:07 AM, Paul Haley [EMAIL PROTECTED] wrote: I hope it is interesting to the community to consider the second

Re: [rules-users] How to get the Eclipse Rules View to show my rules?

2007-11-15 Thread Kris Verlaenen
Did you try cleaning your entire project? Or maybe even re-import the project in eclipse? Occasionally it happens that an eclipse project gets messed up in some way ... If this fails, could you open a JIRA with a selfcontained sample eclipse project showing the error? I'll try to take a look

[rules-users] Remotely debugging application server code

2007-11-15 Thread Marcus Ilgner
Hi list, I'm experiencing problems when remotely debugging my JBoss-Rules-using application running on an application server. The application server is JBoss 4.2.1.GA and I connect to it via Eclipse. My JBoss Rules version is 4.0.3. As soon as I start inserting facts, the application seems to

[rules-users] Classloader issues with webapp : No ClassLoaders found, Circular dependencies...

2007-11-15 Thread Julien Cassignol
Hello, Following Mark's advice, I decided to mail about a problem I experienced and managed to fix, with Mark's and Edson Tirelli's help. I was trying to build a RuleBase with the following code : final SpreadsheetCompiler converter = new SpreadsheetCompiler();

Re: [rules-users] RE: Duplicate check using dialect(firing multiple times)

2007-11-15 Thread Edson Tirelli
Basha, This is the correct behavior since both facts match both patterns (one at a time). If you don't want them to fire 2 times, you need a way to tell the engine there is an order on the facts. I.e., (A,B) is a valid tuple for you, but (B,A) is not. One way of doing that is if the

Re: [rules-users] mvel regex not working???

2007-11-15 Thread Edson Tirelli
Len, When you use code inside eval(), it is executed in the chosen dialect (default is java). So, the regexp of your first rule is parsed and executed in java and is correct. When you use code outside eval(), it is parsed by the Drools parser and the drools parser do not require the

[rules-users] using primitive datatypes?

2007-11-15 Thread Fabian Weisensee
Hello everyone just one quick question: I tried to invoke a rule from inside of jBPM. This works now, but I have a major problem. The rule is quite simple and should only check if an integer from the jBPM process is greater than a limit. I insert this integer into the workingmemory, but as I

Re: [rules-users] Classloader issues with webapp : No ClassLoaders found, Circular dependencies...

2007-11-15 Thread Robert Morse
Very helpful to me! Thank you Julien! On Nov 15, 2007, at 8:48 AM, Edson Tirelli wrote: Julien, Thanks for reporting back! Edson 2007/11/15, Julien Cassignol [EMAIL PROTECTED]: ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Classloader issues with webapp : No ClassLoaders found, Circular dependencies...

2007-11-15 Thread Edson Tirelli
Julien, Thanks for reporting back! Edson 2007/11/15, Julien Cassignol [EMAIL PROTECTED]: Hello, Following Mark's advice, I decided to mail about a problem I experienced and managed to fix, with Mark's and Edson Tirelli's help. I was trying to build a RuleBase with the following

[rules-users] Defining the Object Model in Drools IDE 4.0.3...HOWTO????

2007-11-15 Thread mmquelo massi
Hi everybody, I am starting to define my little Drools Project. I am using DROOLS IDE 4.0.3 for Eclipse 3.2 . I already have some underlying Java classes and want to build my rules over those classes. In other words I need to define the Object Model to execute the rules against it. I added

[rules-users] Stop Processing Rules

2007-11-15 Thread Ronald R. DiFrango
All, I have a situation where I want the rules execution to stop processing immediately when it encounters a situation like the following: rule Invalid RTV Line salience 100 when rtvDetailLine : DetailLine(detailRtvNumber:rtvNumber != null, lineNumber != null ) rtvHeader

Re: [rules-users] Stop Processing Rules

2007-11-15 Thread Edson Tirelli
Throwing exceptions in the consequence is not safe and not advisable. To stop the rules engine you can use the following statement in your consequence: drools.halt(); Use a fact, a call back, or an attribute to identify the problem you detected. []s Edson 2007/11/15, Ronald

RE: [rules-users] mvel regex not working???

2007-11-15 Thread Carlsen, Len
Thanks a lot Edson. I had escaped characters that don't need to be escaped which works in Java but not in mvel (error: no viable alternative at character '\'). Java: ^[a-zA-Z0-9\\#]$ mvel: ^[a-zA-Z0-9#]$ Len From: [EMAIL PROTECTED] [mailto:[EMAIL

[rules-users] Log4j in the rules?

2007-11-15 Thread granz
Hi, Is it possible to use Log4j inside the rules (RHS)?? (drl file) Thanks, Fabrice ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Log4j in the rules?

2007-11-15 Thread Eric Miles
I set a logger as a global and use it just fine in the RHS. On Thu, 2007-11-15 at 19:30 -0500, [EMAIL PROTECTED] wrote: Hi, Is it possible to use Log4j inside the rules (RHS)?? (drl file) Thanks, Fabrice ___ rules-users mailing list

[rules-users] Re: Fire Rules in DT based on a rule in DT

2007-11-15 Thread Arjun Dhar
Steven Williams stevearoonie at gmail.com writes: I added agenda-group to decision tables in September 2006.cheersSteve 2006, or 2007? Because it was not there in JBoss Rules 4.0.0 (at least not documented). Either way, it means it exists now. So will look at the latest release

Re: [rules-users] Re: Fire Rules in DT based on a rule in DT

2007-11-15 Thread Steven Williams
I'm not sure if it made its way into the doco. I don't have the code with me but will check for you what the value is. cheers Steve On Nov 16, 2007 1:21 PM, Arjun Dhar [EMAIL PROTECTED] wrote: Steven Williams stevearoonie at gmail.com writes: I added agenda-group to decision tables in

[rules-users] How and when are objects released in Stateless Session

2007-11-15 Thread Arjun Dhar
Hi, can someone please explain; if a stateless session is used over a log period of time. How are the objects (rather the shadows to them) released? I understand that as long as a class is not final, its shadow is created and used. This raises a concern about the life cycle of that object.