[rules-users] Problem in deploying GUNVOR

2012-07-11 Thread elena_nard...@libero.it
Hi all,I am trying to deploy GUVNOR 5.4.0 on TOMCAT 6.0.35 but I met the following error: 11-lug-2012 8.44.17 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the

Re: [rules-users] How to write Hibernate query lang(HQL) in .DRL file

2012-07-11 Thread ashwindrool
Hi Laune, We are tried to created similar scenario in which we get error when we tried to execute HQL from DRL file but unfortunately , i m sorry we r unable to give you exact what error we are getting. But it will be great if you can share your approach or process in calling hibernate query

Re: [rules-users] Deploy ModeShape to Tomcat issue (Guvnor 5.4.0 Final)

2012-07-11 Thread Mark Proctor
From one of the modeshape authors, who I forwarded this email to: The correct way to use ModeShape within Tomcat is to just copy the JARs and include it in your deployment, just as you've been doing. In this way, you're embedding ModeShape into your web application. The three modeshape-* files

Re: [rules-users] Problem in deploying GUNVOR

2012-07-11 Thread Michael Anstis
Have you tried 5.4.0.Final? The log below suggests you are using 5.4.0.CR1. On 11 July 2012 07:53, elena_nard...@libero.it elena_nard...@libero.itwrote: Hi all, I am trying to deploy GUVNOR 5.4.0 on TOMCAT 6.0.35 but I met the following error: 11-lug-2012 8.44.17

[rules-users] R: Re: Problem in deploying GUNVOR

2012-07-11 Thread elena_nard...@libero.it
5.4.0 Final works! Thanks a lot! Elena Messaggio originale Da: michael.ans...@gmail.com Data: 11/07/2012 10.41 A: elena_nard...@libero.itelena_nard...@libero.it, Rules Users Listrules-users@lists.jboss.org Ogg: Re: [rules-users] Problem in deploying GUNVOR Have you tried

[rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

2012-07-11 Thread chrisLi
Hi, All I am using Guvnor 5.4.0 Final with Tomcat 6.0.35. And I wanted to replace commons-lang2.4 with commons- lang3-3.1, so I overwrote the commons-lang2.4 jar file in Guvnor's WEB-INF/lib directory with commons- lang3-3.1.jar. However an error like follows occured: Service method 'public

Re: [rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

2012-07-11 Thread Michael Anstis
The class required by Guvnor, org.apache.commons.lang.StringUtils, doesn't exist in 3-3.1. It has been renamed org.apache.commons.lang3.StringUtils in 3-3.1. On 11 July 2012 12:15, chrisLi shengtao0...@163.com wrote: Hi, All I am using Guvnor 5.4.0 Final with Tomcat 6.0.35. And I wanted

Re: [rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

2012-07-11 Thread chrisLi
oops!I have not noticed this change. Thank you very much. -- View this message in context: http://drools.46999.n3.nabble.com/Error-occured-when-replacing-commons-lang2-4-with-commons-lang3-3-1-in-Guvnor-5-4-0-Final-tp4018584p4018586.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

2012-07-11 Thread Geoffrey De Smet
commons-lang 3 isn't backwards compatible with commons-lang 2 (hence the major version number change). But if they namespaced all the lang 3 work under lang3 (and also namespaces the maven GAV), then both a 2 and 3 jar can be in the classpath together. Not sure if that's the case though... Op

Re: [rules-users] Error occured when replacing commons-lang2.4 with commons-lang3-3.1 in Guvnor 5.4.0 Final

2012-07-11 Thread chrisLi
Hi manstis, I have another question. I have created a model jar in Guvnor. And the classes in this jar have references to other classes out of this jar. But I do not wanted to create another model jar to contain the refered classes. So I packaged them into a jar file and put it into the

Re: [rules-users] How to write Hibernate query lang(HQL) in .DRL file

2012-07-11 Thread Wolfgang Laun
If you have working Java code import a.b.MyService; MyService service = ...; service.aMethod(...); then in DRL you can do import a.b.MyService; global MyService service; rule x when ... then service.aMethod(...); end and in your Java code, after you

[rules-users] Drools scalability (performance) in numbers.

2012-07-11 Thread skatta1986
Hi, Please can any one help me out in finding the Drools performance. I wanted to know its scalabilty. What is the Drools Maximum capacity (No. of Facts/second) in Complex Event Processing w.r.t any particular Hardware/OS. -- View this message in context:

[rules-users] Planner - Initialized solution local search

2012-07-11 Thread Garf
I'm using v5.4. I've built a prototype which uses the constructionHeuristic, and localSearch, as the example does, and am able to run the solver (though it still doesn't do a good job of solving at this point). I've now added customSolverPhase, and set it to use an initializer class which

Re: [rules-users] Planner - Initialized solution local search

2012-07-11 Thread Geoffrey De Smet
Op 11-07-12 17:19, Garf schreef: I'm using v5.4. I've built a prototype which uses the constructionHeuristic, and localSearch, as the example does, and am able to run the solver (though it still doesn't do a good job of solving at this point). I've now added customSolverPhase, and set it

Re: [rules-users] Score curruption exception in drools-planner-5.4.0.CR1

2012-07-11 Thread ge0ffrey
Garf wrote I wanted to get a better understanding of this problem. I'm getting a score Corruption error -- but only when environmentMode is set to TRACE. When it's set to REPRODUCIBLE, I get no error. Jon Score corruption detection greatly reduces performance, so it's only enabled

[rules-users] [Solved] Concurrency bug in 5.4.0.Final

2012-07-11 Thread Edson Tirelli
Hi all, Just a heads up, in case you are using the community release 5.4.0.Final in a multi-threaded application, be aware that we found a quite serious racing condition bug: https://issues.jboss.org/browse/JBRULES-3573 The bug is now fixed in 5.4.x branch, so I strongly recommend that

Re: [rules-users] Score curruption exception in drools-planner-5.4.0.CR1

2012-07-11 Thread Garf
Right, the root of the behavior is that TRACE enables assertWorkingScore(), which tells me that the workingScore (reflecting the score after the move) is not the same as the uncorruptedScore (reflecting prior to the change), and specifically, that 4 ConstraintOccurrences are mismatched. For some

Re: [rules-users] Drools scalability (performance) in numbers.

2012-07-11 Thread Wolfgang Laun
On 11 July 2012 16:34, skatta1986 shivaprasad_...@yahoo.co.in wrote: Hi, Please can any one help me out in finding the Drools performance. I wanted to know its scalabilty. What is the Drools Maximum capacity (No. of Facts/second) in Complex Event Processing w.r.t any particular

Re: [rules-users] [Solved] Concurrency bug in 5.4.0.Final

2012-07-11 Thread Caillard, Quentin
Hi. Thanks for the fix. I have read in Mark Proctor's blog that the 5.5 will be released within the next 4-5 months. Is there any release date for the next release in the branch 5.4.x? 2012/7/11 Edson Tirelli ed.tire...@gmail.com Hi all, Just a heads up, in case you are using the

Re: [rules-users] [Solved] Concurrency bug in 5.4.0.Final

2012-07-11 Thread Edson Tirelli
Unfortunately, we have limited resources to maintain older branches in the community. While backporting fixes like this is usually quick (a few minutes of work if the source code did no diverge too much), making a full release involves usually more than a week of work by multiple members of the

[rules-users] Issue

2012-07-11 Thread salt
I have two objects vehicles and transactions. I am fetching values of all transactions from db and using an list and setting in the vehicles object. for example let have three columns and four rows.. name date price A12/07 700 B 12/07 100 D

Re: [rules-users] Planner - Initialized solution local search

2012-07-11 Thread Garf
re: /Double check if you aren't calling afterEntityAdded() on the non-initialized entities too. Also check that the construction heurstics run before the localSearch solver does (the order in which they are declared in the config xml matters)./ Checked both. I'll file a JIRA bug, but I'm just

Re: [rules-users] [Solved] Concurrency bug in 5.4.0.Final

2012-07-11 Thread Caillard, Quentin
No problem. Thanks for the explanations about your roadmap. Quentin CAILLARD *Software Engineering* quentin.caill...@ariadnext.com 2012/7/11 Edson Tirelli ed.tire...@gmail.com Unfortunately, we have limited resources to maintain older branches in the community. While backporting fixes

[rules-users] Compiled rules differ KnowledgeAgent vs ResourceChangeScanner

2012-07-11 Thread lhorton
Version 5.2.0.Final. I have a DRL file that is loaded into my server using a change set and Spring configuration. The file loads without error, and I am able to read the compiled package and print the rule names to confirm they did load; however, only one of the rules fires. Then I copy

[rules-users] FireUntilHalt

2012-07-11 Thread crajor
I have a fairly complicated drools program and I want to introduce temporal reasoning to it. I spent a bit of time writing some proof-of-concept programs to get the feel of fusion and then tried to slowly introduce things into my original drools program. When I changed my program from using

Re: [rules-users] FireUntilHalt

2012-07-11 Thread Edson Tirelli
Which Drools version are you using? There are no secrets, but you have to be aware that in this mode rules will fire right away if they can. Also, if you are using 5.4.0.Final, please read another e-mail I sent to the list today, as there was a concurrency bug that was fixed in the 5.4.x