Re: [rules-users] How to pass global variables to a function called in a condition

2011-08-25 Thread Esteban Aliverti
Translation: If the LHS of your rules are going to use globals, make sure to set them BEFORE you insert/update/retract any fact. :P Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2011/8/25

[rules-users] Can Guvnor provide client management API?

2011-08-25 Thread nanquan
Hi, I want calls Guvnor's management function by the client. Haw can I do without HttpClient? Thx! -- View this message in context: http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-tp3283602p3283602.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] How to pass global variables to a function called in a condition

2011-08-25 Thread Wolfgang Laun
Frequently I'm debating with myself whether to leave a little room for posters to reach some logical conclusion by themselves or to spoon-feed it all to them. ;-) -W 2011/8/25 Esteban Aliverti esteban.alive...@gmail.com Translation: If the LHS of your rules are going to use globals, make sure

[rules-users] Eclipse reports error when declaring FactType

2011-08-25 Thread FrankVhh
Hi all, This question might make me look like a bit of a moaner. Then again, you shouldn't be a member of an internet forum if you'd worry about what other people think of you. Therefore: If you declare a type in one of your rule files, and use that type in another drl file, Eclipse will return

Re: [rules-users] Error is Java.lang.RuntimeException

2011-08-25 Thread Manohar Kokkula
Hi, I tried that also, kept RuleTable and the Rule name initial in one cell, but I am encountering the same errors. I re-created the Application, but I am not able to run it properly. When I check the generated drl string, it seems fine to me. It would be very helpful, if I get guidance on

[rules-users] Guvnor - Issues with repository lock on Tomcat re-deployment

2011-08-25 Thread Patricia Bogoevici
I ran Guvnor 5.1 under Tomcat6. If I am using Tomcat manager to re-deploy Guvnor, I get this error about the repository lock: Caused by: org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: The repository home

Re: [rules-users] Guvnor - Issues with repository lock on Tomcat re-deployment

2011-08-25 Thread Geoffrey De Smet
Did you close down Tomcat6 normally? So not with kill or kill -9? Op 25-08-11 16:45, Patricia Bogoevici schreef: I ran Guvnor 5.1 under Tomcat6. If I am using Tomcat manager to re-deploy Guvnor, I get this error about the repository lock: Caused by:

Re: [rules-users] Drools 5.2 performance building KnowledgeBase

2011-08-25 Thread lhorton
Thanks - I got the mvel2-2.1.Beta6.jar and added it to my 5.2.0 Drools lib instead of the drools mvel jar. Compile time on large rules spreadsheets went down by 50%, and load time into knowledge base of those spreadsheet packages went down by about 75%. Everything else seems to work fine with

Re: [rules-users] Guvnor - Issues with repository lock on Tomcat re-deployment

2011-08-25 Thread Michael Anstis
Does Tomcat's log suggest anything abnormal? I have seen SEVERE: The web application [/guvnor-5.3.0-SNAPSHOT-tomcat-6.0] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@c74b55]) and a value of type

Re: [rules-users] Guvnor - Issues with repository lock on Tomcat re-deployment

2011-08-25 Thread Patricia Bogoevici
I used Tomcat Manager to un-deploy/deploy Guvnor, so Tomcat is running all the time. And, when I re-deploy Guvnor on a running instance of Tomcat, I got the repository lock error. In order to be able to deploy a new Guvnor build, I have to actually stop Tomcat server. But on that server I have

Re: [rules-users] Guvnor - Issues with repository lock on Tomcat re-deployment

2011-08-25 Thread Tihomir Surdilovic
You have to make sure the running Guvnor instance is completely stopped before re-deploying. Jackrabbit only allows for one process to access the repository at a time. Seems maybe the repository in your case is still open (even if it's the same process, but with another classloader - another

Re: [rules-users] DroolsCompilerAntTask bugs?

2011-08-25 Thread lhorton
I created a JIRA for this problem. https://issues.jboss.org/browse/JBRULES-3189 -- View this message in context: http://drools.46999.n3.nabble.com/DroolsCompilerAntTask-bugs-tp3279120p3284559.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Error is Java.lang.RuntimeException

2011-08-25 Thread Wolfgang Laun
Heh :) Looking at the DRL, I spotted it: rule **Allocation Rules_10** when $s:Student(marks == **60, age == 20) $c:College(ranking == A, location == Mumbai) then Up there, all quotes are ASCII quotes, code point U+0022.

Re: [rules-users] Can Guvnor provide client management API?

2011-08-25 Thread nanquan
O Great! Thx! ^^ -- View this message in context: http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-tp3283602p3285692.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list