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

2011-08-25 Thread Manohar Kokkula
I am using Open Office Spreadsheet to create decision table. So what should i do to resolve this..Please help me on this.Regards,Manohar KokkulaMailto: manohar.kokk...@tcs.com-rules-users-boun...@lists.jboss.org wrote: -To: Rules Users List From: Wolfgang Laun Sent by: rules-users-boun...@l

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 rules-u

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] 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] 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 w

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 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 [org.apache.derby.iapi.services.context.ContextManager

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 the

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: org.drools.repository.RulesRepositoryExce

[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 /MY_SERVER_PATH/guvnor/WEB-INF/classes/repos

Re: [rules-users] Quotes in decision tables are escaped

2011-08-25 Thread kennywest
I found the culprit: ActionType ... public void addCellValue(int row, int column, String content) { //Michael Neale: // For single standard quotes we escape them - eg they may mean "inches" // as in "I want a Stonehenge replica 19" tall" int idx = content.indexO

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

2011-08-25 Thread FrankVhh
Shouldn't marks and age be integer values and not Strings? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-no-subject-tp3280773p3283990.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-us

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] 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 a

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 > Translation: If the LHS of your rules are going to use globals, make sure > to set them BEFORE you i

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

2011-08-25 Thread Wolfgang Laun
The cell with the keyword RuleTable must also contain the string for the initial part of the rule name. It seems that you have this in the adjoining cell. - See the docs, section "Rule Tables". -W 2011/8/25 Manohar Kokkula > Hi Frank and Wolfgang, > > Thank you for your help, > I did everything

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

2011-08-25 Thread nanquan
PS. Why my BRMS can not run on WebSphere 7. the error: *org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: The repository home at D:\IBM\WebSphere\AppServer\profiles\AppSrv01\repository appears to be in use since the file at D:\IBM\WebSphere\AppServer\profiles\AppSrv01\r

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

2011-08-25 Thread Michael Anstis
Have you looked at http://community.jboss.org/wiki/AtomPubInterfaceForGuvnor 2011/8/25 nanquan > Hi, I want calls Guvnor's management function by the client. Haw can I do > without HttpClient? Thx! > -- > View this message in context: Can Guvnor provide client managem

[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 Nabble.com

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 Wo

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

2011-08-25 Thread Swindells, Thomas
512mb isn't that big a number, I found that it's the MaxPermSize that was actually more important to increase with the compilation as a lot of time the usage was bouncing just underneath the default limit on my system (80mb). Giving it more headroom reduced the amount of effort the garbage collect

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

2011-08-25 Thread Manohar Kokkula
Hi Frank and Wolfgang, Thank you for your help, I did everything as you both said,still i am getting the same error, java.lang.RuntimeException: [12,19]: [ERR 101] Line 12:19 no viable alternative at input ''[12,27]: [ERR 101] Line 12:27 no viable alternative at input ''[13,15]: [ERR 101] Lin

Re: [rules-users] Stateless vs Stateful

2011-08-25 Thread Swindells, Thomas
There's technically no real difference between them, a stateless session just has a thin wrapper around it to call dispose automatically. That said I'd recommend going for the stateful session, that way you can split up your operations easier, inserting the data, firing the rules, and then using