Re: [rules-users] Drools 5 - how create Logger for Template File based rules?

2009-07-01 Thread Wolfgang Laun
You can use a KnowledgeBuilder with template-derived DRL-resources and set up your KnowledgeBase from its results the same way you do it with plain .drl-files. Obtain a StatefulKnaowledgeSession and pass this to the KnowledgeRuntimeLoggerFactory, as in your first code sample. -W On 6/30/09,

[rules-users] streams and equality assertion behavior

2009-07-01 Thread Jaroslaw Kijanowski
Hi, I've configured my knowledge base to use the EQUALITY assertion behaviour. When I insert two equal facts into the session, only one gets processed (objects and their fact handles are equal). However when I insert two equal facts via streams, my rule fires twice (objects are equal, but

Re: [rules-users] Validation in Guvnor fails due to unrecognized method of implemented interface

2009-07-01 Thread Brody bach
Hi Edson, sorry for the very late reply As I mentioned before, I had this problem in Guvnor. So I undeployed my old guvnor and redeploy a new one (the one I take fresh from website :), so it should be the latest version). Now I get a new problem: I can't open any rules I've created using the

[rules-users] a technical error occurred. Please contact a system administrator.

2009-07-01 Thread VÅM§Ï ®
Hi, After uploading the jar file,and clicking on *save and validate configuration* returning an error called technical error occurred.In the jar file i have many classes in different packages.i m unable to find which causes this problem. anyone please let me know the solution. regards, Vamsi

Re: [rules-users] a technical error occurred. Please contact a system administrator.

2009-07-01 Thread Jaroslaw Kijanowski
Can you please post the content of your jar file ($ jar tf myFile.jar)? Can you also check the server's console and post any error messages? VÅM§Ï ® wrote: Hi, After uploading the jar file,and clicking on *save and validate configuration* returning an error called technical error occurred.In

[rules-users] classLoader issue...

2009-07-01 Thread Julien Nicoulaud
Hi, I'm migrating my system from Drools 4.0.7 to Drools 5.1.0. Now when I try to compile rules that check fact fields, I get the following exception: ERROR: EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError:

RE : RE : RE : [rules-users] Re: [drools-sol ver] help for definingmy droolsmodel/ moves

2009-07-01 Thread Laurent Michenaud
Thanks a lot, it works now. Some strange spaces inserted during copying/pasting but not visible in eclipse. Best regards Michenaud Laurent Message d'origine De: rules-users-boun...@lists.jboss.org de la part de Geoffrey De Smet Date: mar. 30/06/2009 20:06 À:

Re: [rules-users] classLoader issue...

2009-07-01 Thread Edson Tirelli
It seems to me that the problem is not with the classloader of your classes, but the classpath of the drools jars. Are you sure you updated and have all the required new jars in your classpath? Drools 5 has a few new jars, like drools-api, that need to be available. Also, check if there are any

Re: [rules-users] streams and equality assertion behavior

2009-07-01 Thread Edson Tirelli
Jarowslaw, Could you please open a JIRA for this. I need to investigate. Thanks, Edson 2009/7/1 Jaroslaw Kijanowski kijanow...@gmail.com Hi, I've configured my knowledge base to use the EQUALITY assertion behaviour. When I insert two equal facts into the session, only

Re: [rules-users] classLoader issue...

2009-07-01 Thread Julien Nicoulaud
Thanks for your answer ! My configuration seems correct to me, I have all new jars in the classpath (the ones indicated in the file README-DEPENDENCIES.txt at the SVN trunk). I checked them all looking after another BaseObjectClassFieldReader class, but only drools-core contains it. By the way,

Re: [rules-users] streams and equality assertion behavior

2009-07-01 Thread Jaroslaw Kijanowski
https://jira.jboss.org/jira/browse/JBRULES-2154 Thanks. Edson Tirelli wrote: Jarowslaw, Could you please open a JIRA for this. I need to investigate. Thanks, Edson 2009/7/1 Jaroslaw Kijanowski kijanow...@gmail.com mailto:kijanow...@gmail.com Hi, I've

[rules-users] migration from drools 3.0.6 to 5.0.1

2009-07-01 Thread Nicholas Hemley
Hello, I have just completed a migration from 3.0.6 to 5.0.1 and have one specific question. It appears that the new Agenda interface has had the agendaSize() method removed, so what is the equivalent in Drools 5, please? Maybe there is an easier way for me to check if there is at

Re: [rules-users] streams and equality assertion behavior

2009-07-01 Thread Premkumar Stephen
Hello all, Could this unfixed JIRA https://jira.jboss.org/jira/browse/GUVNOR-354 be related to this? I am inserting a single object via JSON and it fires twice. Regards, Prem On Wed, Jul 1, 2009 at 9:54 AM, Jaroslaw Kijanowski kijanow...@gmail.comwrote:

[rules-users] new to drools: can't manage to find the documentation page about eclipse plugin installation

2009-07-01 Thread Gab Aldian
Hi everybody I am very sorry to ask for something so simple like this, but I just can't manage to find the page about how to install and use the eclipse plugin for drools. there: http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-eclipse-all.zip I can find a zip file with only

[rules-users] Creating custom selectors using the category property for deploying certain rules in guvnor

2009-07-01 Thread Premkumar Stephen
Hello everyone, I am trying to create a custom selector, based on certain properties such as categories (primary property) and others such as status and author. from the examples in selectors.properties, I could not see a way to create using categories. In that file, some of the field described

Re: [rules-users] Creating custom selectors using the category property for deploying certain rules in guvnor

2009-07-01 Thread Jaroslaw Kijanowski
Hi, you may vote for this one ;) https://jira.jboss.org/jira/browse/GUVNOR-109 So far I have successfully used 'stateDescription' and 'creator', for sample rules look at this: https://jira.jboss.org/jira/browse/GUVNOR-108 Haven't tried to select by category - how about 'categorySummary'?

RE: [rules-users] Access Ruleflow from Guvnor

2009-07-01 Thread Bhamidi, Krishna
Workingmemory.startprocess(processname); -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of satjo Sent: Friday, June 26, 2009 5:11 PM To: rules-users@lists.jboss.org Subject: [rules-users] Access Ruleflow from Guvnor