[rules-users] Rule syntax question

2008-06-25 Thread Joe12345678990000 Amazander
Greetings, I have two questions regarding Drools' capability: 1. Does Drools support mathematic operations in the "If" part? If I use MVEL, can I write something like this: $h: Holder($h.account.balance - 1000 > 25) I know this can be replaced as $h: Holder($h.account.balance >1025) But I

[rules-users] Drools infixOr with a from Collection Not Working???

2008-06-25 Thread Carlsen, Len
Hi, I have a rule with an infixOr and an infixAnd that test for objects in a collection which doesn't execute even though it should. # This rule will not execute even though it should rule "FAIL_AorBandC" when test : TestClass( string=="TEST" ) ( TestC

[rules-users] BRMS Exceptions

2008-06-25 Thread Vikas Phonsa
Hi All, I'm running the BRMS application on weblogic. The Jackrabbit repository is connected to a DB2 database. It works fine for the most part. But every time the repository starts up I see the exception listed below. And eventually, I start seeing OutofMemory errors in the server log. Can't

Re: [rules-users] Business rule name weirdness

2008-06-25 Thread Scott Reed
Keith, I'm not very savvy about server cache and Drools. You pretty much got my best idea which is to try to diagnose the problem. Perhaps someone here who has experience with Tomcat and Spring will have an idea of what is going on. Scott p.s. I suspect your chances of getting a more qua

Re: [rules-users] Business rule name weirdness

2008-06-25 Thread Keith Bennett
Scott, Well, I won't be able to deploy any changes until the end of today due to user testing that is going on right now, but I will do what you suggested. In the mean time, can you explain when I deploy a new .drl file, packaged within a jar file, as part of my web application why/how a compiled

RE: [rules-users] Advice sought on choosing Stateful or Stateless sessions

2008-06-25 Thread Ron Kneusel
Mark Proctor wrote:> > 1. Do stateless sessions execute faster than stateful? I'm assuming that even if they don't, they use memory more efficiently?> > > no. not unless you set sequential mode, but even then it's only faster > if you have a very large number of facts.Mark, thanks for the r

Re: [rules-users] Drools 4.0.4 and Jboss 4.2.2 GA

2008-06-25 Thread raj_drools
hi , i too got the same exception ERROR 25-06 19:05:10,903 (Contexts.java:flushAndDestroyContexts:335) could not discover transaction status bug is fixed , but login screen is not appearing . even when we clikc "sign out " , it is giving error . how can i fix the above error with with

[rules-users] error while creating a pkg using brms

2008-06-25 Thread Prem Kumar L
Hi, I tried building a pkg using drools brms 4.0.7. This is the error I got when I validated my drl file: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)