Re: [rules-users] Guvnor: rule fire counts don't match when running modified test scenario

2010-09-27 Thread David Shields
I get exactly the same behavior, running on 4 different machines, and I think it is the same bug that I reported last week on Drools version 5.1.1. See the screen shot attached to this JIRA, and add your comments to it... https://jira.jboss.org/browse/GUVNOR-636

Re: [rules-users] Guvnor: rule fire counts don't match when running modified test scenario

2010-09-27 Thread David Shields
I get exactly the same behavior, running on 4 different machines, and I think it is the same bug that I reported last week on Drools version 5.1.1. See the screen shot attached to this JIRA, and add your comments to it... https://jira.jboss.org/browse/GUVNOR-636

Re: [rules-users] Problem with Guvnor 5.1.1, save frequently does not save...

2010-09-27 Thread David Shields
Ken Kawamoto had the same issue. I am attaching contents of his email to me: Had same problems with a clean install using JBoss App Server, with just the default examples. Default test scenarios led to same problems: saved generally okay

Re: [rules-users] Copy rule from package to pakcage in Guvnor.

2010-09-27 Thread Nadav Hashimshony
When i try to copy, it give me an option to choose a name but the new rule is added to the same package... what am i missing? 2010/9/26 Esteban Aliverti esteban.alive...@gmail.com You can open the rule, then go to Actions-Copy to make a copy of the rule in another package. Best,

Re: [rules-users] [rules-dev] DroolsjBPM Boot Camps 2011 USA and EMEA (Rules, Workflow, Event Processing and Ontologies)

2010-09-27 Thread Leonardo Gomes
Hi Mark, I would like to get involved as well. However, until the end of this year I don't think I will be much available. I should have more free time from mid-January on. Anyway, JudCon Berlin is happening on October 2010, so I think that in Europe it should be happening more at the end of

Re: [rules-users] Copy rule from package to pakcage in Guvnor.

2010-09-27 Thread Jervis Liu
On 2010/9/27 15:59, Nadav Hashimshony wrote: When i try to copy, it give me an option to choose a name but the new rule is added to the same package... what am i missing? You need to select a package from the New Package drop down list. Make sure you have selected a different package. Cheers,

Re: [rules-users] Is RETE algo optimizes the performance in a stateless session.

2010-09-27 Thread Michael Anstis
In short no. Activations are determined when Facts are inserted into WorkingMemory not when a call to fire the rules is made. Consequentially, IMO, through put is really limited to how quickly you can insert Facts into the network. You could have multiple threads inserting Facts into different

[rules-users] Multi threaded rule engine question.

2010-09-27 Thread Nadav Hashimshony
My rule engine server is multi threaded. in the server main i build a knowledgebase: KnowledgeBuilderConfiguration config = KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(droolsConf, null); KnowledgeBuilder builder = KnowledgeBuilderFactory.newKnowledgeBuilder(config);

Re: [rules-users] Multi threaded rule engine question.

2010-09-27 Thread Michael Anstis
I would have thought you could re-use the same session in a given single Thread - Session is not Thread-Safe but not unsafe to reuse. As an aside, I wonder whether you can use a single session across all Threads if you used different Entry Points for each Thread (although you'd probably have to

[rules-users] Drools Flow process question...

2010-09-27 Thread bob.breitling
I have a very simple process with one RuleFlow Group. I am registering an object via the variables. I have several rules which I am trying to get to fire. I have rules which constraints on the object I registered that are not working. I have rules with constraints on the WorkflowProcess I

Re: [rules-users] Guvnor: rule fire counts don't match when running modified test scenario

2010-09-27 Thread Scott Mayne
Hi David, I saw your issue and I'm noticing the same behavior with regards to saving changes to my test scenario. However, I see the count disconnect even after I get changes to save correctly, close the test scenario tab, reopen it, and then run it again. My sense is this is a separate issue

Re: [rules-users] Drools Flow process question...

2010-09-27 Thread bob.breitling
I create a knowledge base in the typical fashion. I construct a knowledge builder and add my drl and rf files, then instantiate my knowledge base. I build my parameter map and then start the process using my knowledge base. StatefulKnowledgeSession session =

Re: [rules-users] Drools Flow process question...

2010-09-27 Thread Mauricio Salatino
you can try activating the KnowledgeRuntimeLogger to see what is happening inside the knowledge session.. you will find the answers there.. If you can share what objects are you inserting inside the parameter maps and how your rules looks like we can help.. Also if your process define the

Re: [rules-users] Guvnor: rule fire counts don't match when running modified test scenario

2010-09-27 Thread David Shields
I would also defer to those with greater knowledge, but it is clear that there are some issues in Guvnor where there is a disconnect between what is shown on the screen, and what is happening on the back end. We find this disconnect in a number of different areas and most of the components of

[rules-users] Parallel Processing(multiple threads) in Drools Flow

2010-09-27 Thread Prafull Kumar
Hi All, We are evaluating Drools flow and looking for the parallel processing (multiple threads) of few activities in the flow. Could you please confirm if this is already supported for there are any plans for this functionality. Note : (I tried the Gateway[diverge] but it runs in the

Re: [rules-users] iisue with Operator 'Operator = ''' does not exist for StringEvaluator

2010-09-27 Thread Ganesh Krishnan
Hi   I'm not sure about the version.   ganesh --- On Thu, 23/9/10, Michael Anstis michael.ans...@gmail.com wrote: From: Michael Anstis michael.ans...@gmail.com Subject: Re: [rules-users] iisue with Operator 'Operator = ''' does not exist for StringEvaluator To: Rules Users List

Re: [rules-users] Parallel Processing(multiple threads) in Drools Flow

2010-09-27 Thread Mauricio Salatino
You can model that functionality as a custom work item that instantiate different threads inside it.. but gateways doesn't represent multithreading - concurrent executions. 2010/9/27 Prafull Kumar to_praf...@yahoo.com Hi All, We are evaluating Drools flow and looking for the parallel

Re: [rules-users] iisue with Operator 'Operator = ''' does not exist for StringEvaluator

2010-09-27 Thread Mauricio Salatino
if you jars says 4.0.7, it's drools 4.0.7.. no doubt about that.. 2010/9/27 Ganesh Krishnan ganesh...@yahoo.co.in Hi I'm not sure about the version. ganesh --- On *Thu, 23/9/10, Michael Anstis michael.ans...@gmail.com* wrote: From: Michael Anstis michael.ans...@gmail.com Subject: Re:

Re: [rules-users] Drools Flow process question...

2010-09-27 Thread bob.breitling
Here is my object: package com.rrd.xspace.drools; import java.io.Serializable; public class FooInstance implements Serializable { /** * */ private static final long serialVersionUID = 132337L; private String action = EDITING;

Re: [rules-users] Drools Flow process question...

2010-09-27 Thread Mauricio Salatino
That's because you are evaluating a Process Variable as a fact.. and it's not a fact. You cannot do: i : FooInstance(action == 'EDITING') Because inside the working memory there is no FooInstance. If you want to do that.. you should insert the FooInstance instead of defining it as process

Re: [rules-users] Drools Flow process question...

2010-09-27 Thread bob.breitling
I tried inserting FooInstance as a fact but then it seems to have nothing to do with the process. In my second rule I am trying to get at the WorkFlowProcess in my constraints but this rule will not consistantly fire. It only seems to work when the Test run is there. I found this in my log.

[rules-users] Registered process variables...

2010-09-27 Thread bob.breitling
Can you write a rule with a registered process variable in a constraint without referencing it through WorkflowProcessInstance? The examples in chapter 8 of the Drools Java Rules 5.0 Developers book he seems to be doing that with the Loan object or am I missing something? Bob -- View this

Re: [rules-users] ksession.dispose() and DroolsSpringJpaManager.dispose()

2010-09-27 Thread drooRam
anyone out there who successfully invoked ksession.dispose() method in your application code which uses spring jpa transaction manager with drools -- View this message in context:

Re: [rules-users] Fault node in rule flow

2010-09-27 Thread drooRam
attach a exception handler to the fault node , either log the exception to the file or generate a record to the reporting db. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Fault-node-in-rule-flow-tp1572596p1592654.html Sent from the Drools - User

Re: [rules-users] Multi threaded rule engine question.

2010-09-27 Thread Greg Barton
I wouldn't reuse a stateless session. You could reuse a stateful session and clean up between runs, but session creation is not that expensive. (and easily less expensive than cleanup of a stateful session, mattering on the complexity of your rules) GreG On Sep 27, 2010, at 8:39, Nadav

Re: [rules-users] Fault node in rule flow

2010-09-27 Thread Keerti Sharma
Hi, If u have used the exception handler in ur code ,can u plz share the same code. same methods as in work item handler can be used in exception handler also.what can be written in textual editor of exception handling and how it can be used. Thanx -- View this message in context: