[rules-users] wierd error : illegal bytecode sequence - method not verified

2013-01-17 Thread arrehman
Jan 17 2013 14:19:57 ERROR business.service.AddsService - Error executing validation drools rules Exception executing consequence Any idea what is going on? Thanks, Arrehman -- View this message in context: http://drools.46999.n3.nabble.com/wierd-error-illegal-bytecode-sequence-method-not-verifie

Re: [rules-users] rule fires several times

2011-10-31 Thread arrehman
You are right, I need to re-think what I am doing. Perhaps there is no need for me to do the update() calls. I will post back. Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/rule-fires-several-times-tp3466250p3468776.html Sent from the Drools: User forum mailing list a

Re: [rules-users] rule fires several times

2011-10-31 Thread arrehman
I have /update()/ on consequence/action part of rules, which I can't void. I guess there is no way and rule engine is doing the right thing then. -- View this message in context: http://drools.46999.n3.nabble.com/rule-fires-several-times-tp3466250p3468183.html Sent from the Drools: User forum mai

Re: [rules-users] rule fires several times

2011-10-31 Thread arrehman
Makes sense, pretty good explanation. Is there a way to turn this behaviour off? I don't want the rule engine to re-calculate the rules when I update a fact inside the rule engine. Is that possible? The reason I ask is that in my application it makes sense based on the way I have structured the ru

[rules-users] Drools session reuse question

2011-10-30 Thread arrehman
Is creation of StatefulKnowledgeSession expensive? Is there a guideline or best practice regarding this? Currently I am creating a new session /kbase.newStatefulKnowledgeSession()/ each time I want to call /session.fireAllRules()/. I do this for each of the 200,000 data records that I have. So it

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-30 Thread arrehman
Thanks, MBeansOption.ENABLED is working perfectly. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Performance-Memory-Leak-Issue-tp3448321p3466293.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ ru

Re: [rules-users] rule fires several times

2011-10-30 Thread arrehman
I have the same question. I see this happening, and I don't know why. -- View this message in context: http://drools.46999.n3.nabble.com/rule-fires-several-times-tp3466250p3466263.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] Drools 5.3.0 Dependencies

2011-10-30 Thread arrehman
This issue I have been facing has been resolved. I have been informed of a better way to see the errors (another thread). Some of the domain objects were returning def (i.e. Object) instead of Boolean. This was working in 5.2 but failing in 5.3. I changed the code. It is working now. Abdul -- Vie

Re: [rules-users] Drools command line tools?

2011-10-30 Thread arrehman
Just to be clear, some of the methods from my domain objects I was using "def isListed()" etc, because it is groovy. I had to change it to "boolean isListed()". So I had to update some of the rules in 5.3. This was fine in 5.2. -- View this message in context: http://drools.46999.n3.nabble.com/Dr

Re: [rules-users] Drools command line tools?

2011-10-30 Thread arrehman
Hi laune, Thank you so much! My problem is solved. I copied a portion of your code that prints the error messages into my RulesService.groovy. It prints accurate error messages now! Thanks, Abdulrasheed -- View this message in context: http://drools.46999.n3.nabble.com/Drools-command-line-tools

Re: [rules-users] Drools 5.3.0 Dependencies

2011-10-30 Thread arrehman
This is the dependency that I have in my grails/drools application after upgrading to 5.3. This eliminates all the ClassNotFoundErrors. I think I resolved the dependency issue. runtime 'org.drools:drools-core:5.3.0.Final' runtime 'org.drools:drools-compiler:5.3.0.Final' run

[rules-users] Drools command line tools?

2011-10-30 Thread arrehman
Hi, I am using Drools 5.2 (direclty, not via grails plugins) in a grails 2.0.0.M2 web application. I use IntelliJ IDEA for development which does not support Drools inherently. (I know eclipse has better support) I am struggling with the compilations, syntax erros of .DRL file I have in my app. Ar

Re: [rules-users] Drools 5.3.0 Dependencies

2011-10-25 Thread arrehman
Yes locally in machine just to make sure i have only drools upgrade happening. My issues are because of this upgrade guaranteed. The error message drools is giving me is misleading: service.RulesService Error executing drools rules Unexpected global [dateService] No stacktrace, nothing :o Abdul

Re: [rules-users] Drools 5.3.0 Dependencies

2011-10-25 Thread arrehman
I have included knowledge-api.jar thats not working -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-3-0-Dependencies-tp3452346p3452445.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-us

Re: [rules-users] Drools 5.3.0 Dependencies

2011-10-25 Thread arrehman
Hi manstis, I will look into incorporating knowledge-api jar and try. Thanks. Anywhere these dependencies are documented clearly? The issue is clearly drools related, i have isolated this already in another git branch meant only for drools upgrade. Abdul -- View this message in context: http

[rules-users] Drools 5.3.0 Dependencies

2011-10-25 Thread arrehman
Hi, I was using drools 5.2.0 in my grails 2.0.0.M2 application. I use Drools expert to execute a .drl file I have. The three dependencies that I have set up for this to work was: runtime 'org.drools:drools-core:5.2.0.Final' runtime 'org.drools:drools-compiler:5.2.0.Final'

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
HI, There was one bad rule, when I removed that memory leak is gone and the performance improved drastically!!! (from 60 sec for 1000 records to 10 seconds, satisfies our requirements) I am not sure what is wrong with the rule, I will check that tomorrow, I am a happy man now. Abdul -- View th

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi Edson, Yes I am calling displose(). No I have not tried 5.3 it, I will give it a shot. What was the issue with jbpm being in the class path, is it related to memory leak over time? AS for MBeans, thanks, I will try that also. What I am doing now is removed all rules, putting one rule at a ti

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi, Are there any instructions on how to enable JMX Beans and monitor Drools using JConsole or JVisualVM anywhere? Thanks, Abdul -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Performance-Memory-Leak-Issue-tp3448321p3448342.html Sent from the Drools: User forum mailin

[rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi, I am not much of an expert on Drools. I got a DRL file (very small rule set of less than 10 rules, that checks few conditions, also includes DB calls). I use Drools 5.2 inside a grails application. I am using stateful session. I call this rules 100,000 times for each for each of the 100,000 re

[rules-users] How to improve drools performance?

2011-10-12 Thread arrehman
Is there a way to log / monitor the time taken for rule in a Drools rule set? Is there a way to make sure that one rule is not executed more than once(It seems to be happening in my case) What are the general guidelines on improving Drools performance? Currently I am using a one single DRL file