Hi Guys,
I am trying to find out more information about rulebase configuration options written in "drools.default.rulebase.conf" Do any of you guys know any blog or material written on these options, If someone has written any blog on these options, and could I know the location, it will a great help. Thanks, Rav. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: 17 December 2010 08:57 To: [email protected] Subject: rules-users Digest, Vol 49, Issue 44 Send rules-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.jboss.org/mailman/listinfo/rules-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of rules-users digest..." Today's Topics: 1. Re: "Negative" Rules (Ansgar Konermann) 2. Re: Using GlobalArea in Guvnor (Jervis Liu) 3. Re: Guvnor with JBoss AS on Ubuntu (alim) 4. Re: Deploying Guvnor 5.1 on Glassfish v3 (alim) 5. DroolsFlow 5.1.1 ForEach + XOR/OR Gateway = Impossible? (Dirk Hermanns) ---------------------------------------------------------------------- Message: 1 Date: Fri, 17 Dec 2010 00:34:11 +0100 From: Ansgar Konermann <[email protected]> Subject: Re: [rules-users] "Negative" Rules To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" On 15.12.2010 10:01, Diego San Esteban wrote: > Greetings, > > How is itpossible to implement a "rollback"in theKB? > > Suppose that when retracting a fact,I want toundo the changes made. > A very simple, yet effective solution would be to exclusively use insertLogical(). No updates to facts which are already asserted, no normal "insert". Best regards Ansgar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101217/aba8fe 65/attachment-0001.html ------------------------------ Message: 2 Date: Fri, 17 Dec 2010 10:29:16 +0800 From: Jervis Liu <[email protected]> Subject: Re: [rules-users] Using GlobalArea in Guvnor To: Rules Users List <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 2010/12/17 0:41, Dean Whisnant wrote: > Jervis, > > I see that it looks like you worked on and resolved this in drools-5.2.M1 this morning. > > This is a noob question, but when or how can I get my hands on this fix? It's funny because I ran into this same issue today while trying to do something similar to John. > You can grab the latest snapshot from this place: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/ trunk/target/ Or you can wait for Drools 5.2.M1. It should come out next week if things go well. Cheers, Jervis > Thanks > > Dean > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Jervis Liu > Sent: Wednesday, December 15, 2010 8:30 AM > To: [email protected] > Subject: Re: [rules-users] Using GlobalArea in Guvnor > > This is a bug. I've filed jira > https://issues.jboss.org/browse/GUVNOR-1124. I will take a look into this jira next week. > > Thanks, > Jervis > > On 2010/12/15 2:24, John Peterson wrote: >>> I'm working with Guvnor 5.1.1 and I'm having an issue accessing >>>> Declarative Models defined in the Global Area in the Packages. Is >>>> it possible to create a shared model in the Global Area and then >>>> write rules against them in other packages? It would seem to me >>>> that the answer would be yes (why else have a "Global" area), but, >>>> for some reason, it doesn't seem to recognize them. >>>> >>>> Here's a scenario: >>>> >>>> I declare a DeclarativeModel in GlobalArea: >>>> >>>> GenericFact >>>> id: Integer >>>> valueOne: Integer >>>> label: String >>>> end >>>> >>>> I have a package called com.experiment. I'd like to write Business >> Rule >>>> in it using that GenericFact. However, when I click the "+" sign to >> add >>>> a Fact, I see a yellow background over "Note: No model has been >>>> defined." Is there something that needs to be done to make the >>>> GlobalArea stuff viewable from the individual packages? > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users ------------------------------ Message: 3 Date: Fri, 17 Dec 2010 00:10:25 -0800 (PST) From: alim <[email protected]> Subject: Re: [rules-users] Guvnor with JBoss AS on Ubuntu To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii Hey Chris When doing the telnet from the client box i get: "telnet: Unable to connect to remote host: Connection refused" However, there's also another AS on that same server listening on port 8080 and there it's no problem to connect to that one. Plus I also tried running JBoss on port 8080 (while having the other AS shut down), and also there the same problem: Telnet local: "Trying 127.0.0.1... Connected to localhost." Telnet remote: "telnet: Unable to connect to remote host: Connection refused" Considering that, it couldn't be a firewall problem, could it? Thanks for the help! Audrey Chris Selwyn wrote: > > Maybe a firewall(iptables) issue? > Can you do the telnet from your client box? > > Chris > -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-with-JBoss-AS -on-Ubuntu-tp2098972p2103469.html Sent from the Drools - User mailing list archive at Nabble.com. ------------------------------ Message: 4 Date: Fri, 17 Dec 2010 00:40:34 -0800 (PST) From: alim <[email protected]> Subject: Re: [rules-users] Deploying Guvnor 5.1 on Glassfish v3 To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii I'm using Glassfish Version 3.0.1. Andrew Waterman wrote: > > Yes, I have Guvnor 5.1 working on Glassfish 2.1.1 as well. Glassfish3 is > built on OSGI, which seems to have fundamentally changed the container. > > Which version of Glassfish are you seeing issues? > > best wishes, > > Andrew > -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Deploying-Guvnor-5-1 -on-Glassfish-v3-tp2091982p2103565.html Sent from the Drools - User mailing list archive at Nabble.com. ------------------------------ Message: 5 Date: Fri, 17 Dec 2010 09:57:10 +0100 From: Dirk Hermanns <[email protected]> Subject: [rules-users] DroolsFlow 5.1.1 ForEach + XOR/OR Gateway = Impossible? To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi everybody! I'm struggling with the forEach construct. We already had a Drools Flow running using Drools 5.0. Now we would like to port it to Drools Flow 5.1.1. It seems that there is a problem with the ForEach Construct in combination with the XOR Gateway (the same seems to be true for the OR Gateway): Even if i set both constrains of the gateway to "eval( true )" i got an runtime Error like (full Stacktrace at the end of my post): Caused by: java.lang.IllegalArgumentException: XOR split could not find at least one valid outgoing connection for split Art des Arbeitsanstosses pruefen I can even reproduce this behaviour when building a small workflow from scratch. Had anyone else such an error? Does anyone know a workaround for this? You can reproduce this with the attached Flows. Any help is really appreciated! Regards, Dirk Hermanns P.S.: If i try to build such an Flow using the new bpmn Notation, i get an error when building the package in Guvnor: Workitem Node xxx has no incoming connection. So this doesn't seem to help :(. Has anyone got the forEach (or Multiple Instances) feature with Drools 5.1.1 working? org.drools.RuntimeDroolsException: Unexpected exception executing action org.drools.process.instance.event.defaultsignalmanager$signalact...@15c9 0f4 ? ? ? at org.drools.common.AbstractWorkingMemory.executeQueuedActions (AbstractWorkingMemory.java:1473) ? ? ? at org.drools.common.DefaultAgenda.fireAllRules (DefaultAgenda.java:1074) ? ? ? at org.drools.common.AbstractWorkingMemory.fireAllRules (AbstractWorkingMemory.java:785) ? ? ? at org.drools.common.AbstractWorkingMemory.fireAllRules (AbstractWorkingMemory.java:751) ? ? ? at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem (DefaultWorkItemManager.java:120) ? ? ? at de.lvm.vorverteilung.internal.util.VorvertelungsauftragAnalysierenWorkIt emHandler.executeWorkItem (VorvertelungsauftragAnalysierenWorkItemHandler.java:51) ? ? ? at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteW orkItem (DefaultWorkItemManager.java:72) ? ? ? at org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger (WorkItemNodeInstance.java:101) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger (NodeInstanceImpl.java:117) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection (NodeInstanceImpl.java:178) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted (NodeInstanceImpl.java:144) ? ? ? at org.drools.workflow.instance.node.StartNodeInstance.triggerCompleted (StartNodeInstance.java:49) ? ? ? at org.drools.workflow.instance.node.StartNodeInstance.internalTrigger (StartNodeInstance.java:41) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger (NodeInstanceImpl.java:117) ? ? ? at org.drools.ruleflow.instance.RuleFlowProcessInstance.internalStart (RuleFlowProcessInstance.java:32) ? ? ? at org.drools.process.instance.impl.ProcessInstanceImpl.start (ProcessInstanceImpl.java:192) ? ? ? at org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.start (WorkflowProcessInstanceImpl.java:309) ? ? ? at org.drools.common.AbstractWorkingMemory.startProcess (AbstractWorkingMemory.java:1644) ? ? ? at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess (StatefulKnowledgeSessionImpl.java:306) ? ? ? at de.lvm.vorverteilung.internal.rules.TerminHRuleFlowTest.runTermin1 (TerminHRuleFlowTest.java:252) ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) ? ? ? at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) ? ? ? at java.lang.reflect.Method.invoke(Method.java:597) ? ? ? at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall (FrameworkMethod.java:44) ? ? ? at org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:15) ? ? ? at org.junit.runners.model.FrameworkMethod.invokeExplosively (FrameworkMethod.java:41) ? ? ? at org.junit.internal.runners.statements.InvokeMethod.evaluate (InvokeMethod.java:20) ? ? ? at org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:28) ? ? ? at org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:31) ? ? ? at org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:70) ? ? ? at org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:44) ? ? ? at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) ? ? ? at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) ? ? ? at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) ? ? ? at org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:28) ? ? ? at org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:31) ? ? ? at org.junit.runners.ParentRunner.run(ParentRunner.java:220) ? ? ? at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run (JUnit4TestReference.java:46) ? ? ? at org.eclipse.jdt.internal.junit.runner.TestExecution.run (TestExecution.java:38) ? ? ? at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:467) ? ? ? at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:683) ? ? ? at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:390) ? ? ? at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (RemoteTestRunner.java:197) Caused by: java.lang.IllegalArgumentException: XOR split could not find at least one valid outgoing connection for split Art des Arbeitsanstosses pruefen ? ? ? at org.drools.workflow.instance.node.SplitInstance.internalTrigger (SplitInstance.java:92) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger (NodeInstanceImpl.java:117) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection (NodeInstanceImpl.java:178) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted (NodeInstanceImpl.java:144) ? ? ? at org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerComple ted (ExtendedNodeInstanceImpl.java:53) ? ? ? at org.drools.workflow.instance.node.StateBasedNodeInstance.triggerComplete d (StateBasedNodeInstance.java:117) ? ? ? at org.drools.workflow.instance.node.StateBasedNodeInstance.triggerComplete d (StateBasedNodeInstance.java:98) ? ? ? at org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger (WorkItemNodeInstance.java:105) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger (NodeInstanceImpl.java:117) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection (NodeInstanceImpl.java:178) ? ? ? at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted (NodeInstanceImpl.java:144) ? ? ? at org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerComple ted (ExtendedNodeInstanceImpl.java:53) ? ? ? at org.drools.workflow.instance.node.StateBasedNodeInstance.triggerComplete d (StateBasedNodeInstance.java:117) ? ? ? at org.drools.workflow.instance.node.StateBasedNodeInstance.triggerComplete d (StateBasedNodeInstance.java:98) ? ? ? at org.drools.workflow.instance.node.RuleSetNodeInstance.signalEvent (RuleSetNodeInstance.java:71) ? ? ? at org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEven t (WorkflowProcessInstanceImpl.java:343) ? ? ? at org.drools.process.instance.event.DefaultSignalManager.internalSignalEve nt (DefaultSignalManager.java:79) ? ? ? at org.drools.process.instance.event.DefaultSignalManager $SignalAction.execute(DefaultSignalManager.java:167) ? ? ? at org.drools.common.AbstractWorkingMemory.executeQueuedActions (AbstractWorkingMemory.java:1471) ? ? ? ... 43 more (See attached file: ZZTestFlow2.rf)(See attached file: ZZTestFlow.bpmn) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101217/ba34b3 28/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ZZTestFlow2.rf Type: application/octet-stream Size: 3232 bytes Desc: not available Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101217/ba34b3 28/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: ZZTestFlow.bpmn Type: application/octet-stream Size: 5871 bytes Desc: not available Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101217/ba34b3 28/attachment-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: LVM_Unternehmenssignatur.pdf Type: application/pdf Size: 29468 bytes Desc: not available Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101217/ba34b3 28/attachment.pdf ------------------------------ _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users End of rules-users Digest, Vol 49, Issue 44 ******************************************* Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
