[rules-users] Hello Mark

2007-07-18 Thread Natraj Gudla
Mark, Have you released the final version of 4.0.0. Under the download page http://labs.jboss.com/jbossrules/downloads i see the MR3 listed. Thanks Natraj ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo

[rules-users] Some serious problems while authoring rules

2007-07-18 Thread Natraj Gudla
I am facing some serious blocking issues while writing few rules. In the rule below, a1, a2 are Double objects. When i have the first statement in the rule " EMIAgainstProperty( obj : a1 )", the rule does not firewhen i comment and re phrase the second line as emi : EMIAgainstProperty( a2 >= (

Re: [rules-users] Proposal: Collect Case Studies

2007-07-18 Thread Ellen Zhao
Hi folks, I used to buy some hardware from here and played with their configurator: http://www.alternate.de/html/includeStaticBig.html?treeName=KONFIGURATOREN&file=BuildersInc&Level1=&; (The page is in German but they have graphic icons around it's not hard to understand) If you choose an

Re: [rules-users] Proposal: Collect Case Studies

2007-07-18 Thread Dr. Gernot Starke
Oh - reply to my own mail :-) One (awesome!) example has been written on InfoQ: http://www.infoq.com/articles/Brasilian-Healthcare-System It's not only on Drools, but covers many other aspects as well... but having a few of those would be GREAT! cu, Gernot Am 18.07.2007 um 23:21 schrieb Dr.

[rules-users] Proposal: Collect Case Studies

2007-07-18 Thread Dr. Gernot Starke
Hi Drools-users, to further promote JBoss-Drools I suggest to compile a few practical application scenarios or case-studies. A few of you gave hints on your application domains as answer to "Re: [rules-users] Entreprise using Drools with success". I am most willing to document examples, a

Re: [rules-users] disable shadowing facts in MR3

2007-07-18 Thread Edson Tirelli
You need to use trunk... that was not available in MR3 I think. 2007/7/18, Manukyan, Sergey <[EMAIL PROTECTED]>: Folks, I need to disable shadowing for the facts, trying to use " drools.shadowProxyExcludes" property like this: --- *final* PackageBuilder builder = *new* Pac

[rules-users] disable shadowing facts in MR3

2007-07-18 Thread Manukyan, Sergey
Folks, I need to disable shadowing for the facts, trying to use "drools.shadowProxyExcludes" property like this: --- final PackageBuilder builder = new PackageBuilder(); builder.addPackageFromDrl( new InputStreamReader( DroolsTest2.class.getResourceAsStream( "/

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Edson Tirelli
Chris, By the stack trace, the problem is triggered by a rule where you are comparing (using ==) the "state" attribute of an AirPlanStatusBoard.SortieStatus object... []s Edson 2007/7/18, Chris West <[EMAIL PROTECTED]>: Edson, I'll try to re-create the problem in a self contained te

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Edson Tirelli
Chris, What seems to be happening us that your SortieStatus interface has a state attribute. Drools is trying to read this attribute value and cast it to LaunchRecoveryStatusShadowProxy what is causing the problems... Best way to solve would be to have the code so I can debug. Is it possi

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Chris West
Edson, I'll try to re-create the problem in a self contained test, but my rules are very complex and very numerous, so I'm having a hard time pinpointed what exactly triggers the condition. As far as my code goes, my company will not let me disclose any of it. Thanks for the suggestion, however.

[rules-users] Re: Entreprise using Drools with success

2007-07-18 Thread Matt Geis
Not quite able to say who I work for, but we run a brokerage app for which we licensed the source code. We've been running/modding the app for the last 3 years, so it's pretty much our app now, in terms of how familiar we are with it, and how much we've changed/tuned it. That being said, our a

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Chris West
Edson, It is certainly possible to create a JDK proxy with only some of the interfaces that are present on the delegate object that you are proxying, but in my case, my proxies have all the interfaces of the underlying object. The top two lines of the call stack I sent shows the following: Exce

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Edson Tirelli
Chris, It is probably related. Can you isolate that in a self contained test and send me? If it is proprietary code, you may send direct to me instead of the list and I will not disclose. If we can fix that today, we may be able to include it in final release as a bug fix. []s Edson

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Edson Tirelli
Chris, For the solution to work, it is important that a superclass or interface matches all the ObjectTypes in your rulebase that your final class (proxy) matches... I guess that is the case with JDK proxies, isn't it? []s Edson 2007/7/18, Chris West <[EMAIL PROTECTED]>: Edson, I

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Chris West
Edson, After further investigation, I found that I was still manually setting the property "drools.shadowProxyExcludes" to exclude my proxies from being shadowed (even thought they would not have been shadowed anyway in 4.0.0MR3. After removing this property, the latest snapshot from the trunk se

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Ellen Zhao
you can always override equals() and hashcode() on your fact objects. In fact it is always encouraged to do so. If you are using eclipse, you can even choose the interesting properties which define the semantic identity of your fact objects and eclipse can generate the equals() and hashcode() meth

Re: [rules-users] The effect of not using shadow facts

2007-07-18 Thread Chris West
Edson, I downloaded and built the latest from the trunk of the repository. I applied this new build toward my test case, and it seemed to fix the problem. However, when I applied it to my real project, it still exhibits the problem. If I discover more information about the problem I'll let you

RE: [rules-users] Entreprise using Drools with success

2007-07-18 Thread Anstis, Michael \(M.\)
We short-listed Drools against ILOG and Fair Issac. V4.0 was to be the technical winner but for (a) per CPU support cost and (b) internal politics. It was (and still is) a shame we had to "sell out" :-( Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [rules-users] Unable to perform simple primitive operations

2007-07-18 Thread Natraj Gudla
Mark, We might not be using 4.0 so soon. The business is still to make a decision on that. In these scenarios what is way out to effectively code such kind of a scenarios. If i make all my class attributes to be objects ( Double), then in the rule conditions i cannot use something like 1. attri

RE: [rules-users] Another problem

2007-07-18 Thread Anstis, Michael \(M.\)
Hi Natraj, In your particular case I think the problem is caused by a cross-product setting in Drools. I think, in older versions two patterns using the same Object type, expect it to be the same (by reference) whereas in newer versions (by default) the objects are different. I think there

Re: [rules-users] Entreprise using Drools with success

2007-07-18 Thread Brian Sam-Bodden
We deployed a Drools based solution to a client in the pharmaceutical distribution world (Fortune 100 company :-). We used Drools to power the decisions an interactive voice ordering system. A small number of rules initially but growing constantly based on user metrics. System has been running for

Re: [rules-users] Another problem

2007-07-18 Thread Natraj Gudla
Hi Starke, Thanks a lot for your inputs. Apart from being able to debug using your stuff, my main concern is that a simple declaration is making the rule not to fire. Why is that so? I am pretty sure, when i remove that particular line the fact which is passed passes the condition. The Drools do

Re: [rules-users] Entreprise using Drools with success

2007-07-18 Thread Geoffrey Wiseman
On 7/18/07, hypnosat7 <[EMAIL PROTECTED]> wrote: Is there any companies which used Drools successfully ? Tell us more about your experiences, I need it to make decision I've worked at a company that used it internally in its product before, although I don't work there now. It worked well for

Re: [rules-users] NoClassDefFoundError for BaseObjectClassFieldExtractor when running in Tomcat

2007-07-18 Thread Jesse Stockall
The NoClassDefFoundError exception is thrown from within drools code, so it's obviously in the classpath. The problem appears to be with the mechanism used by drools to load it's own code. Jesse On Wed, 2007-18-07 at 02:14 -0300, Fernando Meyer wrote: > You should add the drools-core library as

Re: [rules-users] Unable to perform simple primitive operations

2007-07-18 Thread Mark Proctor
I believe all your requests are in 4.0, give that a try. For 2.0.6 you'll have to unwrap > (bpl.doubleValue() * 1.5 ) Mark Natraj Gudla wrote: Hi All, I am using Drools 3.0.6 and unable to perform some simple form of multiplication. I want to compare an object field with another field multi

Re: [rules-users] Entreprise using Drools with success

2007-07-18 Thread Dr. Gernot Starke
Yes, there are. I work (as external consultant) for a few of those, which I am not allowed to disclose here... But: A decision pro/con Drools should be based upon YOUR specific criteria, not those of other enterprises, right?! In my experience, Drools is both stable and performant enough to be us

Re: [rules-users] Another problem

2007-07-18 Thread Dr. Gernot Starke
Hi Natraj, I wrote up a few tactics to (successfully) debug rules: http://rbs.gernotstarke.de/faq/faq/faq-devel.html It's neither finished nor complete - but try it out... (test both conditions with one rule for each of them, test for the existence of the appropriate facts, include a catchall-ru

Re: [rules-users] Unable to perform simple primitive operations

2007-07-18 Thread Edson Tirelli
Natraj, What you described are all limitations of drools 3. They are all solved now in drools 4, but not much we can do in 3. []s Edson 2007/7/18, Natraj Gudla <[EMAIL PROTECTED]>: Hi All, I am using Drools 3.0.6 and unable to perform some simple form of multiplication. I want to com

[rules-users] Another problem

2007-07-18 Thread Natraj Gudla
Hi, I am using Drools 3.0.6, and facing a peculiar problem. My rule: * rule* "Calculate Business profit,1"* **salience* 1000 *when **EMIAgainstProperty ( BP1 : refBP1 ) *emi : EMIAgainstProperty ( businessProfit2 > BP1 ) *then* * *System.out.println(" BP "+(emi.getBusinessProfit1 ()+emi.getB

[rules-users] Unable to perform simple primitive operations

2007-07-18 Thread Natraj Gudla
Hi All, I am using Drools 3.0.6 and unable to perform some simple form of multiplication. I want to compare an object field with another field multiplied by a factor. * rule* "*Calculate* Business profit,1" *when **EMIAgainstProperty* ( bp1 : businessProfit1 ) emi : *EMIAgainstProperty* ( busi

[rules-users] Entreprise using Drools with success

2007-07-18 Thread hypnosat7
Is there any companies which used Drools successfully ? Tell us more about your experiences, I need it to make decision -- View this message in context: http://www.nabble.com/Entreprise-using-Drools-with-success-tf4101493.html#a11663657 Sent from the drools - user mailing list archive at Nabble.

Re: [rules-users] Version 4.0.0.MR4

2007-07-18 Thread hypnosat7
Is there any information for the version 4 ? Mark Proctor wrote: > > planned for the 16th. The engine is near enough frozen now, just waiting > on the IDE stufff to finish, hopefully any day now. > > Mark > hypnosat7 wrote: >> And for the 4.0.0 release ? >> thanks >> >> Mark Proctor wrote: >>