[rules-users] 5.5 Beta1 Guvnor Issue 500 The call failed on the server
Hi, I'm migrating rules from a Guvnor 5.2.x site to the new beta, I did this by exporting the old repo and importing in the new one. I can see the packages and rules OK now in the new 5.5 Beta 1, creating snapshots works OK. But build does not, I get an: 500 The call failed on the server; see server log for details http://drools.46999.n3.nabble.com/file/n4020260/Screen_Shot_2012-10-12_at_4.06.40_PM.png This is every time I try to build, either with the Build whole package option of the built in selector option. Is this happening to someone else? Is this way of migrating rules the recommended procedure? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/5-5-Beta1-Guvnor-Issue-500-The-call-failed-on-the-server-tp4020260.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] 5.5 Beta1 Guvnor Issue 500 The call failed on the server
Thanks, and I forgot to explain that, the console in the server is completely silent, if I create a snapshot I can see some Info messages displaying, but when building and the error appears the console has no messages. -- View this message in context: http://drools.46999.n3.nabble.com/5-5-Beta1-Guvnor-Issue-500-The-call-failed-on-the-server-tp4020260p4020262.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] 5.5 Beta1 Guvnor Issue 500 The call failed on the server
Yes, that is the one we are monitoring (tomcat in this case), we see this: INFO 12-10 11:58:59,435 (LoggingHelper.java:info:49) USER:admin CREATING MODULE SNAPSHOT for module: [ihtsdoBaseRules] snapshot name: [ihtsdoBaseRules but it does not show anything new if we try to build... -- View this message in context: http://drools.46999.n3.nabble.com/5-5-Beta1-Guvnor-Issue-500-The-call-failed-on-the-server-tp4020260p4020264.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] 5.5 Beta1 Guvnor Issue 500 The call failed on the server
Thanks, will do that. -- View this message in context: http://drools.46999.n3.nabble.com/5-5-Beta1-Guvnor-Issue-500-The-call-failed-on-the-server-tp4020260p4020266.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Memory leak in 5.2/5.3
Hi Marc, Mario, I'm using the same test case on this thread, and oing more tests I now realized what is the problem, this leak appears only if the pom file has the dependency to jbpm-bpmn2 5.1.0.Final along with Drools 5.2.x or 5.3.x. Re-reading Jamie's post earlier I was puzzled by his reference to jbpm-bpmn2 5.1.1.Final, because is not listed as a version on http://www.jboss.org/jbpm, but looking at the public maven repo I saw it really exists, using that version of JBPM resolved the problem, even for 5.2.0.Final. So in summary Drools 5.2.x and forward do not work properly with JBPM 5.1.0.Final, it would probably be helpful to add some reference to this in the release notes. And also maybe provide a link to JBPM 5.1.1.Final that I only saw in the maven repo, no documentation or download link is available in JBPM site. Thanks for your help Alejandro -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3396355.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Memory leak in 5.2/5.3
Yes, I got the same exception, you can't remove all listeners from the outside (at least in 5.2.0.Final), that's why I patched the AbstractWorkingMemory class to hardcode the listeners removal inside Drools. But now that I found JBPM 5.1.1.Final that seems to solve the problem in a better way, the memory leak doesn't appear in my tests using that version of jbpm in combination with Drools. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3397279.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Memory leak in 5.2/5.3
Good news, I followed your advice and patched drools-core to prevent this, focusing on removing all listeners: AbstractWorkingMemory.java, line 1246: for ( Iterator it = this.__ruleBaseEventListeners.iterator(); it.hasNext(); ) { this.ruleBase.removeEventListener( (RuleBaseEventListener) it.next() ); } I changed that to: for ( Iterator it = this.ruleBase.getRuleBaseEventListeners().iterator(); it.hasNext(); ) { this.ruleBase.removeEventListener( (RuleBaseEventListener) it.next() ); } And now works OK, no memory leak. Thanks -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3394726.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Memory leak in 5.2/5.3
This memory leak is giving us a lot of problems... we need to iteratively test 400,000 items, one session for each. It was working fine with 5.1.1 and now is failing. Thanks for the test case, is very simple to reproduce, but I tried running it with: dependency groupIdorg.drools/groupId artifactIdknowledge-api/artifactId version5.3.0.CR1/version /dependency ... etc. And still fails, so I don't fully trust that this will be fixed on 5.3.0... do you have confirmation? I need to decide if I wait for 5.3 or if I advice to roll back to 5.1.1. Thanks Alejandro -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3391578.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Guvnor support of custom operators
Hi, I'm using custom operators in Drools, implementing EvaluatorDefinition and BaseEvaluator interfaces, and adding them to the KnowledgeBuilderConfiguration. (tested on 5.01) Is there a way to make these new operators available in the Guvnor guided editor? Thanks! Alejandro -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-support-of-custom-operators-tp1027853p1027853.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users