Re: [rules-users] OutOfMemory Error - 3500 Rules

2008-05-02 Thread samirsss
I was profiling an application running on 4.0.4 and saw a dramatic decrease in memory consumption after we disabled shadow proxy. I think this might be a good starting point too. Thanks Samir Mike D wrote: > > Edson, > > We are running into the same issue. Do you happen to have an ETA for th

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-10 Thread samirsss
Hi Edson, I tried the exact method you asked me to and seems like now i am getting an error while I add the rule. Also the rules still dont get fired. I'm going to send you the code again and maybe you can fix it and send it back to me after testing that all 3 scenarios for the messageId = Test,

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-08 Thread samirsss
Hi Edson, I just saw Mark Proctor's message about filing bugs so that they get addressed in 4.0.5 and was wondering if the fix for this issue is also going to be in the same release? Thanks for being so proactive about the issues and having a quick turnaround time. regards Samir samirsss

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-05 Thread samirsss
Hi Edson, I did send you an email with the sample of how to recreate this issue and hopefully you can also find the issue and get a fix out. Meanwhile I am planning to write the new rule back to the rule file and re-initialize the Rulebase with the updated drl file, which works fine. -Samir Ed

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-04 Thread samirsss
I tried using the jars from the 4.0.x branch after building them and that still doesnt seem to change the outcome. I see that the package builder has the rule added to it and the count of the rules from it is incremented. public void testDynamicRules() { //Create a rule dynamically an

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-04 Thread samirsss
the 4.0.x branch (to be > released as 4.0.5) related to dynamic rules. >Can you please try it out? If it is still a problem, please open a JIRA > attaching your test case. I will look into it and fix it. > >Thanks, > Edson > > 2008/3/3, samirsss <[EMAIL P

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-03 Thread samirsss
Just wanted to update on the status: I did try the DrlDumper and the result was I get is the exact rule I put into the DRL file. It works fine when its there in the DRL file and it doesnt fire when I just add it dynamically from my java code. samirsss wrote: > > I did try the DRLDump

Re: [rules-users] Cant seem to fire a dynamically added rule

2008-03-03 Thread samirsss
I did try the DRLDumper and everything seems to be correct. Also just to let users know i am using 4.0.4 which is almost the lastest release. Thanks for any help Regards Samir -- View this message in context: http://www.nabble.com/Cant-seem-to-fire-a-dynamically-added-rule-tp15810172p15815325

[rules-users] Cant seem to fire a dynamically added rule

2008-03-03 Thread samirsss
Hi, Here's the source code of the rule I am trying to add: public void testDynamicRules() { //Create a rule dynamically and check if it fired from log statements RuleBase ruleBase = wm.getRuleBase(); Package[] pkg = ruleBase.getPackages(); if(pkg[0] !=