From federico.bertola88 at gmail.com Fri Aug 1 10:38:47 2014 From: federico.bertola88 at gmail.com (Federico Bertola) Date: Fri, 01 Aug 2014 16:38:47 +0200 Subject: [rules-users] StackOverflow when serializing KieBase In-Reply-To: <2DB61D4A-D1E5-45DA-A8E3-E33E93ED09A4@codehaus.org> References: <68D87985A8661740B4A84D9A2D0992680BC9A8@D2ASEPREA002> <53D91D49.7010309@gmail.com> <2DB61D4A-D1E5-45DA-A8E3-E33E93ED09A4@codehaus.org> Message-ID: <53DBA677.1060801@gmail.com> I'll try to investigating a bit (or at least I'll try to make something reproducible). Meanwhile, this is the stack trace. It seems to me that is not the case as https://issues.jboss.org/browse/JBRULES-2335. Any help is appreciated. Federico. On 07/31/2014 01:25 AM, Mark Proctor wrote: > It should work, there should not be too much recursion. I?d suggest digging deeper to see if you can point us to the references that are suspect. > > Mark > On 30 Jul 2014, at 17:28, Federico Bertola wrote: > >> Hi all, >> when I try to serialize a rather large KieBase I constantly get the >> aforementioned error. After a bit of tracking I see that the error seems >> to appear when the KnowledgeBase try to serialize the Rete object. >> I belive this is not an infinite loop because it seems that the graph is >> quite deep and the serializer recursively calls writeExternal in a (sort >> of) depth-first fashion. >> >> Increasing the stack size didn't really help, so I'm asking if there's a >> better way or if I should give up. >> >> Thanks :) >> >> Federico. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- java.lang.StackOverflowError at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.common.BaseNode.writeExternal(BaseNode.java:78) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:107) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:94) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:94) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:144) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:144) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:86) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:86) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:86) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:94) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:144) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:144) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:94) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:95) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:86) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSinkNodeList.writeExternal(LeftTupleSinkNodeList.java:86) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.writeExternal(CompositeLeftTupleSinkAdapter.java:224) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:108) at org.drools.core.reteoo.LeftInputAdapterNode.writeExternal(LeftInputAdapterNode.java:143) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.LeftTupleSource.writeExternal(LeftTupleSource.java:109) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:254) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSinkNodeList.writeExternal(ObjectSinkNodeList.java:87) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.CompositeObjectSinkAdapter.writeExternal(CompositeObjectSinkAdapter.java:88) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.ObjectSource.writeExternal(ObjectSource.java:119) at org.drools.core.reteoo.AlphaNode.writeExternal(AlphaNode.java:106) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.BetaNode.writeExternal(BetaNode.java:245) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at org.drools.core.reteoo.SingleLeftTupleSinkAdapter.writeExternal(SingleLeftTupleSinkAdapter.java:192) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1458) From mproctor at codehaus.org Fri Aug 1 11:07:24 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Fri, 1 Aug 2014 16:07:24 +0100 Subject: [rules-users] StackOverflow when serializing KieBase In-Reply-To: <53DBA677.1060801@gmail.com> References: <68D87985A8661740B4A84D9A2D0992680BC9A8@D2ASEPREA002> <53D91D49.7010309@gmail.com> <2DB61D4A-D1E5-45DA-A8E3-E33E93ED09A4@codehaus.org> <53DBA677.1060801@gmail.com> Message-ID: <5E47569F-141B-4619-94FC-A75768A91C9E@codehaus.org> We will not be able to help you, without a unit test that demonstrates your problem. Mark On 1 Aug 2014, at 15:38, Federico Bertola wrote: > I'll try to investigating a bit (or at least I'll try to make something reproducible). Meanwhile, this is the stack trace. It seems to me that is not the case as https://issues.jboss.org/browse/JBRULES-2335. > Any help is appreciated. > > Federico. > > > On 07/31/2014 01:25 AM, Mark Proctor wrote: >> It should work, there should not be too much recursion. I?d suggest digging deeper to see if you can point us to the references that are suspect. >> >> Mark >> On 30 Jul 2014, at 17:28, Federico Bertola wrote: >> >>> Hi all, >>> when I try to serialize a rather large KieBase I constantly get the >>> aforementioned error. After a bit of tracking I see that the error seems >>> to appear when the KnowledgeBase try to serialize the Rete object. >>> I belive this is not an infinite loop because it seems that the graph is >>> quite deep and the serializer recursively calls writeExternal in a (sort >>> of) depth-first fashion. >>> >>> Increasing the stack size didn't really help, so I'm asking if there's a >>> better way or if I should give up. >>> >>> Thanks :) >>> >>> Federico. >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From techy_bolek at yahoo.com Fri Aug 1 14:06:32 2014 From: techy_bolek at yahoo.com (techy_bolek) Date: Fri, 1 Aug 2014 11:06:32 -0700 (PDT) Subject: [rules-users] Api changes from drools 5.0.1 to 6.0.1?? Message-ID: <1406916392088-4030553.post@n3.nabble.com> We are upgrading our application from drools 5.0.1 to drools 6.0.1 Final. I noticed there are significant API changes. Many classes that used to be in org.drools appear to be now in org.drools.core. Also, some classes appear to be gone: DebugRuleFlowEventListener, RuleAgent. My question is: is there a documentation somewhere explaining the API differences between the two versions? If there is no such documentation - can anyone advise what to do about DebugRuleFlowEventListener and RuleAgent? Thanks, Thomas -- View this message in context: http://drools.46999.n3.nabble.com/Api-changes-from-drools-5-0-1-to-6-0-1-tp4030553.html Sent from the Drools: User forum mailing list archive at Nabble.com. From sprabakkar at gmail.com Fri Aug 1 18:19:36 2014 From: sprabakkar at gmail.com (Ricardo) Date: Fri, 1 Aug 2014 15:19:36 -0700 (PDT) Subject: [rules-users] Build&Deploy - Drools Document Message-ID: <1406931576819-4030554.post@n3.nabble.com> 15.7.4.1. Build & Deploy Build & Depoy builds the current project and deploys the KJAR into the workbench internal Maven repository. the above statement from the drools document says deploys into internal document but you can deploy to remote maven repo modifying pom.xml. The above statement restriction the extended functionality of Build and Deploy. ----- with kind regards, -- View this message in context: http://drools.46999.n3.nabble.com/Build-Deploy-Drools-Document-tp4030554.html Sent from the Drools: User forum mailing list archive at Nabble.com. From michael.anstis at gmail.com Fri Aug 1 18:26:46 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Fri, 1 Aug 2014 23:26:46 +0100 Subject: [rules-users] Build&Deploy - Drools Document In-Reply-To: <1406931576819-4030554.post@n3.nabble.com> References: <1406931576819-4030554.post@n3.nabble.com> Message-ID: Please submit a pull request for an update to the documentation and we will happily accept it. Sent on the move On 1 Aug 2014 23:20, "Ricardo" wrote: > 15.7.4.1. Build & Deploy > > Build & Depoy builds the current project and deploys the KJAR into the > workbench internal Maven repository. > > > > the above statement from the drools document says deploys into internal > document but you can deploy to remote maven repo modifying pom.xml. The > above statement restriction the extended functionality of Build and Deploy. > > > > ----- > with kind regards, > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Build-Deploy-Drools-Document-tp4030554.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140801/60373013/attachment.html From mproctor at codehaus.org Fri Aug 1 18:32:01 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Fri, 1 Aug 2014 23:32:01 +0100 Subject: [rules-users] Build&Deploy - Drools Document In-Reply-To: References: <1406931576819-4030554.post@n3.nabble.com> Message-ID: http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html https://github.com/droolsjbpm/droolsjbpm-knowledge/tree/master/kie-docs/ On 1 Aug 2014, at 23:26, Michael Anstis wrote: > Please submit a pull request for an update to the documentation and we will happily accept it. > > Sent on the move > > On 1 Aug 2014 23:20, "Ricardo" wrote: > 15.7.4.1. Build & Deploy > > Build & Depoy builds the current project and deploys the KJAR into the > workbench internal Maven repository. > > > > the above statement from the drools document says deploys into internal > document but you can deploy to remote maven repo modifying pom.xml. The > above statement restriction the extended functionality of Build and Deploy. > > > > ----- > with kind regards, > > -- > View this message in context: http://drools.46999.n3.nabble.com/Build-Deploy-Drools-Document-tp4030554.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140801/5182929e/attachment.html From reddy.lakshmi at gmail.com Mon Aug 4 03:43:12 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Mon, 4 Aug 2014 13:13:12 +0530 Subject: [rules-users] Need help in drools-guvnor5.3.3.Final SSO(Single Sign on) authentication enabling Message-ID: Hi, What are the files need be changed to have SSO(single sign on) br drools-guvnor 5.3.3.Final version? I have un commented the below line in components.xml, still its not working? Is there any other changes required? Regards, Lakshmi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140804/4c48c31a/attachment.html From ephemeris.lappis at gmail.com Mon Aug 4 05:57:45 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Mon, 4 Aug 2014 02:57:45 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & clustering Message-ID: <1407146265112-4030560.post@n3.nabble.com> Hello. I'm looking for some reference architecture for Drools CEP clustering. If I'm not wrong, the Drools 6.x documentation doesn't explain how to set a clustered environment to handle events processing. For example, how can we ensure load distribution, time windows control, state integrity, etc., running several engines ? Any information about that ? Thanks in advance. Regards. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-clustering-tp4030560.html Sent from the Drools: User forum mailing list archive at Nabble.com. From matteo.mortari at gmail.com Mon Aug 4 07:44:28 2014 From: matteo.mortari at gmail.com (Matteo Mortari) Date: Mon, 4 Aug 2014 13:44:28 +0200 Subject: [rules-users] Drools Fusion (CEP) & clustering In-Reply-To: <1407146265112-4030560.post@n3.nabble.com> References: <1407146265112-4030560.post@n3.nabble.com> Message-ID: Ciao, I don't have a clustering setup in my case, but still, concerning "CEP + Cluster" topic which is also of my interest, I found quite insightful for some pointers, the presentation "High-availablity CEP with Red Hat JBoss BRMS" at the RH summit this year [1] Possibly it could help you somehow so I thought worth sharing - in the meantime some other user on this mailing list may point you to some detailed manual/tutorial. [1] http://www.redhat.com/summit/2014/presentations / http://rhsummit.files.wordpress.com/2014/04/doyle_h_0945-high-availablity-cep-with-red_hat-jboss_brms1.pdf Ciao, Matteo On Mon, Aug 4, 2014 at 11:57 AM, Ephemeris Lappis < ephemeris.lappis at gmail.com> wrote: > Hello. > > I'm looking for some reference architecture for Drools CEP clustering. > > If I'm not wrong, the Drools 6.x documentation doesn't explain how to set a > clustered environment to handle events processing. For example, how can we > ensure load distribution, time windows control, state integrity, etc., > running several engines ? > > Any information about that ? > > Thanks in advance. > > Regards. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-clustering-tp4030560.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140804/0fc1cabe/attachment.html From ephemeris.lappis at gmail.com Mon Aug 4 08:48:31 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Mon, 4 Aug 2014 05:48:31 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & clustering In-Reply-To: References: <1407146265112-4030560.post@n3.nabble.com> Message-ID: Hello. Thanks for this first help. I had a look at the presentation, and what I specially noticed is its last sentence : "JBoss BRMS HA CEP does not come out-of-the-box."... I hope someone come with a more concrete feedback and advice... Indeed, possible projects in my perspective should come with both state integrity and high load needs... Thanks again. Best regards 2014-08-04 13:46 GMT+02:00 tari-manga [via Drools] < ml-node+s46999n4030561h1 at n3.nabble.com>: > Ciao, > I don't have a clustering setup in my case, but still, concerning "CEP + > Cluster" topic which is also of my interest, I found quite insightful for > some pointers, the presentation "High-availablity CEP with Red Hat JBoss > BRMS" at the RH summit this year [1] > > Possibly it could help you somehow so I thought worth sharing - in the > meantime some other user on this mailing list may point you to some > detailed manual/tutorial. > > [1] http://www.redhat.com/summit/2014/presentations / > http://rhsummit.files.wordpress.com/2014/04/doyle_h_0945-high-availablity-cep-with-red_hat-jboss_brms1.pdf > > Ciao, > Matteo > > > > On Mon, Aug 4, 2014 at 11:57 AM, Ephemeris Lappis <[hidden email] > > wrote: > >> Hello. >> >> I'm looking for some reference architecture for Drools CEP clustering. >> >> If I'm not wrong, the Drools 6.x documentation doesn't explain how to set >> a >> clustered environment to handle events processing. For example, how can we >> ensure load distribution, time windows control, state integrity, etc., >> running several engines ? >> >> Any information about that ? >> >> Thanks in advance. >> >> Regards. >> >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-clustering-tp4030560.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> [hidden email] >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-clustering-tp4030560p4030561.html > To unsubscribe from Drools Fusion (CEP) & clustering, click here > > . > NAML > > -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-clustering-tp4030560p4030563.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140804/b8ec7683/attachment-0001.html From wilsonch0 at yahoo.com Mon Aug 4 18:29:48 2014 From: wilsonch0 at yahoo.com (Clark Wilson) Date: Mon, 4 Aug 2014 15:29:48 -0700 Subject: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot Message-ID: <1407191388.99519.YahooMailNeo@web184306.mail.ne1.yahoo.com> Drools, Eclipse, Tomcat, and WCF are all new to me, so I may be missing something obvious. Questions at the bottom, after the problem description. I deployed the Drools Camel Server WAR file in a Tomcat 7 server I'm running within Eclipse under Windows 7. Using Visual Studio 2013 and System.ServiceModel 4.0.0.0 I generated a client from the WSDL. I fixed a problem with serialization and am getting an error on deserialization. The inner exception says "End element 'return' from namespace 'http://soap.jax.drools.org/' expected. Found text '<'. Line 1, position 189." The WSDL (obtained from http://127.0.0.1:8080/drools-camel-server-example-6.2.0-SNAPSHOT/kservice/soap?wsdl)?says there should be a thing named "return" there. ? ? ? ? ? ? ? ? I am unable to convince the Visual Studio debugger to show me the text it is trying to deserialize. But a colleague used another tool to get a copy of the message body and it seems in addition to "return" there is a "fact-handle". (This is the weak link in the evidence chain; I didn't redo this today.) (The "Hello:" text is what Drools is indeed sending. I changed the original drl file.) ?? ? ?? ? ? ?Hello: ?? ? ?? ? Question1: Is the fact-handle element likely to be the cause of .NET's deserialization error? Question 2: If so, what would I do, and where, to fix the problem? Does the WSDL need to be different? Does fact-handle need to be omitted? Does some .NET option need to be changed? Question 3: If that's not the cause, how can I identify the real problem? Thanks in advance, Clark Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140804/8d2de01f/attachment.html From reddy.lakshmi at gmail.com Tue Aug 5 06:05:46 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Tue, 5 Aug 2014 15:35:46 +0530 Subject: [rules-users] Getting "401 This user has no permissions setup" after migrating to 5.3.3.Final from guvnor 5.1.1 Message-ID: Hi All, Recently i have upgraded to drools guvnor 5.3.3.Final from Gurvnor 5.1.1. I have exported the data and imported in 5.3.3.Final. I am able to login to the application using default login using but not able to login using SSO and getting "401 This user has no permissions setup". Can anybody suggest what needs to be done to avoid this error? Regards, Lakshmi Reddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140805/e152d46d/attachment.html From reddy.lakshmi at gmail.com Tue Aug 5 10:28:20 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Tue, 5 Aug 2014 19:58:20 +0530 Subject: [rules-users] Error while login in Guvnor 5.3.3.Final, Any thoughts/Suggestion on this? Message-ID: Hi All, I have migrated from Guvnor 5.1.1 to Guvnor 5.3.3.Final. I am logging using SSO. I am getting the bellow error message on the UI when i try to login. java.lang.NullPointerException at org.drools.guvnor.server.util.LoggingHelper.error(LoggingHelper.java:76) at org.drools.guvnor.server.SecurityServiceServlet.doUnexpectedFailure(SecurityServiceServlet.java:55) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65) at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) In Application Server, i can see the below error. ERROR 05-08 07:07:30,903 (LoggingHelper.java:error:74) Type '[Lorg.drools.guvnor.client.configurations.Capability;' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = [Lorg.drools.guvnor.client.configurations.Capability;@256c0579 <[ServletContext at 626550860[app:drools-guvnor module:drools-guvnor.war path:/drools-guvnor spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl at 20c579cd[ Any thought/suggestion on this? Regards, Lakshmi Reddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140805/57ba76aa/attachment.html From matteo.mortari at gmail.com Tue Aug 5 13:06:15 2014 From: matteo.mortari at gmail.com (Matteo Mortari) Date: Tue, 5 Aug 2014 19:06:15 +0200 Subject: [rules-users] RightTupleList NPE with 6.1.0.Final Message-ID: Ciao, I'm using 6.1.0.Final - btw, thank you for this release! I have an issue as sometimes I'm getting an NPE from the RightTupleList, as documented in the snippet of stacktrace below. Unfortunately, I'm not able to provide as I did in the past a reproducer, because this error occurs only occasionally after the application has been running for quite some time - this error does not happen with the rule unit tests suite. Therefore I would like to ask you the following questions, please. 1. would the stacktrace below be enough for you to possibly identify the kind of error which is happening in this case? 2. shall I go ahead and raise a JIRA just with this information? I've checked on JIRA but couldn't find any "similar" issue for this case Finally, if the answers are both "no", does it mean that the only way I could provide an helpful feedback, is to log all the session incoming facts indefinitely, so to later "craft" an log-replay reproducer; or would you suggest another way I can do this more efficiently? Thank you very much in advance for your feedback Ciao Caused by: java.lang.NullPointerException at org.drools.core.util.index.RightTupleList.matches(RightTupleList.java:264) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.util.index.RightTupleIndexHashTable.get(RightTupleIndexHashTable.java:433) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.util.index.RightTupleIndexHashTable.getFirst(RightTupleIndexHashTable.java:114) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.reteoo.BetaNode.getFirstRightTuple(BetaNode.java:430) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.PhreakJoinNode.doLeftInserts(PhreakJoinNode.java:94) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.PhreakJoinNode.doNode(PhreakJoinNode.java:60) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:548) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:534) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:334) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:161) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:116) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.phreak.RuleExecutor.evaluateNetwork(RuleExecutor.java:77) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.common.DefaultAgenda.evaluateEagerList(DefaultAgenda.java:990) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:945) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1234) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1239) [drools-core-6.1.0.Final.jar:6.1.0.Final] at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1212) [drools-core-6.1.0.Final.jar:6.1.0.Final] at (...).ChronologicalEngine.insertPolicyAdvanceInsertFire(ChronologicalEngine.java:381) [classes:] at (...).ChronologicalEngine.inject(ChronologicalEngine.java:284) [classes:] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140805/198e6bf0/attachment-0001.html From matteo.mortari at gmail.com Tue Aug 5 13:23:54 2014 From: matteo.mortari at gmail.com (tari-manga) Date: Tue, 5 Aug 2014 10:23:54 -0700 (PDT) Subject: [rules-users] Slf4j Log4j logger not working with Drools drl while using as a global variable. In-Reply-To: <1401183916581-4029713.post@n3.nabble.com> References: <1401167371055-4029707.post@n3.nabble.com> <1401183916581-4029713.post@n3.nabble.com> Message-ID: <1407259434640-4030572.post@n3.nabble.com> I wonder if OP Soumya solved the issue, because at least in my case it is indeed working fine - I just tested with 610Final as we also wanted to log from rule via slf4j. I attach demo that at least for us proves working. I've also tried back-port the same project attached to test with 610beta2, and is working as well at least for me; although you need to be aware switch the 'packaging' to see the log in eclipse (ref. https://issues.jboss.org/browse/DROOLS-495) Am I missing something? OP Soumya did you solved your issue? 20140805.zip Thanks. Ciao -- View this message in context: http://drools.46999.n3.nabble.com/Slf4j-Log4j-logger-not-working-with-Drools-6-1-0-Beta2-drl-while-using-as-a-global-variable-tp4029707p4030572.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mario.fusco at gmail.com Tue Aug 5 13:40:55 2014 From: mario.fusco at gmail.com (Mario Fusco) Date: Tue, 5 Aug 2014 10:40:55 -0700 (PDT) Subject: [rules-users] RightTupleList NPE with 6.1.0.Final In-Reply-To: References: Message-ID: <1407260455525-4030573.post@n3.nabble.com> Hi Matteo, it's honestly virtually impossible to figure out what's causing that NPE just looking at that stack trace. Do you think you could be able to develop a reproducer or at least provide us a bit more information? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-RightTupleList-NPE-with-6-1-0-Final-tp4030571p4030573.html Sent from the Drools: User forum mailing list archive at Nabble.com. From borris at chaos.org.uk Tue Aug 5 14:12:16 2014 From: borris at chaos.org.uk (Borris) Date: Tue, 05 Aug 2014 19:12:16 +0100 Subject: [rules-users] Conflict resolution strategy - before vs after Phreak impl In-Reply-To: References: <1406561466589-4030521.post@n3.nabble.com> Message-ID: <53E11E80.7010402@chaos.org.uk> Mark, This was a really useful post, going into some detail on behaviour and the underlying reasoning for the Drools implementation, especially the 6.X stuff. I've removed a whole bunch of salience mess as a result as well, which is always good for code quality. A question though - if rules in multiple different files become eligble for firing "at the same time", is their ordering something that is readily predictable? Thanks Borris On Monday 28/07/2014 17:11, Mark Proctor wrote: > Phreak is just depth + load order, so it?s not a big change, all it does is remove the degree of arbitrary behaviour you were relying on for performance. Depth in 5x meant rules with the same salience were executed in an arbitrary order, it seems this arbitrary order was not so arbitrary in your case and makes an impact on performance - but as it?s arbitrary the repeatability of this cannot be ensured, even across environments let alone versions. In 6x this is no longer arbitrary, which will allow people more predictability in their rule executions. Load order is also much easier for people to understand and deal with, and often avoids the need to use salience at all - it?s also how people?s brains tend to think. Rules higher up in the file, fire first. We recommend one ?agenda-group? per file, so that it?s easy to keep control of those orders. Salience can still over-ride this; but over time we have further ideas to completely remove the need for salience. This didn?t make much sense in 5x as load order was not preserved between kbase updates, so if you add rules later you lose the load order. In 6x we fixed this, so load order is always preserved between versions, an thus adding this enhancement makes sense. > From wilsonch0 at yahoo.com Tue Aug 5 14:20:42 2014 From: wilsonch0 at yahoo.com (Clark Wilson) Date: Tue, 5 Aug 2014 11:20:42 -0700 (PDT) Subject: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot In-Reply-To: <1407191388.99519.YahooMailNeo@web184306.mail.ne1.yahoo.com> References: <1407191388.99519.YahooMailNeo@web184306.mail.ne1.yahoo.com> Message-ID: <1407262842558-4030575.post@n3.nabble.com> I may well have over-complexified the problem, which may be merely that what's coming back doesn't match the XSD that is in the WSDL. Clark -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NET-WCF-unable-to-deserialize-response-from-Drools-Camel-Server-example-6-2-0-snapshot-tp4030566p4030575.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Tue Aug 5 17:03:38 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 5 Aug 2014 14:03:38 -0700 (PDT) Subject: [rules-users] All Drools examples 6.x fail on Mvel dependency error Message-ID: <1407272618981-4030576.post@n3.nabble.com> Hello, I have downloaded the new Drools 6.x distribution. All the example tests fail (out of the box) with the following stacktrace. *java.lang.NoClassDefFoundError: org/mvel2/ConversionHandler* at org.drools.compiler.rule.builder.DefaultConstraintBuilderFactory.(DefaultConstraintBuilderFactory.java:6) at org.drools.compiler.rule.builder.DroolsCompilerComponentFactory.(DroolsCompilerComponentFactory.java:11) at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.init(KnowledgeBuilderConfigurationImpl.java:238) at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.init(KnowledgeBuilderConfigurationImpl.java:188) at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.(KnowledgeBuilderConfigurationImpl.java:153) at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:178) at org.drools.compiler.kie.builder.impl.KieContainerImpl.createKieBase(KieContainerImpl.java:386) at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:346) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:498) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:469) at org.drools.example.api.namedkiesession.NamedKieSessionExample.go(NamedKieSessionExample.java:15) at org.drools.example.api.namedkiesession.NamedKieSessionExampleTest.testGo(NamedKieSessionExampleTest.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) 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.ClassNotFoundException: org.mvel2.ConversionHandler at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 35 more -- View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Tue Aug 5 17:06:06 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 5 Aug 2014 14:06:06 -0700 (PDT) Subject: [rules-users] All Drools examples 6.x fail on Mvel dependency error In-Reply-To: <1407272618981-4030576.post@n3.nabble.com> References: <1407272618981-4030576.post@n3.nabble.com> Message-ID: <1407272766286-4030577.post@n3.nabble.com> This happens even after I added the following dependency org.mvel mvel2 -- View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576p4030577.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Tue Aug 5 17:09:57 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 5 Aug 2014 14:09:57 -0700 (PDT) Subject: [rules-users] Drools 6.x and Custom Operators(Evaluators) and Accumulators - Using them as regular functions? In-Reply-To: References: <1394039049455-4028543.post@n3.nabble.com> Message-ID: <1407272997255-4030578.post@n3.nabble.com> Hello, Do you have any more information on the Custom Evaluators/Operators for Drools 6.1? Any information will be appreciated. Thanks Matt -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543p4030578.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Tue Aug 5 17:19:11 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 5 Aug 2014 22:19:11 +0100 Subject: [rules-users] Conflict resolution strategy - before vs after Phreak impl In-Reply-To: <53E11E80.7010402@chaos.org.uk> References: <1406561466589-4030521.post@n3.nabble.com> <53E11E80.7010402@chaos.org.uk> Message-ID: <71B7401C-6100-41BD-8F71-EC7A875317FD@codehaus.org> If they are in different files, I recommend that they are in different agenda-grounds. They?ll continue to be prioritised in load order, so you?ll have two with load order 1, two with load order 2, two with load order 3 etc. Mark On 5 Aug 2014, at 19:12, Borris wrote: > Mark, > > This was a really useful post, going into some detail on behaviour and > the underlying reasoning for the Drools implementation, especially the > 6.X stuff. I've removed a whole bunch of salience mess as a result as > well, which is always good for code quality. > > A question though - if rules in multiple different files become eligble > for firing "at the same time", is their ordering something that is > readily predictable? > > Thanks > > Borris > > On Monday 28/07/2014 17:11, Mark Proctor wrote: >> Phreak is just depth + load order, so it?s not a big change, all it does is remove the degree of arbitrary behaviour you were relying on for performance. Depth in 5x meant rules with the same salience were executed in an arbitrary order, it seems this arbitrary order was not so arbitrary in your case and makes an impact on performance - but as it?s arbitrary the repeatability of this cannot be ensured, even across environments let alone versions. In 6x this is no longer arbitrary, which will allow people more predictability in their rule executions. Load order is also much easier for people to understand and deal with, and often avoids the need to use salience at all - it?s also how people?s brains tend to think. Rules higher up in the file, fire first. We recommend one ?agenda-group? per file, so that it?s easy to keep control of those orders. Salience can still over-ride this; but over time we have further ideas to completely remove the need for salience. This didn?t make much sense in 5x as load order was not preserved between kbase updates, so if you add rules later you lose the load order. In 6x we fixed this, so load order is always preserved between versions, an thus adding this enhancement makes sense. >> > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From mproctor at codehaus.org Tue Aug 5 17:20:25 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 5 Aug 2014 22:20:25 +0100 Subject: [rules-users] All Drools examples 6.x fail on Mvel dependency error In-Reply-To: <1407272766286-4030577.post@n3.nabble.com> References: <1407272618981-4030576.post@n3.nabble.com> <1407272766286-4030577.post@n3.nabble.com> Message-ID: Those all have unit test, that get run as part of the build. So there must be something wrong your side. Most likely mismatched MVEL versions. Mark On 5 Aug 2014, at 22:06, mattmadhavan wrote: > This happens even after I added the following dependency > > > org.mvel > mvel2 > > > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576p4030577.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From mproctor at codehaus.org Tue Aug 5 17:24:46 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 5 Aug 2014 22:24:46 +0100 Subject: [rules-users] Drools 6.x and Custom Operators(Evaluators) and Accumulators - Using them as regular functions? In-Reply-To: <1394061210412-4028553.post@n3.nabble.com> References: <1394039049455-4028543.post@n3.nabble.com> <1394061210412-4028553.post@n3.nabble.com> Message-ID: you no longer need to declare custom accumulators, instead they are specified via imports. See docs, notice the ?import? bit. http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/DroolsLanguageReferenceChapter.html#d0e6601 7.8.3.7.4.1. Accumulate CE (preferred syntax) ?. The code for the function is very simple, as we could expect, as all the "dirty" integration work is done by the engine. Finally, to use the function in the rules, the author can import it using the "import accumulate" statement: import accumulate For instance, if one implements the class some.package.VarianceFunction function that implements thevariance function and wants to use it in the rules, he would do the following: Example 7.77. Example of importing and using the custom "variance" accumulate function import accumulate some.package.VarianceFunction variance rule "Calculate Variance" when accumulate( Test( $s : score ), $v : variance( $s ) ) then // the variance of the test scores is $v end On 5 Mar 2014, at 23:13, mattmadhavan wrote: > Hello, > I am still suck on Drools 5.4/5.5 since I have issues with Custom > operators/Evaluators in 5.6. > > I am not able to move to Drools 6.x because the spring configuration is > screwed up. There is no option to configure Custom operator/Evaluators in > kie-spring. > > Looks like I just cannot move to 6.x because most of my rules are highly > dependent on the Custom operator/evaluator I created! > > I am mighty confused. > > Any ideas? > > Thanks > Matt > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543p4028553.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140805/e04a10c3/attachment-0001.html From mmadhavan at facs.org Tue Aug 5 17:41:18 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 5 Aug 2014 14:41:18 -0700 (PDT) Subject: [rules-users] Drools 6.x and Custom Operators(Evaluators) and Accumulators - Using them as regular functions? In-Reply-To: References: <1394039049455-4028543.post@n3.nabble.com> <1394061210412-4028553.post@n3.nabble.com> Message-ID: <1407274878951-4030582.post@n3.nabble.com> Hi Mark, My apologies if I am not clear with my question. I am looking for a way to create and use my own custom evaluator. (I know its similar to custom evaluator) I have a written a custom eval operator called *inlist* that will look to see if the left hand is in a range of values as follows: This function again encapsulates a very powerful RegEx utility method my co-worker created: when customer:Customer (cancerType == "THYROID" && age *inlist *(10-20, 30- 45, 50, 52, 57-60) then ......................... Note that this works only for Drools 5.3, I could not make it to work for 5.6 due to API compatibility. And I have no idea how to implement this in Drools 6.x. (I used to spring to configure this) I doubt I am the only one out there who has a need to write a Custom evaluator. Another question is if I follow the sane syntax as the custom accumulator - can I use the function on the right hand side. How do I get my operands etc. I appreciate your help in advance! Any ideas please? Thanks Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543p4030582.html Sent from the Drools: User forum mailing list archive at Nabble.com. From zahid.ahmed at emirates.com Wed Aug 6 01:51:34 2014 From: zahid.ahmed at emirates.com (706826) Date: Tue, 5 Aug 2014 22:51:34 -0700 (PDT) Subject: [rules-users] Getting "401 This user has no permissions setup" after migrating to 5.3.3.Final from guvnor 5.1.1 In-Reply-To: References: Message-ID: <1407304294748-4030584.post@n3.nabble.com> View the Answer in the following post. It should resolve your issue. https://community.jboss.org/message/817783?_sscc=t#817783 You need to make the following changes 1. Explode the guvnor war file and inside /WEB-INF/beans.xml (file is attached for reference beans.xml ) comment the following 2. Uncomment true -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Getting-401-This-user-has-no-permissions-setup-after-migrating-to-5-3-3-Final-from-guvno1-tp4030568p4030584.html Sent from the Drools: User forum mailing list archive at Nabble.com. From reddy.lakshmi at gmail.com Wed Aug 6 02:37:54 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Wed, 6 Aug 2014 12:07:54 +0530 Subject: [rules-users] Getting "401 This user has no permissions setup" after migrating to 5.3.3.Final from guvnor 5.1.1 In-Reply-To: <1407304294748-4030584.post@n3.nabble.com> References: <1407304294748-4030584.post@n3.nabble.com> Message-ID: Hi , I have taken the downloaded the code (guvnor-5.3.3.Final.zip) file , build the war file and deploying in weblogic. I do not see any /WEB-INF/beans.xml , i see components.xml,web.xml files, lib,classes folders under /WEB-INF . Application is working fine if login using nil authenticate or default authentication. But when i try to use SSO authentication, i am getting this error. I have have debugged the application, i come to know that SSO is passing and when the application is fetching/showing the main UI, giving this error. Lakshmi 9008752491 On Wed, Aug 6, 2014 at 11:21 AM, 706826 wrote: > View the Answer in the following post. It should resolve your issue. > > https://community.jboss.org/message/817783?_sscc=t#817783 > > > You need to make the following changes > > 1. Explode the guvnor war file and inside /WEB-INF/beans.xml (file is > attached for reference beans.xml > ) comment > the > following > > > > 2. Uncomment > > > > > > true > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-Getting-401-This-user-has-no-permissions-setup-after-migrating-to-5-3-3-Final-from-guvno1-tp4030568p4030584.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140806/12e8febc/attachment.html From mario.fusco at gmail.com Wed Aug 6 03:15:49 2014 From: mario.fusco at gmail.com (Mario Fusco) Date: Wed, 6 Aug 2014 00:15:49 -0700 (PDT) Subject: [rules-users] All Drools examples 6.x fail on Mvel dependency error In-Reply-To: <1407272618981-4030576.post@n3.nabble.com> References: <1407272618981-4030576.post@n3.nabble.com> Message-ID: <1407309349114-4030586.post@n3.nabble.com> Hi, I am not sure of what you mean with "new Drools 6.x distribution". I downloaded the latest Drools 6.1 distribution from here http://drools.jboss.org/downloads.html launched the runExample.sh script and everything seems to work as expected. Can you be a bit more specific? On which distribution are you trying the examples? How are you launching them? Which OS and JVM are you using? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576p4030586.html Sent from the Drools: User forum mailing list archive at Nabble.com. From ephemeris.lappis at gmail.com Wed Aug 6 03:38:41 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Wed, 6 Aug 2014 00:38:41 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & event life cycle In-Reply-To: <1406186516229-4030471.post@n3.nabble.com> References: <1406186516229-4030471.post@n3.nabble.com> Message-ID: <1407310721385-4030587.post@n3.nabble.com> Hello. Sorry to come back to my own post ! I have new questions about my event life cycle problems. In the following rule set, I have just a single rule that checks for events with a given message 'test'. I had understood that in "realtime" and "stream" modes, Drools should handle automatically the deletion of useless events when no more rule relies on them. I have set a listener on my KieSession to check when objects are created and deleted. When I insert a new event on the input entry point, the listener traces for "objectInserted". When the message text is 'test' as checked by my rule, this last is fired as expected. Nothing occurs with other values. In both cases, the listener never receives an objectDeleted event... I have tested without the condition on the Notification object, but is does the same... An explanation about the real life cycle principles is clearly needed for me... Thanks in advance. Regards. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030587.html Sent from the Drools: User forum mailing list archive at Nabble.com. From matteo.mortari at gmail.com Wed Aug 6 05:31:06 2014 From: matteo.mortari at gmail.com (Matteo Mortari) Date: Wed, 6 Aug 2014 11:31:06 +0200 Subject: [rules-users] RightTupleList NPE with 6.1.0.Final In-Reply-To: <1407260455525-4030573.post@n3.nabble.com> References: <1407260455525-4030573.post@n3.nabble.com> Message-ID: Hi Mario, thank for your response and I can totally understand. My next question is, please: is it possible to submit a JIRA on jboss.org and keep it confidential ? Or at least keep confidential the reproducer? The problem I'm facing, assuming I eventually develop the reproducer, that I seriously doubt my friends would agree in sharing this rulebase on a public domain - on other occasions it was okay to share the rulebase, while on other occasions the rulebase was limited so I "translated" the rulebase to another domain. My ultimate goal here would be to reach a compromise where I can deliver you guys of the drools team a precise reproducer, while at the same time keep my friends happy that the rulebase is not actually shared on public domain and kept confidential only for the scope of reproducing the bug. So my friends questions will likely be: 1. is there a process to raise a jira on jboss.org with confidential content ? 2. which terms and conditions, or NDA, do apply in that case? I've done research on drools documentation, and on jboss and RH website, but couldn't find an answer applying for this case. In other words, I wonder if RH sub. model is the only means to share confidential content, or it is possible also for the opensource version, in order to achieve the compromise I pictured above. Thanks Ciao ps: sorry for the rather lengthy email but I wanted to provide a picture of the context :) Matteo On Tue, Aug 5, 2014 at 7:40 PM, Mario Fusco wrote: > Hi Matteo, > > it's honestly virtually impossible to figure out what's causing that NPE > just looking at that stack trace. Do you think you could be able to develop > a reproducer or at least provide us a bit more information? > > Thanks, > Mario > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-RightTupleList-NPE-with-6-1-0-Final-tp4030571p4030573.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140806/ea2bb2b5/attachment.html From mproctor at codehaus.org Wed Aug 6 08:25:47 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Wed, 6 Aug 2014 13:25:47 +0100 Subject: [rules-users] RightTupleList NPE with 6.1.0.Final In-Reply-To: References: <1407260455525-4030573.post@n3.nabble.com> Message-ID: <2C3D9F56-C731-4DCD-949E-DEB6EE4385BF@codehaus.org> On 6 Aug 2014, at 10:31, Matteo Mortari wrote: > Hi Mario, thank for your response and I can totally understand. > > My next question is, please: is it possible to submit a JIRA on jboss.org and keep it confidential ? > Or at least keep confidential the reproducer? Not on JIRA, but you can open a jira and then provide a dropbox link to Mario, Myself or Edson. > > The problem I'm facing, assuming I eventually develop the reproducer, that I seriously doubt my friends would agree in sharing this rulebase on a public domain - on other occasions it was okay to share the rulebase, while on other occasions the rulebase was limited so I "translated" the rulebase to another domain. > > My ultimate goal here would be to reach a compromise where I can deliver you guys of the drools team a precise reproducer, while at the same time keep my friends happy that the rulebase is not actually shared on public domain and kept confidential only for the scope of reproducing the bug. > > So my friends questions will likely be: > 1. is there a process to raise a jira on jboss.org with confidential content ? > 2. which terms and conditions, or NDA, do apply in that case? > > I've done research on drools documentation, and on jboss and RH website, but couldn't find an answer applying for this case. In other words, I wonder if RH sub. model is the only means to share confidential content, or it is possible also for the opensource version, in order to achieve the compromise I pictured above. > > Thanks > Ciao > ps: sorry for the rather lengthy email but I wanted to provide a picture of the context :) > Matteo > > > > On Tue, Aug 5, 2014 at 7:40 PM, Mario Fusco wrote: > Hi Matteo, > > it's honestly virtually impossible to figure out what's causing that NPE > just looking at that stack trace. Do you think you could be able to develop > a reproducer or at least provide us a bit more information? > > Thanks, > Mario > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/rules-users-RightTupleList-NPE-with-6-1-0-Final-tp4030571p4030573.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140806/909168ff/attachment-0001.html From mmadhavan at facs.org Wed Aug 6 14:03:34 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Wed, 6 Aug 2014 11:03:34 -0700 (PDT) Subject: [rules-users] All Drools examples 6.x fail on Mvel dependency error In-Reply-To: <1407309349114-4030586.post@n3.nabble.com> References: <1407272618981-4030576.post@n3.nabble.com> <1407309349114-4030586.post@n3.nabble.com> Message-ID: <1407348214787-4030592.post@n3.nabble.com> HI Mario, Thank you very much for your reply. I downloaded 6.1.1-SNAPSHOT I imported the whole project into Eclipse (Spring STS), JDK 1.7 Windows. I didn't run runExamples.sh. I tried to run them as JUnit tests in Eclipse. I hope this explains what I am trying to do. Thanks in advance! Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576p4030592.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Wed Aug 6 19:34:02 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Wed, 6 Aug 2014 16:34:02 -0700 (PDT) Subject: [rules-users] Drools 6.x and Custom Operators(Evaluators) and Accumulators - Using them as regular functions? In-Reply-To: <1407274878951-4030582.post@n3.nabble.com> References: <1394039049455-4028543.post@n3.nabble.com> <1394061210412-4028553.post@n3.nabble.com> <1407274878951-4030582.post@n3.nabble.com> Message-ID: <1407368042701-4030593.post@n3.nabble.com> Hello Mark et all, I referred the source of the class (FOr API etc) of the built-in evaluator below : *org.drools.core.base.evaluators.MatchesEvaluatorsDefinition* and* drools.packagebuilder.conf* It was a breeze, took me less than 10 minutes! As Mark Proctor mentioned, lots of plumbing has been taken care of in 6.1 and actually this port was really nice and easy. I was able to port my old *inlist*operator from Drools 5.3 to 6.1 Now I am willing to recommend my client to use Drools 6.x for our forth coming major initiative. We have a custom in-house built Rule Engine which I am trying to replace with Drools. The "Custom Evaluator" is a major thing for as as all its really powerful and all the analysts need this. Without this *inlist<.b> operator I am not going anywhere with Drools with my client.* We will be processing in excess of 30 million FACTS*, (Stateless Session) using Drools when I am done converting the project to use Drools! Thanks for all Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543p4030593.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Wed Aug 6 21:09:36 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Thu, 7 Aug 2014 02:09:36 +0100 Subject: [rules-users] google groups Message-ID: We are in the final stages for the discussions on lists and forums. We are likely to move all lists to google groups, as it provides a unified email list and web forum. There will be three resulting groups, instead of the current two. Drools Setup - installation, configuration, setup and administration Drools Usage - authoring (drl, decision tables, score cards rule templates, scenarios) and running. Drools Development - documentation and coding of the drools project Theses current two lists will remain and the email address will continue to work for a while. We will attempt to auto-subscribe (i.e. transfer) all existing subscribers. rules-dev people will be subscribed to drools-development. rules-users will be subscribed to both drools-setup and drools-usage - as the current list currently covers both those topics. If anyone has any feedback, please let us know. Mark From wilsonch0 at yahoo.com Thu Aug 7 11:14:37 2014 From: wilsonch0 at yahoo.com (Clark Wilson) Date: Thu, 7 Aug 2014 08:14:37 -0700 (PDT) Subject: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot In-Reply-To: <1407262842558-4030575.post@n3.nabble.com> References: <1407191388.99519.YahooMailNeo@web184306.mail.ne1.yahoo.com> <1407262842558-4030575.post@n3.nabble.com> Message-ID: <1407424477275-4030599.post@n3.nabble.com> I need to explain about the WAR file we are using. The WAR file in distribution binaries would not deploy for us. I forget what the error message was. So we went to ...\droolsjbpm-integration\drools-camel-server-example and issued a maven command we found at http://salaboy.com/2011/04/05/drools-in-real-life-droolsjbpm5-server-first-steps/ to build the WAR file, which we then used. Clark -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NET-WCF-unable-to-deserialize-response-from-Drools-Camel-Server-example-6-2-0-snapshot-tp4030566p4030599.html Sent from the Drools: User forum mailing list archive at Nabble.com. From wilsonch0 at yahoo.com Thu Aug 7 17:10:51 2014 From: wilsonch0 at yahoo.com (Clark Wilson) Date: Thu, 7 Aug 2014 14:10:51 -0700 (PDT) Subject: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot In-Reply-To: <1407424477275-4030599.post@n3.nabble.com> References: <1407191388.99519.YahooMailNeo@web184306.mail.ne1.yahoo.com> <1407262842558-4030575.post@n3.nabble.com> <1407424477275-4030599.post@n3.nabble.com> Message-ID: <1407445851108-4030600.post@n3.nabble.com> Sorry about incremental updates, but I think it's important for me to say that the WSDL XSD looks okay. The full SOAP message that Drools server sends is like this: Notice the "return" element that contains the CDATA chunk that contains the message contents. That matches the WSDL XSD. It *seems* that .NET is trying to apply the WSDL XSD to the CDATA chunk. So instead of recognizing one "return" element (which is actually in the message) it sees an XML chunk containing a "result" element and a "fact-handle" element but no "return" element. Perhaps we can fix it by changing the data contract(s) for the response. Dunno. But the WSDL XSD seems to match the actual message. Clark -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NET-WCF-unable-to-deserialize-response-from-Drools-Camel-Server-example-6-2-0-snapshot-tp4030566p4030600.html Sent from the Drools: User forum mailing list archive at Nabble.com. From santhosh.hegde at hp.com Thu Aug 7 22:13:35 2014 From: santhosh.hegde at hp.com (san_hegde) Date: Thu, 7 Aug 2014 19:13:35 -0700 (PDT) Subject: [rules-users] Mocking Guvnor Message-ID: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> Hi , We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. For example mocking could be like this. We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. Thank you Santhosh Hegde A -- View this message in context: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140807/2c704c69/attachment.html From davidmoros at gmail.com Fri Aug 8 06:03:29 2014 From: davidmoros at gmail.com (davidmoros) Date: Fri, 8 Aug 2014 03:03:29 -0700 (PDT) Subject: [rules-users] Annotation @PropertyReactive not works Message-ID: <1407492209879-4030602.post@n3.nabble.com> I'm developing a system rules with drools, how any novice I found the problem of infinite loops, in unitary test I resolved with annotation @PropertyReactive and all works fine, until I uploaded my model and rules to Guvnor. Now I have developed a webservice that download the PKG from Guvnor, with change-set and seems that the annotation @PropertyReactive not works because of the same rule is reevaluated constantly although the consecuences the rule not change the value of attributes of LHS of rule, and infinite loops appears.... The error only occurs when I download the PKG from Guvnor, if I refer the file DRL directly all woks fine Can anybody help me? I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice are deployed in Tomcat Thanks in advance -- View this message in context: http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html Sent from the Drools: User forum mailing list archive at Nabble.com. From reddy.lakshmi at gmail.com Fri Aug 8 06:03:57 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Fri, 8 Aug 2014 15:33:57 +0530 Subject: [rules-users] Guvnor 5.3.3.Final version is not loading in IE. Message-ID: Hi, I am facing problem in accessing the guvnor5.3.3.Final in IE. When I access the Guvnor in IE it just showing the page with "Please wait Application Loading" and nothing comes after that. Application is working fine in Firefox and chrome but not working in IE. I am using the user.agent values as mentioned below. Please let me know if there is any workaround needs to be done to access using IE. Regards, Reddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/898a1272/attachment.html From davidmoros at gmail.com Fri Aug 8 07:53:22 2014 From: davidmoros at gmail.com (davidmoros) Date: Fri, 8 Aug 2014 04:53:22 -0700 (PDT) Subject: [rules-users] Drools 5.6.0.Final PKG vs DRL infinite loop In-Reply-To: <530E0346.4070707@gmail.com> References: <1393358974597-4028318.post@n3.nabble.com> <1393359947647-4028320.post@n3.nabble.com> <1393368802791-4028329.post@n3.nabble.com> <530DB508.8070601@gmail.com> <1393426792841-4028335.post@n3.nabble.com> <530E0346.4070707@gmail.com> Message-ID: <1407498802743-4030605.post@n3.nabble.com> I have the same problem In local all works fine, but when I upgrade the model and rules to Guvnor, generate the package PKG and download it from a java webservice, appears the infinite loops, it is as if the @PropertiReactive is lost All classes in my model are annotated with @PropertyReactive I have created the topic http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-td4030602.html -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-6-0-Final-PKG-vs-DRL-infinite-loop-tp4028318p4030605.html Sent from the Drools: User forum mailing list archive at Nabble.com. From michael.anstis at gmail.com Fri Aug 8 08:07:33 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Fri, 8 Aug 2014 13:07:33 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> Message-ID: I assume you have a service encapsulating your use of Drools? Why not mock this service to use an implementation that returns what you need? On 8 August 2014 03:13, san_hegde wrote: > Hi , > > > > We have requirement where in during functional testing we do not want to > connect to Guvnor rather want to mock it. > > > > For example mocking could be like this. > > > > We send Fact object as input during calling > knowledgeSession.execute() method and in rule we update the result in that > fact object itself. So here can we mock the output fact object, so that > during functional testing we no need to connect to Guvnor rather mocked > result fact object is returned. > > > > > > Thank you > > Santhosh Hegde A > > ------------------------------ > View this message in context: Mocking Guvnor > > Sent from the Drools: User forum mailing list archive > at > Nabble.com. > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/7994e6b7/attachment-0001.html From dsotty at gmail.com Fri Aug 8 09:26:26 2014 From: dsotty at gmail.com (Davide Sottara) Date: Fri, 08 Aug 2014 08:26:26 -0500 Subject: [rules-users] Annotation @PropertyReactive not works Message-ID: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> If I remember correctly this is a known issue. Unfortunately drools 5.6 is final and can't be patched. Downloading the source drl rather than the compiled pkg could be a workaround. Please let me know if it works Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone -------- Original Message -------- From:davidmoros Sent:Fri, 08 Aug 2014 05:03:29 -0500 To:rules-users at lists.jboss.org Subject:[rules-users] Annotation @PropertyReactive not works >I'm developing a system rules with drools, how any novice I found the problem >of infinite loops, in unitary test I resolved with annotation >@PropertyReactive and all works fine, until I uploaded my model and rules to >Guvnor. >Now I have developed a webservice that download the PKG from Guvnor, with >change-set and seems that the annotation @PropertyReactive not works because >of the same rule is reevaluated constantly although the consecuences the >rule not change the value of attributes of LHS of rule, and infinite loops >appears.... >The error only occurs when I download the PKG from Guvnor, if I refer the >file DRL directly all woks fine > >Can anybody help me? > >I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >are deployed in Tomcat > >Thanks in advance > > > >-- >View this message in context: http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >Sent from the Drools: User forum mailing list archive at Nabble.com. >_______________________________________________ >rules-users mailing list >rules-users at lists.jboss.org >https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/349b8dde/attachment.html From stephen.masters at me.com Fri Aug 8 11:38:08 2014 From: stephen.masters at me.com (Stephen Masters) Date: Fri, 08 Aug 2014 16:38:08 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> Message-ID: <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. Although, I must admit I?m not sure what question is being asked... Steve On 8 Aug 2014, at 13:07, Michael Anstis wrote: > I assume you have a service encapsulating your use of Drools? > > Why not mock this service to use an implementation that returns what you need? > > > On 8 August 2014 03:13, san_hegde wrote: > Hi , > > > > We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. > > > > For example mocking could be like this. > > > > We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. > > > > > > Thank you > > Santhosh Hegde A > > > View this message in context: Mocking Guvnor > Sent from the Drools: User forum mailing list archive at Nabble.com. > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/f040bdde/attachment.html From santhosh.hegde at hp.com Fri Aug 8 13:02:24 2014 From: santhosh.hegde at hp.com (san_hegde) Date: Fri, 8 Aug 2014 10:02:24 -0700 (PDT) Subject: [rules-users] Mocking Guvnor In-Reply-To: <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> Message-ID: <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> Actually during functional testing we want to test our service which in turn calls rules and we want to test the service with changing rules. But we do not want to change the rules in Guvnor rather we want to somehow mock it. Means depending on our tests we want to use different modified rules. For this if we can mock the session or guvnor or somehow so that we session can return the mocked fact depending on our test. Thank you Santhosh Hegde A From: Stephen Masters [via Drools] [mailto:ml-node+s46999n4030608h57 at n3.nabble.com] Sent: Friday, August 08, 2014 9:10 PM To: Ajekar, Santhosh Hegde (HP-IT) Subject: Re: [rules-users] Mocking Guvnor Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. Although, I must admit I?m not sure what question is being asked... Steve On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email]> wrote: I assume you have a service encapsulating your use of Drools? Why not mock this service to use an implementation that returns what you need? On 8 August 2014 03:13, san_hegde <[hidden email]> wrote: Hi , We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. For example mocking could be like this. We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. Thank you Santhosh Hegde A ________________________________ View this message in context: Mocking Guvnor Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html To start a new topic under Drools: User forum, email ml-node+s46999n47000h9 at n3.nabble.com To unsubscribe from Drools: User forum, click here. NAML -- View this message in context: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030609.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/51684346/attachment-0001.html From mproctor at codehaus.org Fri Aug 8 13:06:51 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Fri, 8 Aug 2014 18:06:51 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> Message-ID: <2509E29A-6AAD-443A-A02D-4692B19C6ACA@codehaus.org> the updates just go through kie-ci, I?m assuming you are using this. I think you could mock this without Guvnor, by creating a temporary local m2_repo and add jars there. kie-ci will pick those up and try and apply them. Mark On 8 Aug 2014, at 18:02, san_hegde wrote: > Actually during functional testing we want to test our service which in turn calls rules and we want to test the service with changing rules. But we do not want to change the rules in Guvnor rather we want to somehow mock it. Means depending on our tests we want to use different modified rules. For this if we can mock the session or guvnor or somehow so that we session can return the mocked fact depending on our test. > > > > Thank you > > Santhosh Hegde A > > > > From: Stephen Masters [via Drools] [mailto:ml-node+[hidden email]] > Sent: Friday, August 08, 2014 9:10 PM > To: Ajekar, Santhosh Hegde (HP-IT) > Subject: Re: [rules-users] Mocking Guvnor > > > > Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? > > > > Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. > > > > Although, I must admit I?m not sure what question is being asked... > > > > Steve > > > > > > On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email]> wrote: > > > > > I assume you have a service encapsulating your use of Drools? > > > > Why not mock this service to use an implementation that returns what you need? > > > > On 8 August 2014 03:13, san_hegde <[hidden email]> wrote: > > > Hi , > > > > We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. > > > > For example mocking could be like this. > > > > We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. > > > > > > Thank you > > Santhosh Hegde A > > > > View this message in context: Mocking Guvnor > Sent from the Drools: User forum mailing list archive at Nabble.com. > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > If you reply to this email, your message will be added to the discussion below: > > http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html > > To start a new topic under Drools: User forum, email [hidden email] > To unsubscribe from Drools: User forum, click here. > NAML > > > View this message in context: RE: [rules-users] Mocking Guvnor > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/cb7dc4c7/attachment.html From mproctor at codehaus.org Fri Aug 8 13:07:48 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Fri, 8 Aug 2014 18:07:48 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: <2509E29A-6AAD-443A-A02D-4692B19C6ACA@codehaus.org> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> <2509E29A-6AAD-443A-A02D-4692B19C6ACA@codehaus.org> Message-ID: I should add that nothing on the client side of updates actually talks to Guvnor at all. It?s all just embedded Maven, interacting via local and remote m2 repositories. It just happens that Guvnor can build and install into a remote m2 repo. Mark On 8 Aug 2014, at 18:06, Mark Proctor wrote: > the updates just go through kie-ci, I?m assuming you are using this. I think you could mock this without Guvnor, by creating a temporary local m2_repo and add jars there. kie-ci will pick those up and try and apply them. > > Mark > > > On 8 Aug 2014, at 18:02, san_hegde wrote: > >> Actually during functional testing we want to test our service which in turn calls rules and we want to test the service with changing rules. But we do not want to change the rules in Guvnor rather we want to somehow mock it. Means depending on our tests we want to use different modified rules. For this if we can mock the session or guvnor or somehow so that we session can return the mocked fact depending on our test. >> >> >> Thank you >> >> Santhosh Hegde A >> >> >> From: Stephen Masters [via Drools] [mailto:ml-node+[hidden email]] >> Sent: Friday, August 08, 2014 9:10 PM >> To: Ajekar, Santhosh Hegde (HP-IT) >> Subject: Re: [rules-users] Mocking Guvnor >> >> >> >> Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? >> >> >> >> Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. >> >> >> >> Although, I must admit I?m not sure what question is being asked... >> >> >> >> Steve >> >> >> >> >> >> On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email]> wrote: >> >> >> >> >> I assume you have a service encapsulating your use of Drools? >> >> >> >> Why not mock this service to use an implementation that returns what you need? >> >> >> >> On 8 August 2014 03:13, san_hegde <[hidden email]> wrote: >> >> >> Hi , >> >> >> >> We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. >> >> >> >> For example mocking could be like this. >> >> >> >> We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. >> >> >> >> >> >> Thank you >> >> Santhosh Hegde A >> >> >> >> View this message in context: Mocking Guvnor >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> >> _______________________________________________ >> rules-users mailing list >> [hidden email] >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> >> _______________________________________________ >> rules-users mailing list >> [hidden email] >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> >> _______________________________________________ >> rules-users mailing list >> [hidden email] >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> If you reply to this email, your message will be added to the discussion below: >> >> http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html >> >> To start a new topic under Drools: User forum, email [hidden email] >> To unsubscribe from Drools: User forum, click here. >> NAML >> >> >> View this message in context: RE: [rules-users] Mocking Guvnor >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/ecc04fa2/attachment-0001.html From santhosh.hegde at hp.com Fri Aug 8 13:26:49 2014 From: santhosh.hegde at hp.com (Ajekar, Santhosh Hegde (HP-IT)) Date: Fri, 8 Aug 2014 17:26:49 +0000 Subject: [rules-users] Mocking Guvnor In-Reply-To: References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> <2509E29A-6AAD-443A-A02D-4692B19C6ACA@codehaus.org> Message-ID: <15953010ECA3144B888197EE9EF2B83ED49DABE4@G4W3205.americas.hpqcorp.net> We are using drools-core 5.2 and Guvnor 5.2. We are not using kie-ci and not sure if this is available for 5.2 Also is it possible to mock StatelessKnowledgeSession, so that I then even need not connect to any repository and just return the output fact object as I need? Thank you Santhosh Hegde A From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mark Proctor Sent: Friday, August 08, 2014 10:38 PM To: Rules Users List Subject: Re: [rules-users] Mocking Guvnor I should add that nothing on the client side of updates actually talks to Guvnor at all. It's all just embedded Maven, interacting via local and remote m2 repositories. It just happens that Guvnor can build and install into a remote m2 repo. Mark On 8 Aug 2014, at 18:06, Mark Proctor > wrote: the updates just go through kie-ci, I'm assuming you are using this. I think you could mock this without Guvnor, by creating a temporary local m2_repo and add jars there. kie-ci will pick those up and try and apply them. Mark On 8 Aug 2014, at 18:02, san_hegde > wrote: Actually during functional testing we want to test our service which in turn calls rules and we want to test the service with changing rules. But we do not want to change the rules in Guvnor rather we want to somehow mock it. Means depending on our tests we want to use different modified rules. For this if we can mock the session or guvnor or somehow so that we session can return the mocked fact depending on our test. Thank you Santhosh Hegde A From: Stephen Masters [via Drools] [mailto:ml-node+[hidden email]] Sent: Friday, August 08, 2014 9:10 PM To: Ajekar, Santhosh Hegde (HP-IT) Subject: Re: [rules-users] Mocking Guvnor Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. Although, I must admit I'm not sure what question is being asked... Steve On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email]> wrote: I assume you have a service encapsulating your use of Drools? Why not mock this service to use an implementation that returns what you need? On 8 August 2014 03:13, san_hegde <[hidden email]> wrote: Hi , We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. For example mocking could be like this. We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. Thank you Santhosh Hegde A ________________________________ View this message in context: Mocking Guvnor Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html To start a new topic under Drools: User forum, email [hidden email] To unsubscribe from Drools: User forum, click here. NAML ________________________________ View this message in context: RE: [rules-users] Mocking Guvnor Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/2dcefb48/attachment.html From michael.anstis at gmail.com Fri Aug 8 13:58:10 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Fri, 8 Aug 2014 18:58:10 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> Message-ID: Sounds like your service uses KnowledgeAgent that detects changes to rules in Guvnor based upon a changeset? Either way your requirement remains the same: *your* application architecture needs to support (at least) the ability to provide different changesets (for testing you can use a changeset that points to a local folder containing rules rather than Guvnor). You're not going to be able to avoid mocking some part of your application if you don't want to get rules from Guvnor (although I prefer the term pluggable - CDI use of @Specialises or @Alternative would be a good example, but IDK if you use CDI). Sent on the move On 8 Aug 2014 18:03, "san_hegde" wrote: > Actually during functional testing we want to test our service which in > turn calls rules and we want to test the service with changing rules. But > we do not want to change the rules in Guvnor rather we want to somehow mock > it. Means depending on our tests we want to use different modified rules. > For this if we can mock the session or guvnor or somehow so that we session > can return the mocked fact depending on our test. > > > > Thank you > > Santhosh Hegde A > > > > *From:* Stephen Masters [via Drools] [mailto:ml-node+[hidden email] > ] > *Sent:* Friday, August 08, 2014 9:10 PM > *To:* Ajekar, Santhosh Hegde (HP-IT) > *Subject:* Re: [rules-users] Mocking Guvnor > > > > Possibly also worth pointing out that inserting a fact and executing a > session do not connect to Guvnor anyway? > > > > Although, as Mike mentions, the simplest approach tends to be to create a > service which wraps knowledge base access and mock that. Although you could > also mock the session. > > > > Although, I must admit I?m not sure what question is being asked... > > > > Steve > > > > > > On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email] > > wrote: > > > > I assume you have a service encapsulating your use of Drools? > > > > Why not mock this service to use an implementation that returns what you > need? > > > > On 8 August 2014 03:13, san_hegde <[hidden email] > > wrote: > > Hi , > > > > We have requirement where in during functional testing we do not want to > connect to Guvnor rather want to mock it. > > > > For example mocking could be like this. > > > > We send Fact object as input during calling > knowledgeSession.execute() method and in rule we update the result in that > fact object itself. So here can we mock the output fact object, so that > during functional testing we no need to connect to Guvnor rather mocked > result fact object is returned. > > > > > > Thank you > > Santhosh Hegde A > > > ------------------------------ > > View this message in context: Mocking Guvnor > > Sent from the Drools: User forum mailing list archive > at > Nabble.com. > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > ------------------------------ > > *If you reply to this email, your message will be added to the discussion > below:* > > http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html > > To start a new topic under Drools: User forum, email [hidden email] > > To unsubscribe from Drools: User forum, click here. > NAML > > > ------------------------------ > View this message in context: RE: [rules-users] Mocking Guvnor > > Sent from the Drools: User forum mailing list archive > at > Nabble.com. > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/b8e19729/attachment-0001.html From santhosh.hegde at hp.com Fri Aug 8 14:27:47 2014 From: santhosh.hegde at hp.com (Ajekar, Santhosh Hegde (HP-IT)) Date: Fri, 8 Aug 2014 18:27:47 +0000 Subject: [rules-users] Mocking Guvnor In-Reply-To: References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> Message-ID: <15953010ECA3144B888197EE9EF2B83ED49DACA0@G4W3205.americas.hpqcorp.net> Hi Michael, Yes, you are correct. We use the KnowledgeAgent that detects changes to rules in Guvnor based upon a changeset. One more question. Is there any way I can mock StatelessKnowledgeSession so that I can mock the output Fact object. Thank you Santhosh Hegde A From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Michael Anstis Sent: Friday, August 08, 2014 11:28 PM To: Rules Users List Subject: Re: [rules-users] Mocking Guvnor Sounds like your service uses KnowledgeAgent that detects changes to rules in Guvnor based upon a changeset? Either way your requirement remains the same: *your* application architecture needs to support (at least) the ability to provide different changesets (for testing you can use a changeset that points to a local folder containing rules rather than Guvnor). You're not going to be able to avoid mocking some part of your application if you don't want to get rules from Guvnor (although I prefer the term pluggable - CDI use of @Specialises or @Alternative would be a good example, but IDK if you use CDI). Sent on the move On 8 Aug 2014 18:03, "san_hegde" > wrote: Actually during functional testing we want to test our service which in turn calls rules and we want to test the service with changing rules. But we do not want to change the rules in Guvnor rather we want to somehow mock it. Means depending on our tests we want to use different modified rules. For this if we can mock the session or guvnor or somehow so that we session can return the mocked fact depending on our test. Thank you Santhosh Hegde A From: Stephen Masters [via Drools] [mailto:ml-node+[hidden email]] Sent: Friday, August 08, 2014 9:10 PM To: Ajekar, Santhosh Hegde (HP-IT) Subject: Re: [rules-users] Mocking Guvnor Possibly also worth pointing out that inserting a fact and executing a session do not connect to Guvnor anyway? Although, as Mike mentions, the simplest approach tends to be to create a service which wraps knowledge base access and mock that. Although you could also mock the session. Although, I must admit I?m not sure what question is being asked... Steve On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email]> wrote: I assume you have a service encapsulating your use of Drools? Why not mock this service to use an implementation that returns what you need? On 8 August 2014 03:13, san_hegde <[hidden email]> wrote: Hi , We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. For example mocking could be like this. We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. Thank you Santhosh Hegde A ________________________________ View this message in context: Mocking Guvnor Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html To start a new topic under Drools: User forum, email [hidden email] To unsubscribe from Drools: User forum, click here. NAML ________________________________ View this message in context: RE: [rules-users] Mocking Guvnor Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/b16849da/attachment-0001.html From mmadhavan at facs.org Fri Aug 8 16:33:58 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Fri, 8 Aug 2014 13:33:58 -0700 (PDT) Subject: [rules-users] kie:module/kie:base Question Message-ID: <1407530037928-4030615.post@n3.nabble.com> Hello, Seems like the only option I have for specifying mu.drl files is via package nmae as follows: is there anyway to specify individual .drl files instead of *packeages* ? Something lke Please note that I am trying to specify the actual .drl file. I appreciate in advance! Thanks Matt -- View this message in context: http://drools.46999.n3.nabble.com/kie-module-kie-base-Question-tp4030615.html Sent from the Drools: User forum mailing list archive at Nabble.com. From michael.anstis at gmail.com Fri Aug 8 17:20:46 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Fri, 8 Aug 2014 22:20:46 +0100 Subject: [rules-users] Mocking Guvnor In-Reply-To: <15953010ECA3144B888197EE9EF2B83ED49DACA0@G4W3205.americas.hpqcorp.net> References: <15953010ECA3144B888197EE9EF2B83ED49DA0BC@G4W3205.americas.hpqcorp.net> <41ED6013-8605-4FBB-B176-6FDCD717AD9B@me.com> <15953010ECA3144B888197EE9EF2B83ED49DAB3B@G4W3205.americas.hpqcorp.net> <15953010ECA3144B888197EE9EF2B83ED49DACA0@G4W3205.americas.hpqcorp.net> Message-ID: My advice is still to mock the service. If the service is too "fat" (I.e. has alot of business functionality) split it into "thinner" layers until you isolate the Drools usage and then write a different implementation of this for your tests. Sent on the move On 8 Aug 2014 19:29, "Ajekar, Santhosh Hegde (HP-IT)" wrote: > Hi Michael, > > Yes, you are correct. We use the KnowledgeAgent that detects changes to > rules in Guvnor based upon a changeset. > > One more question. Is there any way I can mock StatelessKnowledgeSession > so that I can mock the output Fact object. > > > > > > Thank you > > Santhosh Hegde A > > > > *From:* rules-users-bounces at lists.jboss.org [mailto: > rules-users-bounces at lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Friday, August 08, 2014 11:28 PM > *To:* Rules Users List > *Subject:* Re: [rules-users] Mocking Guvnor > > > > Sounds like your service uses KnowledgeAgent that detects changes to rules > in Guvnor based upon a changeset? > > Either way your requirement remains the same: *your* application > architecture needs to support (at least) the ability to provide different > changesets (for testing you can use a changeset that points to a local > folder containing rules rather than Guvnor). > > You're not going to be able to avoid mocking some part of your application > if you don't want to get rules from Guvnor (although I prefer the term > pluggable - CDI use of @Specialises or @Alternative would be a good > example, but IDK if you use CDI). > > Sent on the move > > On 8 Aug 2014 18:03, "san_hegde" wrote: > > Actually during functional testing we want to test our service which in > turn calls rules and we want to test the service with changing rules. But > we do not want to change the rules in Guvnor rather we want to somehow mock > it. Means depending on our tests we want to use different modified rules. > For this if we can mock the session or guvnor or somehow so that we session > can return the mocked fact depending on our test. > > > > Thank you > > Santhosh Hegde A > > > > *From:* Stephen Masters [via Drools] [mailto:ml-node+[hidden email] > ] > *Sent:* Friday, August 08, 2014 9:10 PM > *To:* Ajekar, Santhosh Hegde (HP-IT) > *Subject:* Re: [rules-users] Mocking Guvnor > > > > Possibly also worth pointing out that inserting a fact and executing a > session do not connect to Guvnor anyway? > > > > Although, as Mike mentions, the simplest approach tends to be to create a > service which wraps knowledge base access and mock that. Although you could > also mock the session. > > > > Although, I must admit I?m not sure what question is being asked... > > > > Steve > > > > > > On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email] > > wrote: > > > > I assume you have a service encapsulating your use of Drools? > > > > Why not mock this service to use an implementation that returns what you > need? > > > > On 8 August 2014 03:13, san_hegde <[hidden email] > > wrote: > > Hi , > > > > We have requirement where in during functional testing we do not want to > connect to Guvnor rather want to mock it. > > > > For example mocking could be like this. > > > > We send Fact object as input during calling > knowledgeSession.execute() method and in rule we update the result in that > fact object itself. So here can we mock the output fact object, so that > during functional testing we no need to connect to Guvnor rather mocked > result fact object is returned. > > > > > > Thank you > > Santhosh Hegde A > > > ------------------------------ > > View this message in context: Mocking Guvnor > > Sent from the Drools: User forum mailing list archive > at > Nabble.com. > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > ------------------------------ > > *If you reply to this email, your message will be added to the discussion > below:* > > http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601p4030608.html > > To start a new topic under Drools: User forum, email [hidden email] > > To unsubscribe from Drools: User forum, click here. > NAML > > > > ------------------------------ > > View this message in context: RE: [rules-users] Mocking Guvnor > > Sent from the Drools: User forum mailing list archive > at > Nabble.com. > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140808/efffcfb9/attachment.html From mproctor at codehaus.org Sat Aug 9 09:17:33 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Sat, 9 Aug 2014 14:17:33 +0100 Subject: [rules-users] kie:module/kie:base Question In-Reply-To: <1407530037928-4030615.post@n3.nabble.com> References: <1407530037928-4030615.post@n3.nabble.com> Message-ID: Not currently, but we have thought it would be nice to include ant style resource filters. But we'd want to do more than just name, and allow meta-data filter too. No dates for any of this though yet. Mark On Fri, Aug 8, 2014 at 9:33 PM, mattmadhavan wrote: > Hello, > Seems like the only option I have for specifying mu.drl files is via > package > nmae as follows: > > > is there anyway to specify individual .drl files instead of *packeages* ? > Something lke > > > > Please note that I am trying to specify the actual .drl file. > > I appreciate in advance! > > Thanks > Matt > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/kie-module-kie-base-Question-tp4030615.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140809/f40fb966/attachment.html From davidmoros at gmail.com Sat Aug 9 11:19:27 2014 From: davidmoros at gmail.com (David Moros Claramunt) Date: Sat, 9 Aug 2014 17:19:27 +0200 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: Do you know if the issue is solved in some later version? Also, I have another problem with Guvnor, in scenarios test I can?t set a date with time in Date field, is possible set it?I have changed the format Date and DateTime in .properties but fail the conversion too thanks, 2014-08-08 15:26 GMT+02:00 Davide Sottara : > If I remember correctly this is a known issue. Unfortunately drools 5.6 is > final and can't be patched. Downloading the source drl rather than the > compiled pkg could be a workaround. > Please let me know if it works > > Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone > > > -------- Original Message -------- > From:davidmoros > Sent:Fri, 08 Aug 2014 05:03:29 -0500 > To:rules-users at lists.jboss.org > Subject:[rules-users] Annotation @PropertyReactive not works > > I'm developing a system rules with drools, how any novice I found the > problem > of infinite loops, in unitary test I resolved with annotation > @PropertyReactive and all works fine, until I uploaded my model and rules > to > Guvnor. > Now I have developed a webservice that download the PKG from Guvnor, with > change-set and seems that the annotation @PropertyReactive not works > because > of the same rule is reevaluated constantly although the consecuences the > rule not change the value of attributes of LHS of rule, and infinite loops > appears.... > The error only occurs when I download the PKG from Guvnor, if I refer the > file DRL directly all woks fine > > Can anybody help me? > > I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice > are deployed in Tomcat > > Thanks in advance > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140809/363a2f14/attachment-0001.html From michael.anstis at gmail.com Sat Aug 9 13:34:03 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Sat, 9 Aug 2014 18:34:03 +0100 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: Regarding the Guvnor question; we don't support the time element of dates at the moment. It should however be a simple change and I am happy to support you submitting a pull request to fix in a later version. Unfortunately we simply do not have the time to fix ourselves at present. Sent on the move On 9 Aug 2014 16:20, "David Moros Claramunt" wrote: > Do you know if the issue is solved in some later version? > > Also, I have another problem with Guvnor, in scenarios test I can?t set a > date with time in Date field, is possible set it?I have changed the format > Date and DateTime in .properties but fail the conversion too > > thanks, > > > 2014-08-08 15:26 GMT+02:00 Davide Sottara : > >> If I remember correctly this is a known issue. Unfortunately drools 5.6 >> is final and can't be patched. Downloading the source drl rather than the >> compiled pkg could be a workaround. >> Please let me know if it works >> >> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >> >> >> -------- Original Message -------- >> From:davidmoros >> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >> To:rules-users at lists.jboss.org >> Subject:[rules-users] Annotation @PropertyReactive not works >> >> I'm developing a system rules with drools, how any novice I found the >> problem >> of infinite loops, in unitary test I resolved with annotation >> @PropertyReactive and all works fine, until I uploaded my model and rules >> to >> Guvnor. >> Now I have developed a webservice that download the PKG from Guvnor, with >> change-set and seems that the annotation @PropertyReactive not works >> because >> of the same rule is reevaluated constantly although the consecuences the >> rule not change the value of attributes of LHS of rule, and infinite loops >> appears.... >> The error only occurs when I download the PKG from Guvnor, if I refer the >> file DRL directly all woks fine >> >> Can anybody help me? >> >> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >> are deployed in Tomcat >> >> Thanks in advance >> >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140809/75b21b59/attachment.html From dsotty at gmail.com Sat Aug 9 13:41:09 2014 From: dsotty at gmail.com (Davide Sottara) Date: Sat, 09 Aug 2014 12:41:09 -0500 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: <53E65D35.1080807@gmail.com> Regarding the @Pr issue: yes, afaik newer versions are fixed. If not, they are more likely to be fixable. Thanks Davide On 08/09/2014 12:34 PM, Michael Anstis wrote: > > Regarding the Guvnor question; we don't support the time element of > dates at the moment. > It should however be a simple change and I am happy to support you > submitting a pull request to fix in a later version. Unfortunately we > simply do not have the time to fix ourselves at present. > > Sent on the move > > On 9 Aug 2014 16:20, "David Moros Claramunt" > wrote: > > Do you know if the issue is solved in some later version? > > Also, I have another problem with Guvnor, in scenarios test I > can?t set a date with time in Date field, is possible set it?I > have changed the format Date and DateTime in .properties but fail > the conversion too > > thanks, > > > 2014-08-08 15:26 GMT+02:00 Davide Sottara >: > > If I remember correctly this is a known issue. Unfortunately > drools 5.6 is final and can't be patched. Downloading the > source drl rather than the compiled pkg could be a workaround. > Please let me know if it works > > Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone > > > -------- Original Message -------- > From:davidmoros > > Sent:Fri, 08 Aug 2014 05:03:29 -0500 > To:rules-users at lists.jboss.org > > Subject:[rules-users] Annotation @PropertyReactive not works > > I'm developing a system rules with drools, how any novice I > found the problem > of infinite loops, in unitary test I resolved with annotation > @PropertyReactive and all works fine, until I uploaded my > model and rules to > Guvnor. > Now I have developed a webservice that download the PKG from > Guvnor, with > change-set and seems that the annotation @PropertyReactive not > works because > of the same rule is reevaluated constantly although the > consecuences the > rule not change the value of attributes of LHS of rule, and > infinite loops > appears.... > The error only occurs when I download the PKG from Guvnor, if > I refer the > file DRL directly all woks fine > > Can anybody help me? > > I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my > webservice > are deployed in Tomcat > > Thanks in advance > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html > Sent from the Drools: User forum mailing list archive at > Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140809/07e0de70/attachment.html From zahid.ahmed at emirates.com Sat Aug 9 23:55:32 2014 From: zahid.ahmed at emirates.com (706826) Date: Sat, 9 Aug 2014 20:55:32 -0700 (PDT) Subject: [rules-users] Guvnor 5.3.3.Final version is not loading in IE. In-Reply-To: References: Message-ID: <1407642932585-4030623.post@n3.nabble.com> 5.x works and loads best in Mozilla Fire Fox. Guvnor is developed based on GWT so kindly upgrade your IE to the latest version or add GWT plugin in your current version. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Guvnor-5-3-3-Final-version-is-not-loading-in-IE-tp4030603p4030623.html Sent from the Drools: User forum mailing list archive at Nabble.com. From davidmoros at gmail.com Mon Aug 11 07:49:06 2014 From: davidmoros at gmail.com (David Moros Claramunt) Date: Mon, 11 Aug 2014 13:49:06 +0200 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: <53E65D35.1080807@gmail.com> References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> <53E65D35.1080807@gmail.com> Message-ID: Thanks for all, But.. abusing your kindness I have another proble with guvnor, when I execute a scenario test I receive the follow exception, that not occurs in unitary test with DRL file. Delimiting the problem I can observe, that exception not is produced by the rule "Calculos basados en servicio RIF por tipoServicio RIF" but by the next rule chained ("Numero de meses de duracion del servicio - RIF") that use the variable changed in consecuences the rule named "Calculos basados en servicio RIF por tipoServicio RIF" The attribute changed in consecuences of rule "Calculos basados en servicio RIF por tipoServicio RIF" is a primitive boolean Can you help me? All my problems are related with guvnor,but I need it as assets repository The rules are: rule "Calculos basados en servicio RIF por tipoServicio RIF" salience 0 activation-group "servicioRif" when $OT: FactOT (tipoServicio == "RIF") $response: FactResponse() then modify ($response) { setServicioRif (true); } end rule "Numero de meses de duracion del servicio - RIF" salience -1000+2 activation-group "Numero de meses de duracion del servicio" when $response : FactResponse ( servicioRif == true) then modify ($response) { setNumeroMesesServicio ( 12 ); } end The text of exception is the following: ERROR 11-08 13:28:38,294 (LoggingHelper.java:error:74) There was an error executing the consequence of rule [Calculos basados en servicio RIF por tipoServicio RIF]: Exception executing consequence for rule "Calculos basados en servicio RIF por tipoServicio RIF" in horaspersonas.BRA: java.lang.NullPointerException CAUSED BY null Exception executing consequence for rule "Calculos basados en servicio RIF por tipoServicio RIF" in horaspersonas.BRA: java.lang.NullPointerException at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1292) at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1216) at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1451) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:756) at org.drools.ide.common.server.testscenarios.TestScenarioWorkingMemoryWrapper.fireAllRules(TestScenarioWorkingMemoryWrapper.java:85) at org.drools.ide.common.server.testscenarios.TestScenarioWorkingMemoryWrapper.executeSubScenario(TestScenarioWorkingMemoryWrapper.java:109) at org.drools.ide.common.server.testscenarios.ScenarioRunner.applyFixtures(ScenarioRunner.java:154) at org.drools.ide.common.server.testscenarios.ScenarioRunner.run(ScenarioRunner.java:106) at org.drools.guvnor.server.TestScenarioServiceImplementation.runScenario(TestScenarioServiceImplementation.java:182) at org.drools.guvnor.server.TestScenarioServiceImplementation.runScenario(TestScenarioServiceImplementation.java:116) at org.drools.guvnor.server.TestScenarioServiceImplementation.runScenario(TestScenarioServiceImplementation.java:106) at org.drools.guvnor.server.TestScenarioServiceServlet.runScenario(TestScenarioServiceServlet.java:39) at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:643) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.drools.common.PropagationContextImpl.adaptModificationMaskForObjectType(PropagationContextImpl.java:410) at org.drools.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:381) at org.drools.reteoo.EntryPointNode.modifyObject(EntryPointNode.java:287) at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:505) at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:401) at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:370) at horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132.defaultConsequence(Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132.java:9) at horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132DefaultConsequenceInvokerGenerated.evaluate(Unknown Source) at horaspersonas.BRA.Rule_Calculos_basados_en_servicio_RIF_por_tipoServicio_RIF370386132DefaultConsequenceInvoker.evaluate(Unknown Source) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1282) ... 32 more 2014-08-09 19:41 GMT+02:00 Davide Sottara : > Regarding the @Pr issue: yes, afaik newer versions are fixed. If not, > they are more likely to be fixable. > Thanks > Davide > > > On 08/09/2014 12:34 PM, Michael Anstis wrote: > > Regarding the Guvnor question; we don't support the time element of dates > at the moment. > It should however be a simple change and I am happy to support you > submitting a pull request to fix in a later version. Unfortunately we > simply do not have the time to fix ourselves at present. > > Sent on the move > On 9 Aug 2014 16:20, "David Moros Claramunt" wrote: > >> Do you know if the issue is solved in some later version? >> >> Also, I have another problem with Guvnor, in scenarios test I can?t set >> a date with time in Date field, is possible set it?I have changed the >> format Date and DateTime in .properties but fail the conversion too >> >> thanks, >> >> >> 2014-08-08 15:26 GMT+02:00 Davide Sottara : >> >>> If I remember correctly this is a known issue. Unfortunately drools 5.6 >>> is final and can't be patched. Downloading the source drl rather than the >>> compiled pkg could be a workaround. >>> Please let me know if it works >>> >>> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >>> >>> >>> -------- Original Message -------- >>> From:davidmoros >>> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >>> To:rules-users at lists.jboss.org >>> Subject:[rules-users] Annotation @PropertyReactive not works >>> >>> I'm developing a system rules with drools, how any novice I found the >>> problem >>> of infinite loops, in unitary test I resolved with annotation >>> @PropertyReactive and all works fine, until I uploaded my model and >>> rules to >>> Guvnor. >>> Now I have developed a webservice that download the PKG from Guvnor, with >>> change-set and seems that the annotation @PropertyReactive not works >>> because >>> of the same rule is reevaluated constantly although the consecuences the >>> rule not change the value of attributes of LHS of rule, and infinite >>> loops >>> appears.... >>> The error only occurs when I download the PKG from Guvnor, if I refer the >>> file DRL directly all woks fine >>> >>> Can anybody help me? >>> >>> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >>> are deployed in Tomcat >>> >>> Thanks in advance >>> >>> >>> >>> -- >>> View this message in context: >>> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > _______________________________________________ > rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/a1c1b868/attachment-0001.html From davidmoros at gmail.com Mon Aug 11 08:53:47 2014 From: davidmoros at gmail.com (David Moros Claramunt) Date: Mon, 11 Aug 2014 14:53:47 +0200 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: thanks, it works I have put the sufix .drl at package URL and works But now, i have the same problem executing the scenarios test from Guvnor, do you know if issue is in 5.6.0.Final version and patched in later versions? Thnaks, 2014-08-08 15:26 GMT+02:00 Davide Sottara : > If I remember correctly this is a known issue. Unfortunately drools 5.6 is > final and can't be patched. Downloading the source drl rather than the > compiled pkg could be a workaround. > Please let me know if it works > > Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone > > > -------- Original Message -------- > From:davidmoros > Sent:Fri, 08 Aug 2014 05:03:29 -0500 > To:rules-users at lists.jboss.org > Subject:[rules-users] Annotation @PropertyReactive not works > > I'm developing a system rules with drools, how any novice I found the > problem > of infinite loops, in unitary test I resolved with annotation > @PropertyReactive and all works fine, until I uploaded my model and rules > to > Guvnor. > Now I have developed a webservice that download the PKG from Guvnor, with > change-set and seems that the annotation @PropertyReactive not works > because > of the same rule is reevaluated constantly although the consecuences the > rule not change the value of attributes of LHS of rule, and infinite loops > appears.... > The error only occurs when I download the PKG from Guvnor, if I refer the > file DRL directly all woks fine > > Can anybody help me? > > I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice > are deployed in Tomcat > > Thanks in advance > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/61bf4ed4/attachment.html From michael.anstis at gmail.com Mon Aug 11 08:56:29 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Mon, 11 Aug 2014 13:56:29 +0100 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: The problem does not appear to be within Guvnor as such; that just uses the underlying Drools engine. Can you provide a standalone unit test demonstrating the issue? On 11 August 2014 13:53, David Moros Claramunt wrote: > thanks, it works > > I have put the sufix .drl at package URL and works > > But now, i have the same problem executing the scenarios test from Guvnor, > do you know if issue is in 5.6.0.Final version and patched in later > versions? > > Thnaks, > > > 2014-08-08 15:26 GMT+02:00 Davide Sottara : > >> If I remember correctly this is a known issue. Unfortunately drools 5.6 >> is final and can't be patched. Downloading the source drl rather than the >> compiled pkg could be a workaround. >> >> Please let me know if it works >> >> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >> >> >> -------- Original Message -------- >> From:davidmoros >> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >> To:rules-users at lists.jboss.org >> Subject:[rules-users] Annotation @PropertyReactive not works >> >> I'm developing a system rules with drools, how any novice I found the >> problem >> of infinite loops, in unitary test I resolved with annotation >> @PropertyReactive and all works fine, until I uploaded my model and rules >> to >> Guvnor. >> Now I have developed a webservice that download the PKG from Guvnor, with >> change-set and seems that the annotation @PropertyReactive not works >> because >> of the same rule is reevaluated constantly although the consecuences the >> rule not change the value of attributes of LHS of rule, and infinite loops >> appears.... >> The error only occurs when I download the PKG from Guvnor, if I refer the >> file DRL directly all woks fine >> >> Can anybody help me? >> >> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >> are deployed in Tomcat >> >> Thanks in advance >> >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/8a8f49f4/attachment.html From davidmoros at gmail.com Mon Aug 11 09:02:15 2014 From: davidmoros at gmail.com (David Moros Claramunt) Date: Mon, 11 Aug 2014 15:02:15 +0200 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: you need exactly? model? rules? scenario? log? I use 5.6.0.Final version 2014-08-11 14:56 GMT+02:00 Michael Anstis : > The problem does not appear to be within Guvnor as such; that just uses > the underlying Drools engine. > > Can you provide a standalone unit test demonstrating the issue? > > > On 11 August 2014 13:53, David Moros Claramunt > wrote: > >> thanks, it works >> >> I have put the sufix .drl at package URL and works >> >> But now, i have the same problem executing the scenarios test from >> Guvnor, do you know if issue is in 5.6.0.Final version and patched in later >> versions? >> >> Thnaks, >> >> >> 2014-08-08 15:26 GMT+02:00 Davide Sottara : >> >>> If I remember correctly this is a known issue. Unfortunately drools 5.6 >>> is final and can't be patched. Downloading the source drl rather than the >>> compiled pkg could be a workaround. >>> >>> Please let me know if it works >>> >>> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >>> >>> >>> -------- Original Message -------- >>> From:davidmoros >>> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >>> To:rules-users at lists.jboss.org >>> Subject:[rules-users] Annotation @PropertyReactive not works >>> >>> I'm developing a system rules with drools, how any novice I found the >>> problem >>> of infinite loops, in unitary test I resolved with annotation >>> @PropertyReactive and all works fine, until I uploaded my model and >>> rules to >>> Guvnor. >>> Now I have developed a webservice that download the PKG from Guvnor, with >>> change-set and seems that the annotation @PropertyReactive not works >>> because >>> of the same rule is reevaluated constantly although the consecuences the >>> rule not change the value of attributes of LHS of rule, and infinite >>> loops >>> appears.... >>> The error only occurs when I download the PKG from Guvnor, if I refer the >>> file DRL directly all woks fine >>> >>> Can anybody help me? >>> >>> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >>> are deployed in Tomcat >>> >>> Thanks in advance >>> >>> >>> >>> -- >>> View this message in context: >>> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/ef588253/attachment.html From mproctor at codehaus.org Mon Aug 11 09:39:32 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Mon, 11 Aug 2014 14:39:32 +0100 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> Message-ID: <2F85EBD5-3744-4A03-A03C-0391FF4F9FF0@codehaus.org> You?ll need to submit a self contained minimal unit test, as a pull request. http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/PropertyReactivityTest.java On 11 Aug 2014, at 14:02, David Moros Claramunt wrote: > you need exactly? > model? rules? scenario? log? > > I use 5.6.0.Final version > > > 2014-08-11 14:56 GMT+02:00 Michael Anstis : > The problem does not appear to be within Guvnor as such; that just uses the underlying Drools engine. > > Can you provide a standalone unit test demonstrating the issue? > > > On 11 August 2014 13:53, David Moros Claramunt wrote: > thanks, it works > > I have put the sufix .drl at package URL and works > > But now, i have the same problem executing the scenarios test from Guvnor, do you know if issue is in 5.6.0.Final version and patched in later versions? > > Thnaks, > > > 2014-08-08 15:26 GMT+02:00 Davide Sottara : > If I remember correctly this is a known issue. Unfortunately drools 5.6 is final and can't be patched. Downloading the source drl rather than the compiled pkg could be a workaround. > > Please let me know if it works > > Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone > > > -------- Original Message -------- > From:davidmoros > Sent:Fri, 08 Aug 2014 05:03:29 -0500 > To:rules-users at lists.jboss.org > Subject:[rules-users] Annotation @PropertyReactive not works > > I'm developing a system rules with drools, how any novice I found the problem > of infinite loops, in unitary test I resolved with annotation > @PropertyReactive and all works fine, until I uploaded my model and rules to > Guvnor. > Now I have developed a webservice that download the PKG from Guvnor, with > change-set and seems that the annotation @PropertyReactive not works because > of the same rule is reevaluated constantly although the consecuences the > rule not change the value of attributes of LHS of rule, and infinite loops > appears.... > The error only occurs when I download the PKG from Guvnor, if I refer the > file DRL directly all woks fine > > Can anybody help me? > > I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice > are deployed in Tomcat > > Thanks in advance > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/54ef599f/attachment-0001.html From steve.cgtek at gmail.com Mon Aug 11 10:17:09 2014 From: steve.cgtek at gmail.com (sjrcgtek) Date: Mon, 11 Aug 2014 07:17:09 -0700 (PDT) Subject: [rules-users] Sequential and Decision Tables Message-ID: <1407766629719-4030631.post@n3.nabble.com> Apologies if this is already answered but I could not find it. Drools Version 6.1.0.Final I have three Excel DTs which I would like to fire in order. The Sequential option appears to just order the rules within an excel DT. I confirmed that by printing the resulting rules and see that the generated rules from different sheets have the same priority. I can manually set the PRIORITY in the actual sheets, but that makes inserting sheets or even lines in a sheet cumbersome. Is there a way to tell drools to fire all rules across all DT's sequentially? Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp4030631.html Sent from the Drools: User forum mailing list archive at Nabble.com. From michael.anstis at gmail.com Mon Aug 11 10:30:20 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Mon, 11 Aug 2014 15:30:20 +0100 Subject: [rules-users] Sequential and Decision Tables In-Reply-To: <1407766629719-4030631.post@n3.nabble.com> References: <1407766629719-4030631.post@n3.nabble.com> Message-ID: The sequential flag controls the rule's salience per XLS worksheet. Rule's RHS are executed according to their salience values and hence the sequential flag will control the rules RHS execution order. See http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/ch06.html#d0e3942 and http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/DroolsLanguageReferenceChapter.html#d0e6859 for more information. If you want to control the execution across multiple Decision Tables you'll need to define the rows salience manually, with the "highest priority" Decision Table having values higher than the lower priority tables. On 11 August 2014 15:17, sjrcgtek wrote: > Apologies if this is already answered but I could not find it. > > Drools Version 6.1.0.Final > > I have three Excel DTs which I would like to fire in order. The Sequential > option appears to just order the rules within an excel DT. I confirmed > that > by printing the resulting rules and see that the generated rules from > different sheets have the same priority. > > I can manually set the PRIORITY in the actual sheets, but that makes > inserting sheets or even lines in a sheet cumbersome. > > Is there a way to tell drools to fire all rules across all DT's > sequentially? > > Thanks. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp4030631.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/f10d6beb/attachment.html From mproctor at codehaus.org Mon Aug 11 12:18:37 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Mon, 11 Aug 2014 17:18:37 +0100 Subject: [rules-users] Sequential and Decision Tables In-Reply-To: References: <1407766629719-4030631.post@n3.nabble.com> Message-ID: <32529B51-0BBA-4C8C-B2DA-C9A59506ACD8@codehaus.org> in 6.x you do not necessarily have to set the salience any more. As LoadOrder is applied, and rules will be evaluated by the order of position within the file. Mark On 11 Aug 2014, at 15:30, Michael Anstis wrote: > The sequential flag controls the rule's salience per XLS worksheet. > > Rule's RHS are executed according to their salience values and hence the sequential flag will control the rules RHS execution order. > > See http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/ch06.html#d0e3942 and http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/DroolsLanguageReferenceChapter.html#d0e6859 for more information. > > If you want to control the execution across multiple Decision Tables you'll need to define the rows salience manually, with the "highest priority" Decision Table having values higher than the lower priority tables. > > > On 11 August 2014 15:17, sjrcgtek wrote: > Apologies if this is already answered but I could not find it. > > Drools Version 6.1.0.Final > > I have three Excel DTs which I would like to fire in order. The Sequential > option appears to just order the rules within an excel DT. I confirmed that > by printing the resulting rules and see that the generated rules from > different sheets have the same priority. > > I can manually set the PRIORITY in the actual sheets, but that makes > inserting sheets or even lines in a sheet cumbersome. > > Is there a way to tell drools to fire all rules across all DT's > sequentially? > > Thanks. > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp4030631.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140811/3c091461/attachment.html From mmadhavan at facs.org Mon Aug 11 14:26:51 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Mon, 11 Aug 2014 11:26:51 -0700 (PDT) Subject: [rules-users] Creating simple Ruleflow via API and Spring Message-ID: <1407781611768-4030634.post@n3.nabble.com> Hello, My application is mostly rule driven and we do not have any states. We we are processing about 30 million facts in a stateless session using bunch of rules (DRL). I have a simple ruleflow requirement. I am looking for an example where I can create the rule flow via an API even better using spring. I have three condition checks and three Ruleflow groups. Any help will be appreciated. Thanks in advance! Matt -- View this message in context: http://drools.46999.n3.nabble.com/Creating-simple-Ruleflow-via-API-and-Spring-tp4030634.html Sent from the Drools: User forum mailing list archive at Nabble.com. From jariwalaketan at ymail.com Tue Aug 12 06:13:33 2014 From: jariwalaketan at ymail.com (ketan.jariwala) Date: Tue, 12 Aug 2014 03:13:33 -0700 (PDT) Subject: [rules-users] Drools : Load Rules from workbench, update from application and deploy it again programmatically Message-ID: <1407838413040-4030635.post@n3.nabble.com> Hello everyone, I am having drools workbench running on tomcat server. And my java application is also getting all the rules deployed on drools workbench. Now i want to modify/create the rules from my application dynamically and want to deploy it again to workbench so that my application and workbench can synchronize all the time. *Note: * Currently, I am working with drools 6.0.1. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Load-Rules-from-workbench-update-from-application-and-deploy-it-again-programmatically-tp4030635.html Sent from the Drools: User forum mailing list archive at Nabble.com. From davidmoros at gmail.com Tue Aug 12 10:04:45 2014 From: davidmoros at gmail.com (David Moros Claramunt) Date: Tue, 12 Aug 2014 16:04:45 +0200 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: <2F85EBD5-3744-4A03-A03C-0391FF4F9FF0@codehaus.org> References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> <2F85EBD5-3744-4A03-A03C-0391FF4F9FF0@codehaus.org> Message-ID: I can't make the minimal self contained unit test, but my biggest problem is that the scenarios test in Guvnor fails if classes model are annotated with @PropertyReactive, If I remove this annotation It works fine I don't know that occurs, but I will solve it with any workaround Thanks a lot to all, David Moros 2014-08-11 15:39 GMT+02:00 Mark Proctor : > You?ll need to submit a self contained minimal unit test, as a pull > request. > > http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html > > > https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/PropertyReactivityTest.java > > > On 11 Aug 2014, at 14:02, David Moros Claramunt > wrote: > > you need exactly? > model? rules? scenario? log? > > I use 5.6.0.Final version > > > 2014-08-11 14:56 GMT+02:00 Michael Anstis : > >> The problem does not appear to be within Guvnor as such; that just uses >> the underlying Drools engine. >> >> Can you provide a standalone unit test demonstrating the issue? >> >> >> On 11 August 2014 13:53, David Moros Claramunt >> wrote: >> >>> thanks, it works >>> >>> I have put the sufix .drl at package URL and works >>> >>> But now, i have the same problem executing the scenarios test from >>> Guvnor, do you know if issue is in 5.6.0.Final version and patched in later >>> versions? >>> >>> Thnaks, >>> >>> >>> 2014-08-08 15:26 GMT+02:00 Davide Sottara : >>> >>>> If I remember correctly this is a known issue. Unfortunately drools 5.6 >>>> is final and can't be patched. Downloading the source drl rather than the >>>> compiled pkg could be a workaround. >>>> >>>> Please let me know if it works >>>> >>>> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >>>> >>>> >>>> -------- Original Message -------- >>>> From:davidmoros >>>> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >>>> To:rules-users at lists.jboss.org >>>> Subject:[rules-users] Annotation @PropertyReactive not works >>>> >>>> I'm developing a system rules with drools, how any novice I found the >>>> problem >>>> of infinite loops, in unitary test I resolved with annotation >>>> @PropertyReactive and all works fine, until I uploaded my model and >>>> rules to >>>> Guvnor. >>>> Now I have developed a webservice that download the PKG from Guvnor, >>>> with >>>> change-set and seems that the annotation @PropertyReactive not works >>>> because >>>> of the same rule is reevaluated constantly although the consecuences the >>>> rule not change the value of attributes of LHS of rule, and infinite >>>> loops >>>> appears.... >>>> The error only occurs when I download the PKG from Guvnor, if I refer >>>> the >>>> file DRL directly all woks fine >>>> >>>> Can anybody help me? >>>> >>>> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my >>>> webservice >>>> are deployed in Tomcat >>>> >>>> Thanks in advance >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >>>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>>> _______________________________________________ >>>> rules-users mailing list >>>> rules-users at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>> >>>> _______________________________________________ >>>> rules-users mailing list >>>> rules-users at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>> >>> >>> >>> _______________________________________________ >>> rules-users mailing list >>> rules-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140812/251491fc/attachment-0001.html From steve.cgtek at gmail.com Tue Aug 12 11:14:56 2014 From: steve.cgtek at gmail.com (sjrcgtek) Date: Tue, 12 Aug 2014 08:14:56 -0700 (PDT) Subject: [rules-users] Sequential and Decision Tables In-Reply-To: <32529B51-0BBA-4C8C-B2DA-C9A59506ACD8@codehaus.org> References: <1407766629719-4030631.post@n3.nabble.com> <32529B51-0BBA-4C8C-B2DA-C9A59506ACD8@codehaus.org> Message-ID: <1407856496161-4030637.post@n3.nabble.com> Thanks. It appears that LoadOrder is just within a worksheet, so in my case I would need salience defined explicitly in each sheet if I want to control order across sheets. I did not realize, however, that the salience values within a sheet could all be the same as then I will fall back to LoadOrder within that sheet. -- View this message in context: http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp4030631p4030637.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Tue Aug 12 11:26:40 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 12 Aug 2014 16:26:40 +0100 Subject: [rules-users] Sequential and Decision Tables In-Reply-To: <1407856496161-4030637.post@n3.nabble.com> References: <1407766629719-4030631.post@n3.nabble.com> <32529B51-0BBA-4C8C-B2DA-C9A59506ACD8@codehaus.org> <1407856496161-4030637.post@n3.nabble.com> Message-ID: sounds like you need to use ruleflow/agenda groups. To sequence when each worksheet is evaluated. Mark On 12 Aug 2014, at 16:14, sjrcgtek wrote: > Thanks. It appears that LoadOrder is just within a worksheet, so in my case > I would need salience defined explicitly in each sheet if I want to control > order across sheets. I did not realize, however, that the salience values > within a sheet could all be the same as then I will fall back to LoadOrder > within that sheet. > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp4030631p4030637.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From mproctor at codehaus.org Tue Aug 12 12:16:00 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 12 Aug 2014 17:16:00 +0100 Subject: [rules-users] Annotation @PropertyReactive not works In-Reply-To: References: <8c8h1itry47mf3scgavoxotw.1407504386729@email.android.com> <2F85EBD5-3744-4A03-A03C-0391FF4F9FF0@codehaus.org> Message-ID: <2C0302EA-C62B-433A-B445-664E609D7563@codehaus.org> On 12 Aug 2014, at 15:04, David Moros Claramunt wrote: > I can't make the minimal self contained unit test, but my biggest problem is that the scenarios test in Guvnor fails if classes model are annotated with @PropertyReactive, If I remove this annotation It works fine Please attest open a JIRA, with as much information as you can - so we can avoid losing information on potential bugs. > > I don't know that occurs, but I will solve it with any workaround > > Thanks a lot to all, > David Moros > > > > 2014-08-11 15:39 GMT+02:00 Mark Proctor : > You?ll need to submit a self contained minimal unit test, as a pull request. > http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html > > https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/PropertyReactivityTest.java > > > On 11 Aug 2014, at 14:02, David Moros Claramunt wrote: > >> you need exactly? >> model? rules? scenario? log? >> >> I use 5.6.0.Final version >> >> >> 2014-08-11 14:56 GMT+02:00 Michael Anstis : >> The problem does not appear to be within Guvnor as such; that just uses the underlying Drools engine. >> >> Can you provide a standalone unit test demonstrating the issue? >> >> >> On 11 August 2014 13:53, David Moros Claramunt wrote: >> thanks, it works >> >> I have put the sufix .drl at package URL and works >> >> But now, i have the same problem executing the scenarios test from Guvnor, do you know if issue is in 5.6.0.Final version and patched in later versions? >> >> Thnaks, >> >> >> 2014-08-08 15:26 GMT+02:00 Davide Sottara : >> If I remember correctly this is a known issue. Unfortunately drools 5.6 is final and can't be patched. Downloading the source drl rather than the compiled pkg could be a workaround. >> >> Please let me know if it works >> >> Sent via the ASUS PadFone X, an AT&T 4G LTE smartphone >> >> >> -------- Original Message -------- >> From:davidmoros >> Sent:Fri, 08 Aug 2014 05:03:29 -0500 >> To:rules-users at lists.jboss.org >> Subject:[rules-users] Annotation @PropertyReactive not works >> >> I'm developing a system rules with drools, how any novice I found the problem >> of infinite loops, in unitary test I resolved with annotation >> @PropertyReactive and all works fine, until I uploaded my model and rules to >> Guvnor. >> Now I have developed a webservice that download the PKG from Guvnor, with >> change-set and seems that the annotation @PropertyReactive not works because >> of the same rule is reevaluated constantly although the consecuences the >> rule not change the value of attributes of LHS of rule, and infinite loops >> appears.... >> The error only occurs when I download the PKG from Guvnor, if I refer the >> file DRL directly all woks fine >> >> Can anybody help me? >> >> I use 5.6.0.Final Version for Drools and Guvnor, Guvnor and my webservice >> are deployed in Tomcat >> >> Thanks in advance >> >> >> >> -- >> View this message in context: http://drools.46999.n3.nabble.com/Annotation-PropertyReactive-not-works-tp4030602.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140812/660fdb4d/attachment.html From mmadhavan at facs.org Tue Aug 12 13:35:31 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 12 Aug 2014 10:35:31 -0700 (PDT) Subject: [rules-users] Drools bpmn gateway constraints questions Message-ID: <1407864931816-4030640.post@n3.nabble.com> Hello, I am trying create a few constraints (XOR). I have a .DRL file with 3 agenda-group. I am also using a custom evaluator and few global static functions. Mine is a Stateless Session with bunch of records (Caner records) 1. How do I refer to the current fact? - Can I do something like this? *$cancerRecord : CancerRecord ()* 2. How do I invoke external functions? Can I do something like *inlist* ($cancerRecord.PRIMARY_SITE, "C500, C501, C502, C503, C504, C505, C506, C508, C509") *containsAny* (kcontext, $cancerRecord, "505101,505102,505103,505104,505105,505106,505107,505108") *not inlist *($cancerRecord.PRIMARY_SITE, "C500, C501, C502, C503, C504, C505, C506, C508, C509") *not containsAny *(kcontext, $cancerRecord, "505101,505102,505103,505104,505105,505106,505107,505108") *Please note that inlist and containsAny are valid functions that work. But I am not able to import tham within the constrains.* I not able to locate any documentation in this. Can some one point me to the right documentation. I have been stuck on this for couple of days. Any help is appreciated. Thanks in advance! Matt'm -- View this message in context: http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Tue Aug 12 15:38:51 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Tue, 12 Aug 2014 12:38:51 -0700 (PDT) Subject: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer Message-ID: <1407872331569-4030641.post@n3.nabble.com> Hello, While unit testing some of my DRL files I notice that, *AbstractKieModule * does not look at main classpath. It only checks for the target\test-classes and not target\classes folder at all! I see the following warning on the coonsole! *2014-08-12 14:15:25,426 [AbstractKieModule] [main] WARN No files found for KieBase BREAST_MASTRT_KBase, searching folder \working\MeasureMesh\org.facs.ncdb.measuresmesh\target\test-classes * /My configuration is:/ My .drl files arr in the package "org.xxxx.xxxxx.rules.breast.MASTRT of the traget/classes folder, but its not loaded! Any ideas please? Thanks Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Tue Aug 12 19:02:51 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Wed, 13 Aug 2014 00:02:51 +0100 Subject: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer In-Reply-To: <1407872331569-4030641.post@n3.nabble.com> References: <1407872331569-4030641.post@n3.nabble.com> Message-ID: The logic for what?s going on can be found here: https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/ClasspathKieProject.java Typically the code is looking for the kmodule.xml in a META-INF. When it finds it, it goes the root of that. There isn?t any logic to handle dual roots. I?m assuming you put the kmodule.xml in the test/resources/META-INF folder? What we might be able to do is see if there parent is ?target? and if there is a child classes and test-classes and treat it as a special case. Mark On 12 Aug 2014, at 20:38, mattmadhavan wrote: > Hello, > While unit testing some of my DRL files I notice that, *AbstractKieModule * > does not look at main classpath. It only checks for the target\test-classes > and not target\classes folder at all! > > I see the following warning on the coonsole! > > *2014-08-12 14:15:25,426 [AbstractKieModule] [main] WARN No files found for > KieBase BREAST_MASTRT_KBase, searching folder > \working\MeasureMesh\org.facs.ncdb.measuresmesh\target\test-classes > * > > /My configuration is:/ > > > > My .drl files arr in the package "org.xxxx.xxxxx.rules.breast.MASTRT of the > traget/classes folder, but its not loaded! > > Any ideas please? > > Thanks > Matt'M > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From reddy.lakshmi at gmail.com Wed Aug 13 02:18:49 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Wed, 13 Aug 2014 11:48:49 +0530 Subject: [rules-users] javax.jcr.ReferentialIntegrityException Error while Savign the Rule in Guvnor 5.1.1 Message-ID: Hi All, I am getting the following error while saving the Rule in Guvnor 5.1.1. Could you please provide suggestions/inputs to resolve the below issue ? I am using Oracle DB. ERROR 11-08 12:31:22,129 (VersionableItem.java:checkout:637) Error occured while checking out the asset javax.jcr.ReferentialIntegrityException: Target node 298106d4-8786-46ba-b3a3-e9f42d93ac81 of REFERENCE property does not exist at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.checkReferentialIntegrity(SharedItemStateManager.java:1056) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:574) at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1110) at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1140) at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351) at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354) at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326) at org.apache.jackrabbit.core.version.VersionManagerImplBase$WriteOperation.save(VersionManagerImplBase.java:463) at org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerImplBase.java:209) Regards, Lakshmi reddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140813/bcfafbaa/attachment-0001.html From mmadhavan at facs.org Wed Aug 13 11:33:15 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Wed, 13 Aug 2014 08:33:15 -0700 (PDT) Subject: [rules-users] Anyone? Re: Drools bpmn gateway constraints questions In-Reply-To: <1407864931816-4030640.post@n3.nabble.com> References: <1407864931816-4030640.post@n3.nabble.com> Message-ID: <1407943995122-4030646.post@n3.nabble.com> Anyone out there please? Thanks Matt -- View this message in context: http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030646.html Sent from the Drools: User forum mailing list archive at Nabble.com. From salaboy at gmail.com Wed Aug 13 11:43:42 2014 From: salaboy at gmail.com (Mauricio Salatino) Date: Wed, 13 Aug 2014 16:43:42 +0100 Subject: [rules-users] Anyone? Re: Drools bpmn gateway constraints questions In-Reply-To: <1407943995122-4030646.post@n3.nabble.com> References: <1407864931816-4030640.post@n3.nabble.com> <1407943995122-4030646.post@n3.nabble.com> Message-ID: Hi Matt so: "1. How do I refer to the current fact? - Can I do something like this? *$cancerRecord : CancerRecord ()"* *The current record where??? If you have multiple CancerRecord(s) each of them will match with that conditional element. If you have a business process with a process variable you should point to that variable instead of using the rules language to filter it. If the CancerRecord is a fact that's the right way to go. * "2. How do I invoke external functions? Can I do something like *inlist* ($cancerRecord.PRIMARY_SITE, "C500, C501, C502, C503, C504, C505, C506, C508, C509") *containsAny* (kcontext, $cancerRecord, "505101,505102,505103,505104,505105,505106,505107,505108") " Did you try this: eval(inlist(.....)) in the RHS? "I not able to locate any documentation in this. Can some one point me to the right documentation. I have been stuck on this for couple of days. " All of this is explained in the drools.org documentation site, I'm pretty sure that the eval is there. On Wed, Aug 13, 2014 at 4:33 PM, mattmadhavan wrote: > Anyone out there please? > > Thanks > Matt > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030646.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- - MyJourney @ http://salaboy.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino "Salaboy" Mauricio - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140813/28566f80/attachment.html From mmadhavan at facs.org Wed Aug 13 11:44:47 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Wed, 13 Aug 2014 08:44:47 -0700 (PDT) Subject: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer In-Reply-To: References: <1407872331569-4030641.post@n3.nabble.com> Message-ID: <1407944687013-4030647.post@n3.nabble.com> Hi Mark, Sorry I forgot to mention. I am using kie-spring to load everything. I am using spring beanrefCOntext for testing. I did move the module(Spring) to the META-INF folder. The result is the same. Any ideas please? Thanks Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030647.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Wed Aug 13 12:57:14 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Wed, 13 Aug 2014 09:57:14 -0700 (PDT) Subject: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer In-Reply-To: <1407944687013-4030647.post@n3.nabble.com> References: <1407872331569-4030641.post@n3.nabble.com> <1407944687013-4030647.post@n3.nabble.com> Message-ID: <1407949034643-4030649.post@n3.nabble.com> Hi Mark, This definitely seems to be a problem. I placed my spring k-module file called *kmodule-spring-breast.xml * under src/mail/resouces/META-INF folder, I am still getting the error. But I am referencing the kmodule-spring-breast.xml from a Spring Test file. Its looking for the .DRL file in the test-classes -ONLY-. Its becoming a real pain. Any suggestions please? Thanks in advance! Matt -- View this message in context: http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030649.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Wed Aug 13 13:08:56 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Wed, 13 Aug 2014 18:08:56 +0100 Subject: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer In-Reply-To: <1407949034643-4030649.post@n3.nabble.com> References: <1407872331569-4030641.post@n3.nabble.com> <1407944687013-4030647.post@n3.nabble.com> <1407949034643-4030649.post@n3.nabble.com> Message-ID: <90F2F035-2392-487F-B830-419A2BA9AD0F@codehaus.org> As i mentioned it?s probably a bug, our path searching does not take into account there might be two path roots. You?ll need to submit a self contained unit test. http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html One work around is to put all your DRLs into one jar, and use that as a dependency. Then the paths are merged. Mark On 13 Aug 2014, at 17:57, mattmadhavan wrote: > Hi Mark, > This definitely seems to be a problem. I placed my spring k-module file > called *kmodule-spring-breast.xml * under src/mail/resouces/META-INF folder, > I am still getting the error. > > But I am referencing the kmodule-spring-breast.xml from a Spring Test file. > > Its looking for the .DRL file in the test-classes -ONLY-. Its becoming a > real pain. > > Any suggestions please? > > Thanks in advance! > > Matt > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030649.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From jariwalaketan at ymail.com Thu Aug 14 00:25:31 2014 From: jariwalaketan at ymail.com (ketan.jariwala) Date: Wed, 13 Aug 2014 21:25:31 -0700 (PDT) Subject: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH In-Reply-To: <1401005261482-4029672.post@n3.nabble.com> References: <1390365162098-4027800.post@n3.nabble.com> <8C9EBA44-42A6-4916-BF3E-0564CBB2648E@redhat.com> <4667D6A1-9AA3-4AE2-8963-E0BDB5B3F065@gmail.com> <1401005261482-4029672.post@n3.nabble.com> Message-ID: <1407990331064-4030651.post@n3.nabble.com> Still , i am facing same issue. how to clone and push drools workbench data. I have tried the above solution. but still it is not working. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-1-Pushing-changes-back-to-Workbench-GIT-using-SSH-tp4027800p4030651.html Sent from the Drools: User forum mailing list archive at Nabble.com. From jariwalaketan at ymail.com Thu Aug 14 06:24:39 2014 From: jariwalaketan at ymail.com (ketan.jariwala) Date: Thu, 14 Aug 2014 03:24:39 -0700 (PDT) Subject: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH Message-ID: <1408011879616-4030653.post@n3.nabble.com> how to clone and push drools workbench data using git ssh. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-1-Pushing-changes-back-to-Workbench-GIT-using-SSH-tp4030653.html Sent from the Drools: User forum mailing list archive at Nabble.com. From michael.anstis at gmail.com Thu Aug 14 07:49:27 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Thu, 14 Aug 2014 12:49:27 +0100 Subject: [rules-users] Drools : Load Rules from workbench, update from application and deploy it again programmatically In-Reply-To: <1407838413040-4030635.post@n3.nabble.com> References: <1407838413040-4030635.post@n3.nabble.com> Message-ID: You should read up on KieScanner. This can be configured to poll the Maven repository behind the workbench; so that whenever you "Build & Deploy" the project KieScanner will download the latest KJAR. See http://blog.athico.com/2013/12/deployment-with-drools-60.html to begin with. On 12 August 2014 11:13, ketan.jariwala wrote: > Hello everyone, > I am having drools workbench running on tomcat server. And my java > application is also getting all the rules deployed on drools workbench. > Now i want to modify/create the rules from my application dynamically > and > want to deploy it again to workbench so that my application and workbench > can synchronize all the time. > > *Note: * Currently, I am working with drools 6.0.1. > > > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-Load-Rules-from-workbench-update-from-application-and-deploy-it-again-programmatically-tp4030635.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140814/5308a22a/attachment.html From porcelli at redhat.com Thu Aug 14 08:59:38 2014 From: porcelli at redhat.com (Alexandre Porcelli) Date: Thu, 14 Aug 2014 09:59:38 -0300 Subject: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH In-Reply-To: <1408011879616-4030653.post@n3.nabble.com> References: <1408011879616-4030653.post@n3.nabble.com> Message-ID: <24E79C92-D109-48D5-84DE-3CCB25A4EE72@redhat.com> Can you try with recent 6.1.0.Final release? And please can you give me detailed information about your deployment setup? Regards, --- Alexandre Porcelli Principal Software Engineer Red Hat Business Systems and Intelligence Group On Aug 14, 2014, at 7:24 AM, ketan.jariwala wrote: > how to clone and push drools workbench data using git ssh. > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-1-Pushing-changes-back-to-Workbench-GIT-using-SSH-tp4030653.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From dzeigler at gmail.com Fri Aug 15 12:56:06 2014 From: dzeigler at gmail.com (dzeigler at gmail.com) Date: Fri, 15 Aug 2014 09:56:06 -0700 (PDT) Subject: [rules-users] NPE in LeftTupleSetsImpl.removeUpdate In-Reply-To: <8B8BB6B0-2F43-4809-ADB0-53BC178D4035@codehaus.org> References: <53D9A089.2000008@gmail.com> <8B8BB6B0-2F43-4809-ADB0-53BC178D4035@codehaus.org> Message-ID: <1408121766235-4030658.post@n3.nabble.com> I just ran into the same NPE again in 6.1.0.Final. I'm still doubtful I can reproduce the issue consistently as I've been running 6.1.0 for a couple weeks now without incident, but I'll follow back up if I figure something out. Please let me know if I can provide any additional info. Thanks, David java.lang.NullPointerException at org.drools.core.common.LeftTupleSetsImpl.removeUpdate(LeftTupleSetsImpl.java:177) at org.drools.core.common.LeftTupleSetsImpl.addDelete(LeftTupleSetsImpl.java:89) at org.drools.core.common.SynchronizedLeftTupleSets.addDelete(SynchronizedLeftTupleSets.java:20) at org.drools.core.reteoo.LeftInputAdapterNode.doDeleteSegmentMemory(LeftInputAdapterNode.java:336) at org.drools.core.reteoo.LeftInputAdapterNode.doDeleteObject(LeftInputAdapterNode.java:298) at org.drools.core.reteoo.LeftInputAdapterNode.retractLeftTuple(LeftInputAdapterNode.java:413) at org.drools.core.reteoo.ObjectTypeNode.doRetractObject(ObjectTypeNode.java:354) at org.drools.core.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:337) at org.drools.core.reteoo.EntryPointNode.retractObject(EntryPointNode.java:379) -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NPE-in-LeftTupleSetsImpl-removeUpdate-tp4030544p4030658.html Sent from the Drools: User forum mailing list archive at Nabble.com. From ufos at comcast.net Fri Aug 15 23:11:33 2014 From: ufos at comcast.net (Jan Rose) Date: Fri, 15 Aug 2014 23:11:33 -0400 Subject: [rules-users] DROOLS 5.6.0 Final Decision Table PermGen space OutOfMemoryError Message-ID: <024401cfb8ff$c91aecf0$5b50c6d0$@comcast.net> Would like some advice regarding using Decision Tables in DROOLS 5.6.0 Final. We have decision tables with over 12,000 rows. It is a basic 'look-up' table with 3 conditions and 2 actions. The conditions are, for example: Company = X Dept = X Class = X then value = X and log X. When I reduced the number of rows to approx. 500 . .. it works. I have set the max memory in the JVM to 2 gigs. We have tried compiling the decision tables using the spreadsheet compiler as well as the decision table compiler. Below is the error when using the decision table compiler. However, we get the same PermGen space error with the spreadsheet compiler. Obviously, we need to be able to have more than 500 rows in our decision table(s). Any advice would be appreciated. Aug 14, 2014 6:33:09 PM com.macys.test.rules.engine.AttribDecisionTbl main INFO: found file:c:\attribute-data.xls Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRules INFO: Loading file: log-rules.drl Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRuleFile INFO: found rule file:log-rules.drl Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadRules INFO: Loading file: AttributeRules-MDSLife-V1.xls Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadExcelRules INFO: found file:AttributeRules-MDSLife-V1.xls Exception in thread "main" java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(Java DialectRuntimeData.java:624) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader .java:254) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader .java:237) at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:434) at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:429) at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeDat a.java:257) at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistr y.java:139) at org.drools.compiler.PackageBuilder.reloadAll(PackageBuilder.java:1202) at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:951) at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:938) at org.drools.compiler.PackageBuilder.addPackageFromDecisionTable(PackageBuilde r.java:451) at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java: 715) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:5 1) at com.macys.test.test_drools.RuleRunner.loadExcelRules(RuleRunner.java:161) at com.macys.test.test_drools.RuleRunner.loadRules(RuleRunner.java:53) at com.macys.test.test_drools.RuleRunner.runStatelessRules(RuleRunner.java:217) at com.macys.test.rules.engine.AttribDecisionTbl.main(AttribDecisionTbl.java:99 ) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140815/0e7b5888/attachment.html From mproctor at codehaus.org Sat Aug 16 11:58:29 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Sat, 16 Aug 2014 16:58:29 +0100 Subject: [rules-users] DROOLS 5.6.0 Final Decision Table PermGen space OutOfMemoryError In-Reply-To: <024401cfb8ff$c91aecf0$5b50c6d0$@comcast.net> References: <024401cfb8ff$c91aecf0$5b50c6d0$@comcast.net> Message-ID: try increasing your perm gen space. Mark On 16 Aug 2014, at 04:11, Jan Rose wrote: > Would like some advice regarding using Decision Tables in DROOLS 5.6.0 Final. We have decision tables with over 12,000 rows. It is a basic ?look-up? table with 3 conditions and 2 actions. The conditions are, for example: Company = X Dept = X Class = X then value = X and log X. When I reduced the number of rows to approx. 500 . .. it works. > I have set the max memory in the JVM to 2 gigs. We have tried compiling the decision tables using the spreadsheet compiler as well as the decision table compiler. > Below is the error when using the decision table compiler. However, we get the same PermGen space error with the spreadsheet compiler. > > Obviously, we need to be able to have more than 500 rows in our decision table(s). Any advice would be appreciated. > > Aug 14, 2014 6:33:09 PM com.macys.test.rules.engine.AttribDecisionTbl main > INFO: found file:c:\attribute-data.xls > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRules > INFO: Loading file: log-rules.drl > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRuleFile > INFO: found rule file:log-rules.drl > Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadRules > INFO: Loading file: AttributeRules-MDSLife-V1.xls > Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadExcelRules > INFO: found file:AttributeRules-MDSLife-V1.xls > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:624) > at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) > at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) > at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:434) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:429) > at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeData.java:257) > at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:139) > at org.drools.compiler.PackageBuilder.reloadAll(PackageBuilder.java:1202) > at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:951) > at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:938) > at org.drools.compiler.PackageBuilder.addPackageFromDecisionTable(PackageBuilder.java:451) > at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:715) > at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51) > at com.macys.test.test_drools.RuleRunner.loadExcelRules(RuleRunner.java:161) > at com.macys.test.test_drools.RuleRunner.loadRules(RuleRunner.java:53) > at com.macys.test.test_drools.RuleRunner.runStatelessRules(RuleRunner.java:217) > at com.macys.test.rules.engine.AttribDecisionTbl.main(AttribDecisionTbl.java:99) > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140816/e86011b7/attachment-0001.html From mmadhavan at facs.org Sat Aug 16 13:56:12 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Sat, 16 Aug 2014 10:56:12 -0700 (PDT) Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions Message-ID: <1408211772564-4030663.post@n3.nabble.com> Hello, I have the following kie-spring xml definition to test my custom evaluater. I am not able to inject neither the *IN_LIST_KBase *nor the /IN_LIST_KSession/ in my test class as follows: But i am able to look it up via the applicationContext as follows: I am bit confused! Any ideas please? Thanks in advance! Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Sat Aug 16 14:04:51 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Sat, 16 Aug 2014 11:04:51 -0700 (PDT) Subject: [rules-users] Kie-Spring Issue, not able to created Session as "prototype" Message-ID: <1408212291467-4030664.post@n3.nabble.com> Hello, I have the following kie-spring xml definition to test my custom evaluater. Please note the * type="stateless" scope="prototype"* in the xml configuration. Everytime this session is looked up, I want a new instance of the StatelessKieSession. I am getting the same instance for both the look ups! Looks like the session bean is created as a Singleton even though I specified prototype scope. I really need to create prototype version of my StetelessKieSession on demand ( I am using Camel routes) as I increase the number of JMS clients to process the load. This is a critical feature I really require. Any ideas please? Seems to that kie-spring is not really mature enough! Thanks in advance! Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Issue-not-able-to-created-Session-as-prototype-tp4030664.html Sent from the Drools: User forum mailing list archive at Nabble.com. From ufos at comcast.net Sat Aug 16 20:42:20 2014 From: ufos at comcast.net (Jan Rose) Date: Sat, 16 Aug 2014 20:42:20 -0400 Subject: [rules-users] DROOLS 5.6.0 Final Decision Table PermGen space OutOfMemoryError Message-ID: Mark, thanks for responding. Do you have a recommendation as to how much I should increase the perm gen space? Also, is there anything else I can do to run my decision tables more efficiently? Jan try increasing your perm gen space. Mark On 16 Aug 2014, at 04:11, Jan Rose wrote: > Would like some advice regarding using Decision Tables in DROOLS 5.6.0 Final. We have decision tables with over 12,000 rows. It is a basic ?look-up? table with 3 conditions and 2 actions. The conditions are, for example: Company = X Dept = X Class = X then value = X and log X. When I reduced the number of rows to approx. 500 . .. it works. > I have set the max memory in the JVM to 2 gigs. We have tried compiling the decision tables using the spreadsheet compiler as well as the decision table compiler. > Below is the error when using the decision table compiler. However, we get the same PermGen space error with the spreadsheet compiler. > > Obviously, we need to be able to have more than 500 rows in our decision table(s). Any advice would be appreciated. > > Aug 14, 2014 6:33:09 PM com.macys.test.rules.engine.AttribDecisionTbl main > INFO: found file:c:\attribute-data.xls > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRules > INFO: Loading file: log-rules.drl > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRuleFile > INFO: found rule file:log-rules.drl > Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadRules > INFO: Loading file: AttributeRules-MDSLife-V1.xls > Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadExcelRules > INFO: found file:AttributeRules-MDSLife-V1.xls > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:624) > at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) > at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) > at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:434) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:429) > at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeData.java:257) > at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:139) > at org.drools.compiler.PackageBuilder.reloadAll(PackageBuilder.java:1202) > at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:951) > at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:938) > at org.drools.compiler.PackageBuilder.addPackageFromDecisionTable(PackageBuilder.java:451) > at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:715) > at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51) > at com.macys.test.test_drools.RuleRunner.loadExcelRules(RuleRunner.java:161) > at com.macys.test.test_drools.RuleRunner.loadRules(RuleRunner.java:53) > at com.macys.test.test_drools.RuleRunner.runStatelessRules(RuleRunner.java:217) > at com.macys.test.rules.engine.AttribDecisionTbl.main(AttribDecisionTbl.java:99) > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140816/e86011b7/attachment-0001.html Sent from my iPad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140816/5a4c4ff9/attachment.html From vinodkiran at usa.net Sun Aug 17 03:42:13 2014 From: vinodkiran at usa.net (Vinod Kiran) Date: Sun, 17 Aug 2014 00:42:13 -0700 (PDT) Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions In-Reply-To: <1408211772564-4030663.post@n3.nabble.com> References: <1408211772564-4030663.post@n3.nabble.com> Message-ID: <1408261333041-4030666.post@n3.nabble.com> If you are using *6.1 final*, you could try changing the kiePostProcessor to and the annotations to -- View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663p4030666.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Sun Aug 17 11:29:00 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Sun, 17 Aug 2014 16:29:00 +0100 Subject: [rules-users] DROOLS 5.6.0 Final Decision Table PermGen space OutOfMemoryError In-Reply-To: References: Message-ID: <6DA1182F-5606-4157-8081-24300222E805@codehaus.org> On 17 Aug 2014, at 01:42, Jan Rose wrote: > Mark, thanks for responding. Do you have a recommendation as to how much I should > increase the perm gen space? The more rules, the more permgen space. So there is no recommendation, other than ?enough?. > Also, is there anything else I can do to run my decision tables more efficiently? You can try using the MVEL dialect for your decision table - this uses reflection based executions, instead of code and uses less perm gen, in return for using more heap. http://lists.jboss.org/pipermail/rules-users/2011-November/022912.html Mark > > Jan > > > try increasing your perm gen space. > Mark On 16 Aug 2014, at 04:11, Jan Rose wrote: > > Would like some advice regarding using Decision Tables in DROOLS 5.6.0 Final. > We have decision tables with over 12,000 rows. > It is a basic ?look-up? table with 3 conditions and 2 actions. > The conditions are, for example: Company = X Dept = X Class = X then value = X and log X. > When I reduced the number of rows to approx. 500 . .. it works. > I have set the max memory in the JVM to 2 gigs. > We have tried compiling the decision tables using the spreadsheet compiler as well as the decision table compiler. > > Below is the error when using the decision table compiler. > However, we get the same PermGen space error with the spreadsheet compiler. > > > Obviously, we need to be able to have more than 500 rows in our decision table(s). Any advice would be appreciated. > > > Aug 14, 2014 6:33:09 PM com.macys.test.rules.engine.AttribDecisionTbl main > INFO: found file:c:\attribute-data.xls > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRules >INFO: Loading file: log-rules.drl > Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRuleFile > INFO: found rule file:log-rules.drl > Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadRules > INFO: Loading file: AttributeRules-MDSLife-V1.xls >Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadExcelRules > INFO: found file:AttributeRules-MDSLife-V1.xls > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:624) > at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) >at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) > at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:434) > at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:429) > at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeData.java:257) > at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:139) > at org.drools.compiler.PackageBuilder.reloadAll(PackageBuilder.java:1202) > at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:951) > at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:938) > at org.drools.compiler.PackageBuilder.addPackageFromDecisionTable(PackageBuilder.java:451) > at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:715) > at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51) > at com.macys.test.test_drools.RuleRunner.loadExcelRules(RuleRunner.java:161) > at com.macys.test.test_drools.RuleRunner.loadRules(RuleRunner.java:53) > at com.macys.test.test_drools.RuleRunner.runStatelessRules(RuleRunner.java:217) > at com.macys.test.rules.engine.AttribDecisionTbl.main(AttribDecisionTbl.java:99) > > >_______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140816/e86011b7/attachment-0001.html > > > Sent from my iPad > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140817/e833fbbb/attachment-0001.html From jfortier at adacel.com Mon Aug 18 07:36:00 2014 From: jfortier at adacel.com (Jean-Christophe Fortier) Date: Mon, 18 Aug 2014 11:36:00 +0000 Subject: [rules-users] drools verifier problem Message-ID: <5a3c65678cca4daa87790a174f72ec87@BN1PR04MB204.namprd04.prod.outlook.com> Hi, I'm trying to use the verifier with my rules on drools 5.6 and I got an exception : org.drools.verifier.visitor.UnknownDescriptionException: Descr ( class org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier. I checked in the source code and this type of descriptor is indeed not handled yet. Do you know if it's fixed in 6.1? There is also this JIRA that could be useful https://issues.jboss.org/browse/JBRULES-3641 Please let me know of any development. Thx Jean-Christophe Fortier Concepteur de logiciel Software Developer first make it work, then make it better [cid:image001.png at 01CD3FEF.190AE350] 895 rue De La Gaucheti?re Ouest, Suite 300, C.P. 48, Montr?al (Quebec), H3B 4G1 Tel: 514-636-6365 x.5387 Fax: 514-636-23626 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140818/abef728e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3146 bytes Desc: image001.png Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140818/abef728e/attachment.png From reddy.lakshmi at gmail.com Mon Aug 18 08:16:36 2014 From: reddy.lakshmi at gmail.com (LaKhI ReDdY!!!!!!!!!!!) Date: Mon, 18 Aug 2014 17:46:36 +0530 Subject: [rules-users] javax.jcr.ReferentialIntegrityException Error while Saving the Rule in Guvnor 5.1.1 Message-ID: Hi , I am getting the following error while saving the Rule in Guvnor 5.1.1. Could you please provide suggestions/inputs to resolve the below issue ? I am using Oracle DB. ERROR 18-08 12:31:22,129 (VersionableItem.java:checkout:637) Error occured while checking out the asset javax.jcr.ReferentialIntegrityException: Target node 298106d4-8786-46ba-b3a3-e9f42d93ac81 of REFERENCE property does not exist at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.checkReferentialIntegrity(SharedItemStateManager.java:1056) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:574) at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1110) at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1140) at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351) at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354) at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326) at org.apache.jackrabbit.core.version.VersionManagerImplBase$WriteOperation.save(VersionManagerImplBase.java:463) at org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerImplBase.java:209) Regards, Reddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140818/b415d370/attachment.html From mmadhavan at facs.org Mon Aug 18 10:32:37 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Mon, 18 Aug 2014 07:32:37 -0700 (PDT) Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions In-Reply-To: <1408261333041-4030666.post@n3.nabble.com> References: <1408211772564-4030663.post@n3.nabble.com> <1408261333041-4030666.post@n3.nabble.com> Message-ID: <1408372357013-4030673.post@n3.nabble.com> Hi Vinod, Thanks for your answer. I am using Drools 6.1.0.Final and I changed the postprocessor to the on you suggested. Its still not working. Any ideas? Thanks Matt -- View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663p4030673.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mmadhavan at facs.org Mon Aug 18 10:41:15 2014 From: mmadhavan at facs.org (mattmadhavan) Date: Mon, 18 Aug 2014 07:41:15 -0700 (PDT) Subject: [rules-users] Anyone? Re: Drools bpmn gateway constraints questions In-Reply-To: References: <1407864931816-4030640.post@n3.nabble.com> <1407943995122-4030646.post@n3.nabble.com> Message-ID: <1408372875275-4030674.post@n3.nabble.com> Hi Salaboy, Thank you very much for your reply. I am still not clear on this? "* The current record where??? If you have multiple CancerRecord(s) each of them will match with that conditional element. If you have a business process with a process variable you should point to that variable instead of using the rules language to filter it. If the CancerRecord is a fact that's the right way to go.* " I have a stateless session and I process 500 CancerRecords at a time via batch execute. Please note that I do not change the State of the CancerRecord. I use evey record to compute Cancer treatment " measures" So you feel $cancerRecord : CancerRecord () will work? And what do you mean by a Business Process with a processor variable? Can you point me to the right direction? Thanks in advance! Matt'M -- View this message in context: http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030674.html Sent from the Drools: User forum mailing list archive at Nabble.com. From vinodkiran at usa.net Tue Aug 19 00:00:58 2014 From: vinodkiran at usa.net (Vinod Kiran) Date: Mon, 18 Aug 2014 21:00:58 -0700 (PDT) Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions In-Reply-To: <1408372357013-4030673.post@n3.nabble.com> References: <1408211772564-4030663.post@n3.nabble.com> <1408261333041-4030666.post@n3.nabble.com> <1408372357013-4030673.post@n3.nabble.com> Message-ID: <1408420858136-4030676.post@n3.nabble.com> Matt, Take a look at the following and check if these tests work fine in your local Additionally, Do you see any specific errors? -Vinod -- View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663p4030676.html Sent from the Drools: User forum mailing list archive at Nabble.com. From zahid.ahmed at emirates.com Tue Aug 19 06:52:25 2014 From: zahid.ahmed at emirates.com (706826) Date: Tue, 19 Aug 2014 03:52:25 -0700 (PDT) Subject: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles Message-ID: <1408445545096-4030679.post@n3.nabble.com> I want to put access control on the BRMS repository/project access, so that developer-A can only work on repository-A. We have a central BRMS which has one repository per project. We have 20 projects and have 20 repository, one for each project. We strongly want that user working on project-A must have access only on project-A in BRMS. I read the documentation that says, *"The user either has to belong into a role that has access to the repository or to a role that belongs into an orgazinational group that has access to the repository. These restrictions can be managed with the command line config tool."* Our implementation to the above doc statement is to create custom roles for each of our project. Then assign developer , analyst and admin permissions to the roles and then assign these project specific roles only to the project users. This way each project will have its own roles. And users under those roles will be able to access only that project and repository in BRMS. *Problem* To do this we simply ran KIE-CONFIG-CLI commands like "add-role-repo" and considered that roles got added to the BRMS. BUT WE ARE UNABLE to associate the permission (read/write, developer/admin) to our custom roles. and upon login we are getting error "Login Failed : UNAuthorized" *QUESTION * How can we have the ACL implemented in BRMS. Is there something which we are missing. -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679.html Sent from the Drools: User forum mailing list archive at Nabble.com. From mproctor at codehaus.org Tue Aug 19 09:40:59 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 19 Aug 2014 14:40:59 +0100 Subject: [rules-users] javax.jcr.ReferentialIntegrityException Error while Saving the Rule in Guvnor 5.1.1 In-Reply-To: References: Message-ID: <8C4328AF-37BF-497A-B088-B46E96035E71@codehaus.org> Have you tried upgrading to 5.6? It?s unlikely anyone will know what that error is below, especially as we?ve moved on from JCR now. Mark On 18 Aug 2014, at 13:16, LaKhI ReDdY!!!!!!!!!!! wrote: > Hi , > > > > I am getting the following error while saving the Rule in Guvnor 5.1.1. Could you please provide suggestions/inputs to resolve the below issue ? I am using Oracle DB. > > > > > > ERROR 18-08 12:31:22,129 (VersionableItem.java:checkout:637) Error occured while checking out the asset > > javax.jcr.ReferentialIntegrityException: Target node 298106d4-8786-46ba-b3a3-e9f42d93ac81 of REFERENCE property does not exist > > at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.checkReferentialIntegrity(SharedItemStateManager.java:1056) > > at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:574) > > at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1110) > > at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1140) > > at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351) > > at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354) > > at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326) > > at org.apache.jackrabbit.core.version.VersionManagerImplBase$WriteOperation.save(VersionManagerImplBase.java:463) > > at org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerImplBase.java:209) > > > > > > > > Regards, > > Reddy > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140819/7b6ea5b0/attachment.html From ged.byrne at gmail.com Tue Aug 19 10:17:18 2014 From: ged.byrne at gmail.com (Ged Byrne) Date: Tue, 19 Aug 2014 15:17:18 +0100 Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions In-Reply-To: <1408211772564-4030663.post@n3.nabble.com> References: <1408211772564-4030663.post@n3.nabble.com> Message-ID: Hi Matt, This may be a problem with Spring rather than KIE. Take a look at the following: * https://jira.spring.io/browse/SPR-9786 * http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/ Regards, Ged On 16 August 2014 18:56, mattmadhavan wrote: > Hello, > I have the following kie-spring xml definition to test my custom evaluater. > > > > I am not able to inject neither the *IN_LIST_KBase *nor the > /IN_LIST_KSession/ in my test class as follows: > > > > But i am able to look it up via the applicationContext as follows: > > > I am bit confused! Any ideas please? > > Thanks in advance! > > Matt'M > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140819/b23529b9/attachment.html From mproctor at codehaus.org Tue Aug 19 11:36:39 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 19 Aug 2014 16:36:39 +0100 Subject: [rules-users] Drools Mailing List migration to Google Groups Message-ID: <807441B5-43D9-4488-8B5A-DFF88DE7F748@codehaus.org> Drools community member, The Drools team are moving the rules-usesrs and rules-dev list to Google Groups. This will allow users to have a combined email and web access to the group. New Forum Information : http://drools.org/community/forum.html (click link to view) The rules-users mailing list has become high volume and it seems natural to split the group into those asking for help with setup, configuration, installation and administration and those who are asking for help with authoring and executing of rules. For this reason rules-users will be split into two groups - drools-setup and drools-usage. Drools Setup - https://groups.google.com/forum/#!forum/drools-setup (click link to subscribe) Drools Usage - https://groups.google.com/forum/#!forum/drools-usage (click link to subscribe) The rules-dev mailing list will move to drools-development. Drools Development - https://groups.google.com/forum/#!forum/drools-development (click link to subscribe) Google Groups limits the number of invitations, so we were unable to send invitations. For this reason you will need to manually subscribe. The Drools Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140819/4937528a/attachment.html From skip.cole at gmail.com Tue Aug 19 14:53:24 2014 From: skip.cole at gmail.com (skipatdb) Date: Tue, 19 Aug 2014 11:53:24 -0700 (PDT) Subject: [rules-users] Drools cannot resolve functions even when strict mvel mode is disabled In-Reply-To: <1340121956014-4018072.post@n3.nabble.com> References: <1340121956014-4018072.post@n3.nabble.com> Message-ID: <1408474404536-4030685.post@n3.nabble.com> Did you ever get a complete answer on this one? I am getting the same issue now. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-cannot-resolve-functions-even-when-strict-mvel-mode-is-disabled-tp4018072p4030685.html Sent from the Drools: User forum mailing list archive at Nabble.com. From porcelli at redhat.com Wed Aug 20 07:29:17 2014 From: porcelli at redhat.com (Alexandre Porcelli) Date: Wed, 20 Aug 2014 08:29:17 -0300 Subject: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles In-Reply-To: <1408445545096-4030679.post@n3.nabble.com> References: <1408445545096-4030679.post@n3.nabble.com> Message-ID: On Aug 19, 2014, at 7:52 AM, 706826 wrote: > I want to put access control on the BRMS repository/project access, so that > developer-A can only work on repository-A. We have a central BRMS which has > one repository per project. We have 20 projects and have 20 repository, one > for each project. Sounds good! Just one tip: project access control won't be supported anymore, so the control should be on repository level. > > We strongly want that user working on project-A must have access only on > project-A in BRMS. So the use of 1:1 relation between project and repo is really the way to go. > > I read the documentation that says, > > *"The user either has to belong into a role that has access to the > repository or to a role that belongs into an orgazinational group that has > access to the repository. These restrictions can be managed with the command > line config tool."* > > Our implementation to the above doc statement is to create custom roles for > each of our project. Then assign developer , analyst and admin permissions > to the roles and then assign these project specific roles only to the > project users. This way each project will have its own roles. And users > under those roles will be able to access only that project and repository in > BRMS. > Why not use Organization Units (OU) for such restrictions? IIRC, respository restrictions are based on OUs not on role. > *Problem* > > To do this we simply ran KIE-CONFIG-CLI commands like "add-role-repo" and > considered that roles got added to the BRMS. BUT WE ARE UNABLE to associate > the permission (read/write, developer/admin) to our custom roles. > and upon login we are getting error "Login Failed : UNAuthorized" > > *QUESTION * How can we have the ACL implemented in BRMS. Is there something > which we are missing. I think you should consider use OUs for such need - much like GitHub does. > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From zahid.ahmed at emirates.com Wed Aug 20 08:33:17 2014 From: zahid.ahmed at emirates.com (706826) Date: Wed, 20 Aug 2014 05:33:17 -0700 (PDT) Subject: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles In-Reply-To: References: <1408445545096-4030679.post@n3.nabble.com> Message-ID: <1408537997744-4030691.post@n3.nabble.com> HI Alex, I have created custom roles and assigned those roles to user in user manament db. Then I assigned the new custom roles to the Organizational Units (OUs), one OU per project. Kindly see attachment for clarification. And I created following custom roles *Project A and OU A* *Custom Role: Permission* cs_A_admin Can Create, Can deploy, Can delete, Can view cs_A_developer Can Create, Can delete, Can View, Can Update cs_A_analyst Can Create, Can View, Can Update cs_A_business Can View *Project B and OU B* *Custom Role: Permission* cs_B_admin Can Create, Can deploy, Can delete, Can view cs_B_developer Can Create, Can delete, Can View, Can Update cs_B_analyst Can Create, Can View, Can Update cs_B_business Can View My question is where to map role and permissions ? where to do these configurations. CLI tool help does not say anything about this. *Custom Role: Permission* cs_admin Can Create, Can deploy, Can delete, Can view cs_developer Can Create, Can delete, Can View, Can Update cs_analyst Can Create, Can View, Can Update cs_business Can View Authorization_Issue_2.png -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679p4030691.html Sent from the Drools: User forum mailing list archive at Nabble.com. From stephen.masters at me.com Wed Aug 20 17:27:07 2014 From: stephen.masters at me.com (Stephen Masters) Date: Wed, 20 Aug 2014 22:27:07 +0100 Subject: [rules-users] Kie-spring Issues - Not able to autowire sessions In-Reply-To: References: <1408211772564-4030663.post@n3.nabble.com> Message-ID: May be worth checking what class/interface your bean is. In the code that works, you are casting it to StatelessKieSession, but I suspect that the object which was injected was a KieSession. Steve On 19 Aug 2014, at 15:17, Ged Byrne wrote: > Hi Matt, > > This may be a problem with Spring rather than KIE. > > Take a look at the following: > * https://jira.spring.io/browse/SPR-9786 > * http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/ > > Regards, > > > Ged > > > > On 16 August 2014 18:56, mattmadhavan wrote: > Hello, > I have the following kie-spring xml definition to test my custom evaluater. > > > > I am not able to inject neither the *IN_LIST_KBase *nor the > /IN_LIST_KSession/ in my test class as follows: > > > > But i am able to look it up via the applicationContext as follows: > > > I am bit confused! Any ideas please? > > Thanks in advance! > > Matt'M > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140820/95e1829c/attachment-0001.html From paavan.mathur at clairvoyantsoft.com Wed Aug 20 17:42:56 2014 From: paavan.mathur at clairvoyantsoft.com (paavanm) Date: Wed, 20 Aug 2014 14:42:56 -0700 (PDT) Subject: [rules-users] Starting optaplanner with your own initialized solution Message-ID: <1408570976066-4030697.post@n3.nabble.com> I have a relatively simple question. How do I have OptaPlanner use my own initialized solution as a starting point instead of having a construction heuristic create one? Does this have to be done with a custom SolverPhase? A little more detail on what I'm trying to do: I am scheduling a series of classes and related activities on a calendar. Let's say I have some class BA101 that occurs several times a week (these classes are immovable entities). There are homeworks, exams etc. associated with these classes which I need to schedule. E.g. on Feb 1st, a homework might be due, or on Mar 1st, there might be an exam. So I need to schedule time to do the homework or time to study for the exam. My initial solution for this would be very simple: I would schedule the homework/study time at the same time of the class itself, and let optaplanner move it around till it meets my hard & soft constraints. However, when I tried to do that (i.e. give my homework/study tasks an actual start time instead of just leaving the start time as null), OptaPlanner fell right through without actually making any moves to find the best score. How do I do this? This is my config at the moment, pretty basic (tried this with & without the construction heuristic; same result): com.copilot.optaplanner.domain.ActivityScheduler com.copilot.optaplanner.domain.Activity HARD_SOFT com.copilot.optaplanner.solver.score.ActivitySchedulingSimpleScoreCalculator 10 FIRST_FIT 7 1000 Thanks for any assistance. -- View this message in context: http://drools.46999.n3.nabble.com/Starting-optaplanner-with-your-own-initialized-solution-tp4030697.html Sent from the Drools: User forum mailing list archive at Nabble.com. From toni.rikkola at gmail.com Thu Aug 21 02:10:37 2014 From: toni.rikkola at gmail.com (Toni Rikkola) Date: Thu, 21 Aug 2014 09:10:37 +0300 Subject: [rules-users] drools verifier problem In-Reply-To: <5a3c65678cca4daa87790a174f72ec87@BN1PR04MB204.namprd04.prod.outlook.com> References: <5a3c65678cca4daa87790a174f72ec87@BN1PR04MB204.namprd04.prod.outlook.com> Message-ID: <1408601437.3132.5.camel@localhost.localdomain> UnknownDescriptionException happens when the Verifier is not up to date with the latest changes made in Drools core. In this case looks like there is a new descr in core called MVELExprDescr. This is not fixed in 6.1. If you have a fix and please do a pull request. Just in case somebody else is suffering from the same problem. Since the Drools rules have become more complicated, it has gotten way too hard to use Verifier to pick up rule redundancy, but I know few people are using it to write their own rules to Verify the rule bases they maintain. Just simple rules that help them to do code reviews. Toni Rikkola On ma, 2014-08-18 at 11:36 +0000, Jean-Christophe Fortier wrote: > Hi, > > I'm trying to use the verifier with my rules on drools 5.6 and I got > an exception : > org.drools.verifier.visitor.UnknownDescriptionException: Descr ( class > org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier. I > checked in the source code and this type of descriptor is indeed not > handled yet. Do you know if it's fixed in 6.1? > > > > There is also this JIRA that could be useful > https://issues.jboss.org/browse/JBRULES-3641 > > > > Please let me know of any development. > > > > Thx > > > > Jean-Christophe Fortier > > Concepteur de logiciel > > Software Developer > > first make it work, then make it better > > > > cid:image001.png at 01CD3FEF.190AE350 > > > > 895 rue De La Gaucheti?re Ouest, Suite 300, C.P. 48, > > Montr?al (Quebec), H3B > 4G1 > > Tel: 514-636-6365 x.5387 > > Fax: 514-636-23626 > > > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users From mattias.nilsson.grip at redpill-linpro.com Thu Aug 21 06:27:59 2014 From: mattias.nilsson.grip at redpill-linpro.com (Mattias Nilsson Grip) Date: Thu, 21 Aug 2014 12:27:59 +0200 (CEST) Subject: [rules-users] Starting optaplanner with your own initialized solution In-Reply-To: <1408570976066-4030697.post@n3.nabble.com> References: <1408570976066-4030697.post@n3.nabble.com> Message-ID: <729619471.6255098.1408616879025.JavaMail.zimbra@redpill-linpro.com> Hi, OptaPlanner should be able to start with your initialized solution and let localSearch attempt to optimize it. You should not need to have a custom solver phase for this. Is your score calculation correct? What is the score of the solution when you run with actual start time populated vs when you leave start time as null? If you turn on debug logging for package org.optaplanner you should get some more info on what goes on inside the solver. Regards, Mattias ----- Original Message ----- > From: "paavanm" > To: rules-users at lists.jboss.org > Sent: Wednesday, 20 August, 2014 11:42:56 PM > Subject: [rules-users] Starting optaplanner with your own initialized solution > > I have a relatively simple question. How do I have OptaPlanner use my own > initialized solution as a starting point instead of having a construction > heuristic create one? Does this have to be done with a custom SolverPhase? > > A little more detail on what I'm trying to do: I am scheduling a series of > classes and related activities on a calendar. Let's say I have some class > BA101 that occurs several times a week (these classes are immovable > entities). There are homeworks, exams etc. associated with these classes > which I need to schedule. E.g. on Feb 1st, a homework might be due, or on > Mar 1st, there might be an exam. So I need to schedule time to do the > homework or time to study for the exam. My initial solution for this would > be very simple: I would schedule the homework/study time at the same time of > the class itself, and let optaplanner move it around till it meets my hard & > soft constraints. > > However, when I tried to do that (i.e. give my homework/study tasks an > actual start time instead of just leaving the start time as null), > OptaPlanner fell right through without actually making any moves to find the > best score. How do I do this? This is my config at the moment, pretty basic > (tried this with & without the construction heuristic; same result): > > > > > > > com.copilot.optaplanner.domain.ActivityScheduler > > com.copilot.optaplanner.domain.Activity > > > > HARD_SOFT > > com.copilot.optaplanner.solver.score.ActivitySchedulingSimpleScoreCalculator > > > > > 10 > > > > FIRST_FIT > > > > > 7 > > > 1000 > > > > > > Thanks for any assistance. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Starting-optaplanner-with-your-own-initialized-solution-tp4030697.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Mattias Nilsson Grip Redpill Linpro AB - Changing the game Tel: +46 734 09 22 34 From mproctor at codehaus.org Thu Aug 21 09:28:58 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Thu, 21 Aug 2014 14:28:58 +0100 Subject: [rules-users] Moved to Google Groups In-Reply-To: References: <1408211772564-4030663.post@n3.nabble.com> Message-ID: Just a reminder this list has moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 20 Aug 2014, at 22:27, Stephen Masters wrote: > May be worth checking what class/interface your bean is. In the code that works, you are casting it to StatelessKieSession, but I suspect that the object which was injected was a KieSession. > > Steve > > > > On 19 Aug 2014, at 15:17, Ged Byrne wrote: > >> Hi Matt, >> >> This may be a problem with Spring rather than KIE. >> >> Take a look at the following: >> * https://jira.spring.io/browse/SPR-9786 >> * http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/ >> >> Regards, >> >> >> Ged >> >> >> >> On 16 August 2014 18:56, mattmadhavan wrote: >> Hello, >> I have the following kie-spring xml definition to test my custom evaluater. >> >> >> >> I am not able to inject neither the *IN_LIST_KBase *nor the >> /IN_LIST_KSession/ in my test class as follows: >> >> >> >> But i am able to look it up via the applicationContext as follows: >> >> >> I am bit confused! Any ideas please? >> >> Thanks in advance! >> >> Matt'M >> >> >> >> -- >> View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> _______________________________________________ >> rules-users mailing list >> rules-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140821/af943d2d/attachment.html From mproctor at codehaus.org Thu Aug 21 09:29:19 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Thu, 21 Aug 2014 14:29:19 +0100 Subject: [rules-users] Moved to Google Groups In-Reply-To: <5a3c65678cca4daa87790a174f72ec87@BN1PR04MB204.namprd04.prod.outlook.com> References: <5a3c65678cca4daa87790a174f72ec87@BN1PR04MB204.namprd04.prod.outlook.com> Message-ID: <4DD30110-D5AD-4997-A00B-E5CFE6818ABE@codehaus.org> Just a reminder this list has moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 18 Aug 2014, at 12:36, Jean-Christophe Fortier wrote: > Hi, > I'm trying to use the verifier with my rules on drools 5.6 and I got an exception : org.drools.verifier.visitor.UnknownDescriptionException: Descr ( class org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier. I checked in the source code and this type of descriptor is indeed not handled yet. Do you know if it's fixed in 6.1? > > There is also this JIRA that could be useful https://issues.jboss.org/browse/JBRULES-3641 > > Please let me know of any development. > > Thx > > Jean-Christophe Fortier > Concepteur de logiciel > Software Developer > first make it work, then make it better > > > > 895 rue De La Gaucheti?re Ouest, Suite 300, C.P. 48, > Montr?al (Quebec), H3B 4G1 > Tel: 514-636-6365 x.5387 > Fax: 514-636-23626 > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140821/7e5c6661/attachment-0001.html From mproctor at codehaus.org Thu Aug 21 09:31:01 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Thu, 21 Aug 2014 14:31:01 +0100 Subject: [rules-users] Moved to google groups In-Reply-To: <1408570976066-4030697.post@n3.nabble.com> References: <1408570976066-4030697.post@n3.nabble.com> Message-ID: <8A5CB1EE-23DF-47D5-9897-7F34264ADC99@codehaus.org> OptaPlanner now has it?s own google groups for discussions: http://www.optaplanner.org/community/forum.html Please use the correct group, to reduce the noise to signal ratio. Also just a reminder this list has also moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 20 Aug 2014, at 22:42, paavanm wrote: > I have a relatively simple question. How do I have OptaPlanner use my own > initialized solution as a starting point instead of having a construction > heuristic create one? Does this have to be done with a custom SolverPhase? > > A little more detail on what I'm trying to do: I am scheduling a series of > classes and related activities on a calendar. Let's say I have some class > BA101 that occurs several times a week (these classes are immovable > entities). There are homeworks, exams etc. associated with these classes > which I need to schedule. E.g. on Feb 1st, a homework might be due, or on > Mar 1st, there might be an exam. So I need to schedule time to do the > homework or time to study for the exam. My initial solution for this would > be very simple: I would schedule the homework/study time at the same time of > the class itself, and let optaplanner move it around till it meets my hard & > soft constraints. > > However, when I tried to do that (i.e. give my homework/study tasks an > actual start time instead of just leaving the start time as null), > OptaPlanner fell right through without actually making any moves to find the > best score. How do I do this? This is my config at the moment, pretty basic > (tried this with & without the construction heuristic; same result): > > > > > > > com.copilot.optaplanner.domain.ActivityScheduler > > com.copilot.optaplanner.domain.Activity > > > > HARD_SOFT > > com.copilot.optaplanner.solver.score.ActivitySchedulingSimpleScoreCalculator > > > > > 10 > > > > FIRST_FIT > > > > > 7 > > > 1000 > > > > > > Thanks for any assistance. > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Starting-optaplanner-with-your-own-initialized-solution-tp4030697.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140821/c120c530/attachment.html From paavan.mathur at clairvoyantsoft.com Thu Aug 21 21:51:53 2014 From: paavan.mathur at clairvoyantsoft.com (paavanm) Date: Thu, 21 Aug 2014 18:51:53 -0700 (PDT) Subject: [rules-users] Starting optaplanner with your own initialized solution In-Reply-To: <729619471.6255098.1408616879025.JavaMail.zimbra@redpill-linpro.com> References: <1408570976066-4030697.post@n3.nabble.com> <729619471.6255098.1408616879025.JavaMail.zimbra@redpill-linpro.com> Message-ID: <1408672313365-4030706.post@n3.nabble.com> Thanks, actually after checking my score calculation, I realized I had introduced a bug in my code. I had set all my planning entities to immovable entities. Fixed that and it works fine, thanks again. -- View this message in context: http://drools.46999.n3.nabble.com/Starting-optaplanner-with-your-own-initialized-solution-tp4030697p4030706.html Sent from the Drools: User forum mailing list archive at Nabble.com. From ilguapo at gmail.com Fri Aug 22 09:45:40 2014 From: ilguapo at gmail.com (ilguapo) Date: Fri, 22 Aug 2014 06:45:40 -0700 (PDT) Subject: [rules-users] Including repository in a WAR file In-Reply-To: References: <1406076922671-4030450.post@n3.nabble.com> <1406101906.3353.9.camel@localhost.localdomain> <1406122778076-4030458.post@n3.nabble.com> Message-ID: Hola Salaboy! Thanks for your last comment. I was busy with other stuff but now I'm back with this problem and would like to ask if this scenario would work in your opinion. The repository_export.zip file is stored on Subversion. Is there a maven plug-in that will take that file, convert it to an XML file and then compile this file into a PKG file? After that, we can move that file to a certain area inside the WAR file and then your idea works. Later for rule changes, a GUI will be provided where they can upload a new PKG file to replace the old rules. Any ideas will be appreciated. Muchas gracias! Horacio On Jul 23, 2014, at 5:47 PM, salaboy [via Drools] wrote: > You can build the PKGs in guvnor and then just move the PKGs to a accesible server by the app that will load the rules in those packages. That will do the work IMO. > > Regards > > > On Wed, Jul 23, 2014 at 2:39 PM, ilguapo <[hidden email]> wrote: > Thank you for replying Toni and Salaboy. > > This is the reason why we want to do that: > > -We already have an application that uses Guvnor in production. The problem > is Guvnor is hosted on a different machine which we are losing therefore we > thought about an idea of completely eliminating Guvnor by including the > repository in the WAR so that we could read it the first time the > application starts. As you know, this is being done by pointing to the > Guvnor URL at this time. > > -We actually wanted to leave Guvnor in the dev environment so that > developers could add more rules to the application whenever necessary by > providing an Import feature to read the repository_export.zip file into the > application to replace the old repository. > > -If we do this, we will only need Guvnor in the dev environment which is > controlled by us and will be eliminated from all other environments. (Will > reduce a lot of paper work at a government site) > > I like Toni's idea of building the repository using Guvnor in the dev > environment but how do you read the repository the first time the app > starts? This is done now by getting the package from Guvnor thru a URL. > That was the only reason to store the repository inside the WAR file so that > the rules could be read at initialization time. > > Any pointers would be really appreciated especially how to update the > package which according to Toni is easy :-) > > Regards, > Ilguapo > > > > > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030458.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > -- > - MyJourney @ http://salaboy.com > - Co-Founder @ http://www.jugargentina.org > - Co-Founder @ http://www.jbug.com.ar > > - Salatino "Salaboy" Mauricio - > > _______________________________________________ > rules-users mailing list > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users > > If you reply to this email, your message will be added to the discussion below: > http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030466.html > To unsubscribe from Including repository in a WAR file, click here. > NAML -- View this message in context: http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030708.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140822/ce85459d/attachment.html From zahid.ahmed at emirates.com Sun Aug 24 01:52:56 2014 From: zahid.ahmed at emirates.com (Zahid Ahmed) Date: Sun, 24 Aug 2014 05:52:56 +0000 Subject: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles In-Reply-To: <1408537997744-4030691.post@n3.nabble.com> References: <1408445545096-4030679.post@n3.nabble.com> <1408537997744-4030691.post@n3.nabble.com> Message-ID: HI Alex, The issue is still not resolved. And my real problem is how to associate my custom roles to permissions (Kindly refer to below example and attachment in last reply.) I have created custom roles and assigned those roles to user in user manament db. Then I assigned the new custom roles to the Organizational Units (OUs), one OU per project. Kindly see attachment for clarification. And I created following custom roles *Project A and OU A* *Custom Role: Permission* cs_A_admin Can Create, Can deploy, Can delete, Can view cs_A_developer Can Create, Can delete, Can View, Can Update cs_A_analyst Can Create, Can View, Can Update cs_A_business Can View *Project B and OU B* *Custom Role: Permission* cs_B_admin Can Create, Can deploy, Can delete, Can view cs_B_developer Can Create, Can delete, Can View, Can Update cs_B_analyst Can Create, Can View, Can Update cs_B_business Can View My question is where to map role and permissions ? where to do these configurations. CLI tool help does not say anything about this. *Custom Role: Permission* cs_admin Can Create, Can deploy, Can delete, Can view cs_developer Can Create, Can delete, Can View, Can Update cs_analyst Can Create, Can View, Can Update cs_business Can View Authorization_Issue_2.png -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679p4030691.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users From skip.cole at gmail.com Mon Aug 25 09:06:52 2014 From: skip.cole at gmail.com (skipatdb) Date: Mon, 25 Aug 2014 06:06:52 -0700 (PDT) Subject: [rules-users] Usage of the jcr2vfs migration tool In-Reply-To: <1391025225433-4027916.post@n3.nabble.com> References: <1391025225433-4027916.post@n3.nabble.com> Message-ID: <1408972012116-4030711.post@n3.nabble.com> I have looked for these instructions also, and have never been able to find them. When I run the migration tool, I get no results. When I go in and add a stack trace to Jcr2VfsMigrationApp, I then get the following: C:\z\drools-wb\drools-wb-jcr2vfs-migration\drools-wb-jcr2vfs-migration-core\targ et\drools-wb-jcr2vfs-migration-core-6.2.0-SNAPSHOT\drools-wb-jcr2vfs-migration-c ore-6.2.0-SNAPSHOT\bin>runMigration -h org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions: Exception 0 : org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependenc ies for type [RefactoringQueryService] with qualifiers [@Default] at injection p oint [[field] @Inject private org.kie.workbench.common.screens.datamodeller.back end.server.DataModelerServiceImpl.queryService] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:315) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:284) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) Exception 0 : org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependenc ies for type [RefactoringQueryService] with qualifiers [@Default] at injection p oint [[field] @Inject private org.kie.workbench.common.services.backend.rulename .RuleNameServiceImpl.queryService] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:315) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:284) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:398) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) ---------------------------------------------------------------- It has been frustrating. Did you finish your migration? Any thoughts or wisdom you can share will be most welcome. Thanks, Skip -- View this message in context: http://drools.46999.n3.nabble.com/Usage-of-the-jcr2vfs-migration-tool-tp4027916p4030711.html Sent from the Drools: User forum mailing list archive at Nabble.com. From santhosh.hegde at hp.com Mon Aug 25 10:58:33 2014 From: santhosh.hegde at hp.com (san_hegde) Date: Mon, 25 Aug 2014 07:58:33 -0700 (PDT) Subject: [rules-users] sharing guvnor cache files Message-ID: <15953010ECA3144B888197EE9EF2B83EDE6A44C7@G4W3205.americas.hpqcorp.net> Hi, I have configured local guvnor cache in my application. Drools and Guvnor version 5.2. My application is deployed in 2 managed servers in weblogic. So now application in both the servers refer to the same directory where guvnor cache is created. Is there any issue in both the application referring to the same location for the guvnor cache files.? Thank you -- View this message in context: http://drools.46999.n3.nabble.com/sharing-guvnor-cache-files-tp4030712.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140825/5eaa403a/attachment.html From darktyco at gmail.com Mon Aug 25 14:46:17 2014 From: darktyco at gmail.com (darktyco) Date: Mon, 25 Aug 2014 11:46:17 -0700 (PDT) Subject: [rules-users] Loading pre-compiled rules (kbase.cache) In-Reply-To: <1398940896477-4029397.post@n3.nabble.com> References: <1398940896477-4029397.post@n3.nabble.com> Message-ID: <1408992377815-4030715.post@n3.nabble.com> I posted a similar question on the new google group forum today: https://groups.google.com/forum/#!topic/drools-setup/aEG1s8MqgA0 The KieServicesImpl class lives in the drools-compiler jar file so I don't believe the compiler jar can be removed from the classpath. In my case that is fine but I don't think that the pre-compiled rules are loading at all and I am using code that is very similar to yours. Did you ever find a resolution for this? Thanks, Kyle -- View this message in context: http://drools.46999.n3.nabble.com/Loading-pre-compiled-rules-kbase-cache-tp4029397p4030715.html Sent from the Drools: User forum mailing list archive at Nabble.com. From rsureshbe at gmail.com Mon Aug 25 15:14:27 2014 From: rsureshbe at gmail.com (rsureshbe) Date: Mon, 25 Aug 2014 12:14:27 -0700 (PDT) Subject: [rules-users] BRMS 6 -Problem in web Guided editor Drop down selection In-Reply-To: <1408990928817-4030714.post@n3.nabble.com> References: <1408990928817-4030714.post@n3.nabble.com> Message-ID: <1408994067722-4030716.post@n3.nabble.com> We have bought BRMS 6 from JBOSS recently. Currently configuring an BRMS rules setup in DEV and INT, encountering an issue with web guided editor, we need your help in resolving the error. Issue is 1) I have data model jar contains Class A along with get/setter, created new web guided rule and when i try to configure rule conditions that currentVolume is greater than volume in BRL fragment popup(overlay) screen, in that Edit button not opening, showing some constraint error. Attached the screen-print. Class A private BigDecimal volume; private BigDecimal currentVolmue; private BigDecimal totalVolume; -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Problem-in-web-Guided-editor-Drop-down-selection-tp4030714p4030716.html Sent from the Drools: User forum mailing list archive at Nabble.com. From geovanny.ribeiro at gmail.com Mon Aug 25 15:33:50 2014 From: geovanny.ribeiro at gmail.com (gribeiro) Date: Mon, 25 Aug 2014 12:33:50 -0700 (PDT) Subject: [rules-users] Kie-Spring Integration Message-ID: <1408995230070-4030717.post@n3.nabble.com> Hi, Folks !I?m actually working on a project using Drools 6.0.1.Final and I?ve recevied the following request:1) All the .drl files are store inside my maven project under src/main/resources/drools-rules and here?s my drools.xml : Maybe I was blind while searching on documentation, but I couldn?t find a way to load rules (.drl files) from file system (outside the classpath).Please, anyone could help me on this matter?Rgds,Geovanny RibeiroGreeting from Brazil -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140825/9670651d/attachment.html From ged.byrne at gmail.com Mon Aug 25 16:10:25 2014 From: ged.byrne at gmail.com (Ged Byrne) Date: Mon, 25 Aug 2014 13:10:25 -0700 (PDT) Subject: [rules-users] Kie-Spring Integration In-Reply-To: <1408995230070-4030717.post@n3.nabble.com> References: <1408995230070-4030717.post@n3.nabble.com> Message-ID: <1408997424598.07d54f48@Nodemailer> That's the standard maven project structure. ? The resources will be copied to your class path: "Within artifact producing source directories (ie.?main?and?test), there is one directory for the language?java?(under which the normal package hierarchy exists), and one for?resources?(the structure which is copied to the target classpath given the default resource definition)." http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html ? Sent from Mailbox On Mon, Aug 25, 2014 at 8:35 PM, gribeiro wrote: > Hi, Folks !I?m actually working on a project using Drools 6.0.1.Final and > I?ve recevied the following request:1) All the .drl files are store inside > my maven project under src/main/resources/drools-rules and here?s my > drools.xml : Maybe I was blind while searching on documentation, > but I couldn?t find a way to load rules (.drl files) from file system > (outside the classpath).Please, anyone could help me on this > matter?Rgds,Geovanny RibeiroGreeting from Brazil > -- > View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717.html > Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140825/9a7a63ba/attachment.html From geovanny.ribeiro at gmail.com Mon Aug 25 16:26:09 2014 From: geovanny.ribeiro at gmail.com (gribeiro) Date: Mon, 25 Aug 2014 13:26:09 -0700 (PDT) Subject: [rules-users] Kie-Spring Integration In-Reply-To: <1408997424598.07d54f48@Nodemailer> References: <1408995230070-4030717.post@n3.nabble.com> <1408997424598.07d54f48@Nodemailer> Message-ID: <1408998369049-4030719.post@n3.nabble.com> Just reinforcing my question: I need load rules (.drl files) from a network storage (outside the classpath), therefore Maven is not an option for me. Is there a way to do that using Kie-Spring or I?ll have to do it programmatically ? -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717p4030719.html Sent from the Drools: User forum mailing list archive at Nabble.com. From srivastavamohit91 at gmail.com Mon Aug 25 17:17:06 2014 From: srivastavamohit91 at gmail.com (Mohit Srivastava) Date: Tue, 26 Aug 2014 02:47:06 +0530 Subject: [rules-users] Trying to load a module from Maven coordinates In-Reply-To: <1394235921551-4028593.post@n3.nabble.com> References: <1394235921551-4028593.post@n3.nabble.com> Message-ID: Hi David, I am facing same issue. Can you please share the solution you figured out ? Thanks Mohit On Sat, Mar 8, 2014 at 5:15 AM, david.berkman wrote: > Using Maven 3.2.1 and Drools 6.0.1, I'm trying to simply follow the > instructions for loading a container with a jar at a set of maven > coordinates. I have confirmed that the jar exists at the specified > coordinates (in Nexus), and that I can download it without using a > username/password (just an http get), and that the jar does contain both > .drl files and a /META-INF/kmodule.xml. I'm using the code below, and have > added the extra dependencies listed, but I get the errors shown below all > that. First off, working out the proper dependencies is no mean feat, when > it seems that just kie-ci should be necessary. What a pain, and there is > far > too little documentation to help. But, I assume this should be possible, > and > maybe some kind person out there has the magic combination of Drools, > Maven, > and jars to make it work? > > Thanks in advance, > David > > KieServices kieServices = KieServices.Factory.get(); > kieServices.newKieContainer(kieServices.newReleaseId("", > "", "")); > > > org.kie > kie-ci > 6.0.1.Final > > > org.apache.maven > maven-aether-provider > 3.0.5 > > > org.codehaus.plexus > plexus-utils > 3.0.17 > > > org.eclipse.aether > aether-impl > 0.9.0.M2 > > > 2014-03-07T15:29:50.368-0800 Sisu WARN (.:) [main] - Error injecting: > org.eclipse.aether.internal.impl.DefaultRepositorySystem > Exception in thread com.google.inject.ConfigurationException: Guice > configuration errors: > > 1) No implementation for org.eclipse.aether.impl.ArtifactDescriptorReader > was bound. > while locating org.eclipse.aether.impl.ArtifactDescriptorReader > for parameter 4 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > > 2) No implementation for org.eclipse.aether.impl.VersionRangeResolver was > bound. > while locating org.eclipse.aether.impl.VersionRangeResolver > for parameter 1 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > > 3) No implementation for org.eclipse.aether.impl.VersionResolver was bound. > while locating org.eclipse.aether.impl.VersionResolver > for parameter 0 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > > 3 errors > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:991) > at > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) > at > > org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) > at > > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) > at > > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) > at > org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) > at > > org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250) > at > > org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48) > at > org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52) > at > > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128) > at > > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > > com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) > at > > com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) > at > > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) > at > > org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) > at > > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) > at > > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) > at > org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) > at > > org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250) > at > > org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48) > at > org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52) > at > > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128) > at > > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > > com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) > at > > com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) > at > > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) > at > > org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) > at > > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) > at > > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) > at > org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) > at > > org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250) > at > > org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48) > at > org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52) > at > > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128) > at > > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > > com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) > at > > com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) > at > > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) > at > > org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) > at > > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) > at > > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) > at > org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) > at > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260) > at > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252) > at > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:246) > at > org.kie.scanner.embedder.MavenEmbedder.lookup(MavenEmbedder.java:527) > at > > org.kie.scanner.embedder.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:152) > at > org.kie.scanner.embedder.MavenEmbedder.(MavenEmbedder.java:115) > at > org.kie.scanner.embedder.MavenEmbedder.(MavenEmbedder.java:104) > at > org.kie.scanner.embedder.MavenEmbedder.(MavenEmbedder.java:131) > at > > org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:18) > at > > org.kie.scanner.embedder.MavenProjectLoader.loadMavenProject(MavenProjectLoader.java:48) > at org.kie.scanner.Aether.(Aether.java:44) > at org.kie.scanner.Aether.getAether(Aether.java:54) > at > org.kie.scanner.MavenRepository.getMavenRepository(MavenRepository.java:45) > at > org.kie.scanner.ArtifactResolver.(ArtifactResolver.java:25) > at > > org.kie.scanner.KieRepositoryScannerImpl.getArtifactResolver(KieRepositoryScannerImpl.java:67) > at > > org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:88) > at > > org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:83) > at > > org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:113) > at > > org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:99) > at > > org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:76) > at > > org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:84) > at > > com.icix.neutrino.bedrock.predicate.drools.extras.spring.KieScannedContainerCacheInitializingBean.afterPropertiesSet(KieScannedContainerCacheInitializingBean.java:44) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) > at > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) > at > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) > at > > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) > at > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) > at > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:608) > at > > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) > at > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) > at > > org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139) > at > > org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93) > at com.icix.neutrino.terminus.hub.Foo.(Foo.java:19) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:190) > at > com.intellij.rt.execution.application.AppMain.main(AppMain.java:113) > 2014-03-07T15:29:50.379-0800 Sisu WARN (.:) [main] - Error injecting: > org.apache.maven.artifact.resolver.DefaultArtifactResolver > Exception in thread com.google.inject.ProvisionException: Guice > provision > errors: > > 1) No implementation for org.eclipse.aether.impl.ArtifactDescriptorReader > was bound. > while locating org.eclipse.aether.impl.ArtifactDescriptorReader > for parameter 4 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > while locating org.eclipse.aether.RepositorySystem > while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver > > 2) No implementation for org.eclipse.aether.impl.VersionRangeResolver was > bound. > while locating org.eclipse.aether.impl.VersionRangeResolver > for parameter 1 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > while locating org.eclipse.aether.RepositorySystem > while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver > > 3) No implementation for org.eclipse.aether.impl.VersionResolver was bound. > while locating org.eclipse.aether.impl.VersionResolver > for parameter 0 at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.(Unknown > Source) > while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: null]] > while locating org.eclipse.aether.RepositorySystem > while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Trying-to-load-a-module-from-Maven-coordinates-tp4028593.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140826/c187d083/attachment-0001.html From mproctor at codehaus.org Mon Aug 25 17:43:54 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Mon, 25 Aug 2014 22:43:54 +0100 Subject: [rules-users] Kie-Spring Integration In-Reply-To: <1408998369049-4030719.post@n3.nabble.com> References: <1408995230070-4030717.post@n3.nabble.com> <1408997424598.07d54f48@Nodemailer> <1408998369049-4030719.post@n3.nabble.com> Message-ID: <135D411A-5AC2-4E4C-88B0-6131A228847B@codehaus.org> This list is now closed. This list has also moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 25 Aug 2014, at 21:26, gribeiro wrote: > Just reinforcing my question: > > I need load rules (.drl files) from a network storage (outside the > classpath), therefore Maven is not an option for me. Is there a way to do > that using Kie-Spring or I?ll have to do it programmatically ? > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717p4030719.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140825/401c142b/attachment.html From michael.anstis at gmail.com Wed Aug 27 04:26:03 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Wed, 27 Aug 2014 09:26:03 +0100 Subject: [rules-users] BRMS 6 -Problem in web Guided editor Drop down selection In-Reply-To: <1408994067722-4030716.post@n3.nabble.com> References: <1408990928817-4030714.post@n3.nabble.com> <1408994067722-4030716.post@n3.nabble.com> Message-ID: Click on the pencil icon and choose the value type (literal, formula etc). The red error indicator should then disappear. On 25 August 2014 20:14, rsureshbe wrote: > We have bought BRMS 6 from JBOSS recently. Currently configuring an BRMS > rules setup in DEV and INT, encountering an issue with web guided editor, > we > need your help in resolving the error. Issue is > > 1) I have data model jar contains Class A along with get/setter, created > new web guided rule and when i try to configure rule conditions that > currentVolume is greater than volume in BRL fragment popup(overlay) screen, > in that Edit button not opening, showing some constraint error. Attached > the > screen-print. > > Class A > private BigDecimal volume; > > private BigDecimal currentVolmue; > > private BigDecimal totalVolume; > > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/BRMS-6-Problem-in-web-Guided-editor-Drop-down-selection-tp4030714p4030716.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140827/b379cdab/attachment.html From mswiders at redhat.com Wed Aug 27 04:55:53 2014 From: mswiders at redhat.com (Maciej Swiderski) Date: Wed, 27 Aug 2014 10:55:53 +0200 Subject: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles In-Reply-To: References: <1408445545096-4030679.post@n3.nabble.com> <1408537997744-4030691.post@n3.nabble.com> Message-ID: Roles assigned to repositories or OUs are on top of the application roles (admin, user, developer, analyst, etc) so to be able to logon to kie-wb you?ll need to have one of the application roles and then roles specific to repository and/or OU. There is a mechanism to map different application roles but they are global to installation of kie-wb meaning that whenever you change it it will apply to all OUs and repositories on given instance of kie-wb. So to make it to work make sure that your users are assigned to one or more application roles (admin, user, developer, analyst) and it should work just fine. Maciej On 24 sie 2014, at 07:52, Zahid Ahmed wrote: > HI Alex, > > The issue is still not resolved. And my real problem is how to associate my custom roles to permissions (Kindly refer to below example and attachment in last reply.) > > I have created custom roles and assigned those roles to user in user manament db. Then I assigned the new custom roles to the Organizational Units (OUs), one OU per project. > > Kindly see attachment for clarification. > > And I created following custom roles > *Project A and OU A* > > *Custom Role: Permission* > cs_A_admin Can Create, Can deploy, Can delete, Can view > cs_A_developer Can Create, Can delete, Can View, Can Update > cs_A_analyst Can Create, Can View, Can Update > cs_A_business Can View > > *Project B and OU B* > *Custom Role: Permission* > cs_B_admin Can Create, Can deploy, Can delete, Can view > cs_B_developer Can Create, Can delete, Can View, Can Update > cs_B_analyst Can Create, Can View, Can Update > cs_B_business Can View > > > My question is where to map role and permissions ? where to do these configurations. CLI tool help does not say anything about this. > > *Custom Role: Permission* > cs_admin Can Create, Can deploy, Can delete, Can view > cs_developer Can Create, Can delete, Can View, Can Update > cs_analyst Can Create, Can View, Can Update > cs_business Can View > > Authorization_Issue_2.png > > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679p4030691.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140827/08c049d3/attachment.html From mario.fusco at gmail.com Wed Aug 27 08:21:01 2014 From: mario.fusco at gmail.com (Mario Fusco) Date: Wed, 27 Aug 2014 05:21:01 -0700 (PDT) Subject: [rules-users] NPE in LeftTupleSetsImpl.removeUpdate In-Reply-To: <1408121766235-4030658.post@n3.nabble.com> References: <53D9A089.2000008@gmail.com> <8B8BB6B0-2F43-4809-ADB0-53BC178D4035@codehaus.org> <1408121766235-4030658.post@n3.nabble.com> Message-ID: <1409142061899-4030724.post@n3.nabble.com> Hi David, sorry but it's impossible for us to figure out what's going wrong in your case just looking at the stack trace you sent. Have you been able to consistently reproduce this problem? If so could you open a ticket on jira and share your reproducer there? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NPE-in-LeftTupleSetsImpl-removeUpdate-tp4030544p4030724.html Sent from the Drools: User forum mailing list archive at Nabble.com. From marianbuenosayres at gmail.com Wed Aug 27 09:30:36 2014 From: marianbuenosayres at gmail.com (marianbuenosayres) Date: Wed, 27 Aug 2014 06:30:36 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & event life cycle In-Reply-To: <1407310721385-4030587.post@n3.nabble.com> References: <1406186516229-4030471.post@n3.nabble.com> <1407310721385-4030587.post@n3.nabble.com> Message-ID: <1409146236962-4030725.post@n3.nabble.com> I think that if you want the automatic event lifecycle management to delete your events, you first need to notify the engine when an event is old enough to realise it should be removed. This has to be managed adding the @expires annotation to the event declaration: declare Notification @role( event ) @expires ( 1h45m ) end That will let the engine know it should remove the event from the working memory (if no rule needs it) after an hour and 45 minutes. Please check the doc about @expires in the following link: http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/#d0e10478 Cheers, -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030725.html Sent from the Drools: User forum mailing list archive at Nabble.com. From ephemeris.lappis at gmail.com Wed Aug 27 15:19:55 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Wed, 27 Aug 2014 12:19:55 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & event life cycle In-Reply-To: <1409146236962-4030725.post@n3.nabble.com> References: <1406186516229-4030471.post@n3.nabble.com> <1407310721385-4030587.post@n3.nabble.com> <1409146236962-4030725.post@n3.nabble.com> Message-ID: <53FE2F44.2070208@gmail.com> Hello. Indeed, I have tested with the @expires and the objects are discarded in this case. What I had understood in the documentation is precisely the other way that the engine is expected to control the events expiration : "Inferred Expiration" (8.8.2), when no temporal constraint involves the objects, they are discarded. This seems the best way to be sure to eliminate as soon as possible all the useless objects, whatever their life time. This is particularly important with flows of thousands of events per second. Perhaps I don't understand this well... Another idea or advice ? Thanks for your help. Regards. Ephemeris Lappis Le 27/08/2014 15:30, marianbuenosayres [via Drools] a ?crit : > I think that if you want the automatic event lifecycle management to > delete your events, you first need to notify the engine when an event > is old enough to realise it should be removed. This has to be managed > adding the @expires annotation to the event declaration: > > declare Notification > @role( event ) > @expires ( 1h45m ) > end > > That will let the engine know it should remove the event from the > working memory (if no rule needs it) after an hour and 45 minutes. > Please check the doc about @expires in the following link: > > http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/#d0e10478 > > Cheers, > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030725.html > > To unsubscribe from Drools Fusion (CEP) & event life cycle, click here > . > NAML > > -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030726.html Sent from the Drools: User forum mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140827/15dbc193/attachment-0001.html From ephemeris.lappis at gmail.com Wed Aug 27 15:45:42 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Wed, 27 Aug 2014 12:45:42 -0700 (PDT) Subject: [rules-users] Drools Fusion (CEP) & event life cycle In-Reply-To: <53FE2F44.2070208@gmail.com> References: <1406186516229-4030471.post@n3.nabble.com> <1407310721385-4030587.post@n3.nabble.com> <1409146236962-4030725.post@n3.nabble.com> <53FE2F44.2070208@gmail.com> Message-ID: <1409168742254-4030727.post@n3.nabble.com> Hello. Indeed, I have tested with the @expires and the objects are discarded in this case. What I had understood in the documentation is precisely the other way that the engine is expected to control the events expiration : "Inferred Expiration" (8.8.2), when no temporal constraint involves the objects, they are discarded. This seems the best way to be sure to eliminate as soon as possible all the useless objects, whatever their life time. This is particularly important with flows of thousands of events per second. Perhaps I don't understand this well... Another idea or advice ? Thanks for your help. Regards. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030727.html Sent from the Drools: User forum mailing list archive at Nabble.com. From vincent.legendre at eurodecision.com Thu Aug 28 09:28:49 2014 From: vincent.legendre at eurodecision.com (Vincent LEGENDRE) Date: Thu, 28 Aug 2014 09:28:49 -0400 (EDT) Subject: [rules-users] Inconsistent behaviour of insertLogical in rules having from pattern In-Reply-To: <1390229923.213201.1409231126146.JavaMail.zimbra@eurodecision.com> Message-ID: <1498594657.213803.1409232529988.JavaMail.zimbra@eurodecision.com> Hi all, It is 2 days I am fighting with a strange behaviour of insertLogical in rules having from pattern in conditions : it works the first time, and not after ... ----------------------------------------- Here is my use-case (simplified) : I have a class that represent a Flight. A Flight has a start/end datetime and is associated with a Airplane and a list of Crew : class Flight { String airplaneId; List crewIds; Date start; Date end; } I want to maintain an alert list that contains all overlaps for each airplane and each crew. So I have rules like: rule "Overlap Airplane" when $f1 : Flight($airplaneId : airplaneId) $f2 : Flight(this != $1, airplaneId == $airplaneId, ... and periods intersecting ... ) then insertLogical(new Alert(...)); end rule "Overlap Crews" when $f1 : Flight() $crew : String from $f1.getCrewIds() $f2 : Flight(this != $1, eval($f2.getCrewIds().contains($crew)) , ... and periods intersecting ... ) then insertLogical(new Alert(...)); end ----------------------------------------- Ok. So what I do to test all that stuff : - create a new session - add a first single Flight --> no alerts at all, normal - add a second Flight insersecting the first one with same airplane and same crews list --> 3 new alerts inserted (one for airplane, one for each crew) : normal - remove this second Flight --> the 3 preivous alerts are retracted : still ok - re-add this second Flight --> only the 'airplane' rule triggers, I only get one new alert insteads of the previous same 3 .... The alerts not inserted correspond to the rule having 'from' in it ----------------------------------------- To test that it is the source of the problem, I add a new explicit association object that I insert in WM : class CrewAffectation { String idCrew; String idFlight; } For each inserted Flight, I also insert corresponding new CrewAffectation objects. (in case of retract, I retract them of course). I change the last rule to something like : rule "Overlap Crews" when $f1 : Flight($id1 : id $f2 : Flight(this != $1, $id2 : id, ... and periods intersecting ... ) $crewAff1 : CrewAffectation($idCrew : idCrew, idFlight== $id1) $crewAff2 : CrewAffectation(idCrew == $idCrew, idFlight== $id2) then insertLogical(new Alert(...)); end And with this 'no-from' approach, everything is working as expected. ----------------------------------------- In addition, I suspect the truth maintenance system to have leaks, and notably in the source kBase. Why ? Because I was facing problems by reusing the same kBase to generate multiples kSessions : The first session created reacted well, while all the folowing not. And it was in fact the same problem as the one described here : usage of from and insertLogical in the same rule. The first created session adds and retract my 3 alerts, the second created session only adds the airplane alert. With using the explicit association object, I can reuse my kBase and everything is working well. ----------------------------------------- Does someone already faced the problem ? Does it looks like a real bug to dev team or am I doing something wrong (but as it work once, I guess it is a bug) ? Vincent -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140828/316d795f/attachment.html From vincent.legendre at eurodecision.com Thu Aug 28 09:31:40 2014 From: vincent.legendre at eurodecision.com (Vincent LEGENDRE) Date: Thu, 28 Aug 2014 09:31:40 -0400 (EDT) Subject: [rules-users] Inconsistent behaviour of insertLogical in rules having from pattern In-Reply-To: <1498594657.213803.1409232529988.JavaMail.zimbra@eurodecision.com> References: <1498594657.213803.1409232529988.JavaMail.zimbra@eurodecision.com> Message-ID: <1029137946.213863.1409232700075.JavaMail.zimbra@eurodecision.com> Forgot to say : using drools 5.6.FINAL ----- Mail original ----- De: "Vincent LEGENDRE" ?: "Rules Users List" Envoy?: Jeudi 28 Ao?t 2014 15:28:49 Objet: [rules-users] Inconsistent behaviour of insertLogical in rules having from pattern Hi all, It is 2 days I am fighting with a strange behaviour of insertLogical in rules having from pattern in conditions : it works the first time, and not after ... ----------------------------------------- Here is my use-case (simplified) : I have a class that represent a Flight. A Flight has a start/end datetime and is associated with a Airplane and a list of Crew : class Flight { String airplaneId; List crewIds; Date start; Date end; } I want to maintain an alert list that contains all overlaps for each airplane and each crew. So I have rules like: rule "Overlap Airplane" when $f1 : Flight($airplaneId : airplaneId) $f2 : Flight(this != $1, airplaneId == $airplaneId, ... and periods intersecting ... ) then insertLogical(new Alert(...)); end rule "Overlap Crews" when $f1 : Flight() $crew : String from $f1.getCrewIds() $f2 : Flight(this != $1, eval($f2.getCrewIds().contains($crew)) , ... and periods intersecting ... ) then insertLogical(new Alert(...)); end ----------------------------------------- Ok. So what I do to test all that stuff : - create a new session - add a first single Flight --> no alerts at all, normal - add a second Flight insersecting the first one with same airplane and same crews list --> 3 new alerts inserted (one for airplane, one for each crew) : normal - remove this second Flight --> the 3 preivous alerts are retracted : still ok - re-add this second Flight --> only the 'airplane' rule triggers, I only get one new alert insteads of the previous same 3 .... The alerts not inserted correspond to the rule having 'from' in it ----------------------------------------- To test that it is the source of the problem, I add a new explicit association object that I insert in WM : class CrewAffectation { String idCrew; String idFlight; } For each inserted Flight, I also insert corresponding new CrewAffectation objects. (in case of retract, I retract them of course). I change the last rule to something like : rule "Overlap Crews" when $f1 : Flight($id1 : id $f2 : Flight(this != $1, $id2 : id, ... and periods intersecting ... ) $crewAff1 : CrewAffectation($idCrew : idCrew, idFlight== $id1) $crewAff2 : CrewAffectation(idCrew == $idCrew, idFlight== $id2) then insertLogical(new Alert(...)); end And with this 'no-from' approach, everything is working as expected. ----------------------------------------- In addition, I suspect the truth maintenance system to have leaks, and notably in the source kBase. Why ? Because I was facing problems by reusing the same kBase to generate multiples kSessions : The first session created reacted well, while all the folowing not. And it was in fact the same problem as the one described here : usage of from and insertLogical in the same rule. The first created session adds and retract my 3 alerts, the second created session only adds the airplane alert. With using the explicit association object, I can reuse my kBase and everything is working well. ----------------------------------------- Does someone already faced the problem ? Does it looks like a real bug to dev team or am I doing something wrong (but as it work once, I guess it is a bug) ? Vincent _______________________________________________ rules-users mailing list rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140828/d58b1cc1/attachment.html From mproctor at codehaus.org Thu Aug 28 15:21:51 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Thu, 28 Aug 2014 20:21:51 +0100 Subject: [rules-users] Inconsistent behaviour of insertLogical in rules having from pattern In-Reply-To: <1029137946.213863.1409232700075.JavaMail.zimbra@eurodecision.com> References: <1498594657.213803.1409232529988.JavaMail.zimbra@eurodecision.com> <1029137946.213863.1409232700075.JavaMail.zimbra@eurodecision.com> Message-ID: <5373440D-C746-4E42-BD5E-376D64CD2157@codehaus.org> This list is now closed. Please use the google group: https://groups.google.com/forum/#!forum/drools-usage Are the auto-responders informing people that the list is closed working? Mark On 28 Aug 2014, at 14:31, Vincent LEGENDRE wrote: > Forgot to say : using drools 5.6.FINAL > > De: "Vincent LEGENDRE" > ?: "Rules Users List" > Envoy?: Jeudi 28 Ao?t 2014 15:28:49 > Objet: [rules-users] Inconsistent behaviour of insertLogical in rules having from pattern > > Hi all, > > It is 2 days I am fighting with a strange behaviour of insertLogical in rules having from pattern in conditions : it works the first time, and not after ... > > ----------------------------------------- > Here is my use-case (simplified) : > > I have a class that represent a Flight. A Flight has a start/end datetime and is associated with a Airplane and a list of Crew : > class Flight { > String airplaneId; > List crewIds; > Date start; > Date end; > } > > I want to maintain an alert list that contains all overlaps for each airplane and each crew. So I have rules like: > > rule "Overlap Airplane" > when > $f1 : Flight($airplaneId : airplaneId) > $f2 : Flight(this != $1, airplaneId == $airplaneId, ... and periods intersecting ... ) > then > insertLogical(new Alert(...)); > end > > rule "Overlap Crews" > when > $f1 : Flight() > $crew : String from $f1.getCrewIds() > $f2 : Flight(this != $1, eval($f2.getCrewIds().contains($crew)) , ... and periods intersecting ... ) > then > insertLogical(new Alert(...)); > end > > > ----------------------------------------- > Ok. So what I do to test all that stuff : > - create a new session > - add a first single Flight --> no alerts at all, normal > - add a second Flight insersecting the first one with same airplane and same crews list --> 3 new alerts inserted (one for airplane, one for each crew) : normal > - remove this second Flight --> the 3 preivous alerts are retracted : still ok > - re-add this second Flight --> only the 'airplane' rule triggers, I only get one new alert insteads of the previous same 3 .... The alerts not inserted correspond to the rule having 'from' in it > > > ----------------------------------------- > To test that it is the source of the problem, I add a new explicit association object that I insert in WM : > class CrewAffectation { > String idCrew; > String idFlight; > } > > For each inserted Flight, I also insert corresponding new CrewAffectation objects. (in case of retract, I retract them of course). > I change the last rule to something like : > > rule "Overlap Crews" > when > $f1 : Flight($id1 : id > $f2 : Flight(this != $1, $id2 : id, ... and periods intersecting ... ) > $crewAff1 : CrewAffectation($idCrew : idCrew, idFlight== $id1) > $crewAff2 : CrewAffectation(idCrew == $idCrew, idFlight== $id2) > then > insertLogical(new Alert(...)); > end > And with this 'no-from' approach, everything is working as expected. > > ----------------------------------------- > In addition, I suspect the truth maintenance system to have leaks, and notably in the source kBase. > Why ? Because I was facing problems by reusing the same kBase to generate multiples kSessions : The first session created reacted well, while all the folowing not. > And it was in fact the same problem as the one described here : usage of from and insertLogical in the same rule. > The first created session adds and retract my 3 alerts, the second created session only adds the airplane alert. > > With using the explicit association object, I can reuse my kBase and everything is working well. > > ----------------------------------------- > Does someone already faced the problem ? > Does it looks like a real bug to dev team or am I doing something wrong (but as it work once, I guess it is a bug) ? > > > Vincent > > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > rules-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140828/ccf41041/attachment-0001.html From ephemeris.lappis at gmail.com Thu Aug 28 15:36:45 2014 From: ephemeris.lappis at gmail.com (Ephemeris Lappis) Date: Thu, 28 Aug 2014 21:36:45 +0200 Subject: [rules-users] Drools Fusion (CEP) & event life cycle In-Reply-To: <53FE2F44.2070208@gmail.com> References: <1406186516229-4030471.post@n3.nabble.com> <1407310721385-4030587.post@n3.nabble.com> <1409146236962-4030725.post@n3.nabble.com> <53FE2F44.2070208@gmail.com> Message-ID: <53FF84CD.1070207@gmail.com> Hello. Indeed, I have tested with the @expires and the objects are discarded in this case. What I had understood in the documentation is precisely the other way that the engine is expected to control the events expiration : "Inferred Expiration" (8.8.2), when no temporal constraint involves the objects, they are discarded. This seems the best way to be sure to eliminate as soon as possible all the useless objects, whatever their life time. This is particularly important with flows of thousands of events per second. Perhaps I don't understand this well... Another idea or advice ? Thanks for your help. Regards. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030727.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users