Re: [rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Michael Neale
Hi Arjun - I wouldn't recommend re-using session unless there is some expensive state you wish to reuse. Pooling them will use up far more resources then freeing them. You should only pool expensive to obtain resources. On 7/21/07, Arjun Dhar <[EMAIL PROTECTED]> wrote: > Stateless sessions shou

Re: [rules-users] The method modify(MyBusinessObject) is undefined for the type Rule_xxx

2007-07-20 Thread Mark Proctor
Arjun, There have been several mailing list posts, a blog and ofcourse the release notes about api/language changes: http://markproctor.blogspot.com/2007/06/api-and-language-changes.html modify() is now update(). Mark Arjun Dhar wrote: Hi, I took the latest Snapshots from the trunk, to ch

Re: [rules-users] rete view colours appear diffirent to documentation

2007-07-20 Thread Mark Proctor
The rete diagrams in the manual are not documenting the behaviour of the IDE, although yes we should probably align those. Open up the poperties view in eclipse, then click on a node, it will tell you what it is and provide other information. Mark Aakil Omar wrote: I was busy t

[rules-users] The method modify(MyBusinessObject) is undefined for the type Rule_xxx

2007-07-20 Thread Arjun Dhar
Hi, I took the latest Snapshots from the trunk, to check if the memory leak problem was fixed, but in compiling the rules i got: The method modify(MyBusinessObject) is undefined for the type Rule_xxx Have you removed "modify()"? so By default modify will be invoked without having to explicitly

Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Burr Sutter
I have a WAR with a working WS that uses Drools 3.0.1 Would that help? If so, just let me know and I can ship it to you. Burr Mohammed JBossRules wrote: 2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED] >: Hi, an other question , when i'm trying to exec

[rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Arjun Dhar
> Stateless sessions should not hold onto any references. Stateful do, > and dispose() must be called when its finished - otherwise the rulebase > holds a reference forever. If the rulebase is holding onto stateless > sessions, then that is a bug. > Mark > Thanks a lot Mark, taking the latest bi

Re: [rules-users] Hello Mark

2007-07-20 Thread Peter Docherty
Mark, MR4 is not available yet and the JIRA currently shows 23 outstanding issues on MR4 and 4 issues on 4.0.0 GA. Is the GA really going to be available today/Monday? On the webinar on Wednesday someone said that it was going to be made available the same day. thanks Peter Mark Proctor wrote:

[rules-users] rete view colours appear diffirent to documentation

2007-07-20 Thread Aakil Omar
I was busy trying to draw a rete view according to what I was understanding from the documentation, but thought it prudent to create the rule in the ide and then look at the rete view there before assuming that I am correct. I had a bit of shock at first as it did not look at all as I expected. Aft

Re: [rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Mark Proctor
Arjun Dhar wrote: QUESTION:: Is the session maintaining references to those objects ever after executing them? Why are the objects not being released? Specially I'd imagine for a STATELESS session (which is what I've set as default). Using JMeter this system crashes every time under load, ev

[rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Arjun Dhar
> QUESTION:: Is the session maintaining references to those objects ever after > executing them? Why are the objects not being released? > > Specially I'd imagine for a STATELESS session (which is what I've set as > default). > > Using JMeter this system crashes every time under load, even wit

Fwd: [rules-users] Predicate expression effect on performance

2007-07-20 Thread Yuri de Wit
(well, I'll keep trying) -- Forwarded message -- From: Yuri de Wit <[EMAIL PROTECTED]> Date: Jul 20, 2007 1:17 AM Subject: Re: [rules-users] Predicate expression effect on performance To: Rules Users List (sorry, the OR was not part of the sample rule: I was just considering th

Re: [rules-users] BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Mark Proctor
We did find a memory leak for highly recursive sessions, which is fixed in trunk, please try the latekst trunk snapshot here: http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules Mark Arjun Dhar wrote: Hi, I've been building a BRMS server over the Drools 4MR2 API. The Server has a Boot pro

[rules-users] BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Arjun Dhar
Hi, I've been building a BRMS server over the Drools 4MR2 API. The Server has a Boot process to allow to make it become a Rule server(s). reads and XML configuration in which a user can specify the location of the DRL, XLS, CVS, etc. During the Boot proocess it verifies thew authenticity of ea

Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Fernando Meyer
Please Mohamed, Attach your demo web project with scource code, then we can try to reproduce this problem. regards Fernando Meyer http://fmeyer.org [EMAIL PROTECTED] PGP: 0xD804DDFB On Jul 20, 2007, at 11:48 AM, Mohammed JBossRules wrote: 2007/7/20, Mohammed JBossRul

[rules-users] JBossRules JSP/Servlet (Part2)

2007-07-20 Thread spilirit master
Hi, an other question , when i'm trying to execute the same code in the sample test java file provided by the wizard, I get some other errors : java.lang.NoClassDefFoundError: org/drools/WorkingMemory at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privat

[rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Mohammed JBossRules
2007/7/20, Mohammed JBossRules <[EMAIL PROTECTED]>: Hi, an other question , when i'm trying to execute the same code in the sample test java file provided by the wizard, I get some other errors : java.lang.NoClassDefFoundError: org/drools/WorkingMemory at java.lang.Class.getDeclaredConstru

[rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-20 Thread Mohammed JBossRules
Hi, an other question , when i'm trying to execute the same code in the sample test java file provided by the wizard, I get some other errors : java.lang.NoClassDefFoundError: org/drools/WorkingMemory at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetD

[rules-users] Re: [Resolved] JBossRules and JAVA Servlet / JSP

2007-07-20 Thread Mohammed JBossRules
Hi, an other question , when i'm trying to execute the same code in the sample test java file provided by the wizard, I get some other errors : java.lang.NoClassDefFoundError: org/drools/WorkingMemory at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetD

Re: [rules-users] Problems Extending the Golfer example - Cartesian joins ??

2007-07-20 Thread Mark Proctor
we'll look into this to see where the memory is going. but won't be for another week or so - I'm currently on holiday. Mark Simon French wrote: Hi, After attending a session with Mark Proctor in London I was inspired to play around with Drools in a slightly different way than we use it for in

Re: [rules-users] Using Rule Flow

2007-07-20 Thread Mark Proctor
No it's in trunk, see my blog: http://markproctor.blogspot.com/2007/07/conways-game-of-life-updated-for-rule.html Mark Natraj Gudla wrote: Mark, Are the latest examples updated to http://labs.jboss.com/jbossrules/downloads under the MR3 Examples downloadable. Thanks Natraj On 7/19/07,

Fwd: [rules-users] Predicate expression effect on performance

2007-07-20 Thread Yuri de Wit
(there is definetely a problem posting to this list) -- Forwarded message -- From: Yuri de Wit <[EMAIL PROTECTED]> Date: Jul 20, 2007 7:22 AM Subject: Fwd: [rules-users] Predicate expression effect on performance To: Rules Users List forgive the (possible) double posting, but o

[rules-users] Problems Extending the Golfer example - Cartesian joins ??

2007-07-20 Thread Simon French
Hi, After attending a session with Mark Proctor in London I was inspired to play around with Drools in a slightly different way than we use it for in the workplace, and try and solve a puzzle. Unfortunately I couldn't get Drools to solve it as I kept getting memory problems (I believe are cartesia

[rules-users] FunctionFixer breaks valid consequence

2007-07-20 Thread Lukas Füllemann
Hi everybody We use Drools 3.0.6 as part of a rule framework and directly generate description objects (PackageDescr, RuleDescr, etc.). Today a rule showed up which cannot be compiled, because the FunctionFixer utitly generates garbage of our consequence. The consequence is "varlist.setDouble(

Fwd: [rules-users] Predicate expression effect on performance

2007-07-20 Thread Yuri de Wit
forgive the (possible) double posting, but often posts take a while to show up -- Forwarded message -- From: Yuri de Wit <[EMAIL PROTECTED]> Date: Jul 20, 2007 1:17 AM Subject: Re: [rules-users] Predicate expression effect on performance To: Rules Users List (sorry, the OR

Re: [rules-users] Using Rule Flow

2007-07-20 Thread Natraj Gudla
Mark, Are the latest examples updated to http://labs.jboss.com/jbossrules/downloads under the MR3 Examples downloadable. Thanks Natraj On 7/19/07, Mark Proctor <[EMAIL PROTECTED]> wrote: I have just updated conways game of life example to use ruleflow, the agenda group one still exists. So e

[rules-users] Re: [Resolved] JBossRules and JAVA Servlet / JSP

2007-07-20 Thread Mohammed JBossRules
hello, Thank you all for your replays; as you've suggested, what i should import into my build path was not the core and compiler but all the set contained in the drools library, maybe that would help someone later! here is the list of jars antlr-runtime.jar drools-compiler.jar drools-core.jar

RE : [rules-users] Loading more than 10000 rules

2007-07-20 Thread Héron Nicolas
Title: RE : [rules-users] Loading more than 1 rules Hello, I have turn JVM memory up to 1GB. In fact, what happens is that I load the rules 500 per 500. everything goes fine and per 1000 rules, it takes 30 MB in RAM. And time in constant between two loading. And at 1, nothing happens

RE : [rules-users] Loading more than 10000 rules

2007-07-20 Thread Héron Nicolas
Title: RE : [rules-users] Loading more than 1 rules Hello, I have turn JVM memory up to 1GB. In fact, what happens is that I load the rules 500 per 500. everything goes fine and per 1000 rules, it takes 30 MB in RAM. And time is constant between two loading. And at 1, nothing happens