Re: [rules-users] Guvnor 5.2.0-Final in Tomcat 6.0.32 fail to compile rules

2011-07-04 Thread Michael Anstis
Can you please provide more information, especially the rule you have created? If possible a copy of the resulting DRL would be cool too - (use the "View Source" menu option). Thanks, Mike On 4 July 2011 23:22, pamerida wrote: > Hi everyone, > > I am trying to create some rules with Guvnor gu

Re: [rules-users] Userv Product Derby drools implementation

2011-07-04 Thread Mark Proctor
On 05/07/2011 02:20, Wishing Carebear wrote: Hello, Is there a Drools implementation for the UServ Product Derby usecase. http://hydrogen.informatik.tu-cottbus.de/wiki/index.php/Using_Drools:_UServ_Product_derby_2005 I'm not aware of anything, but I'd love to see an ACE implementation using Att

[rules-users] Userv Product Derby drools implementation

2011-07-04 Thread Wishing Carebear
Hello, Is there a Drools implementation for the UServ Product Derby usecase. http://hydrogen.informatik.tu-cottbus.de/wiki/index.php/Using_Drools:_UServ_Product_derby_2005 Thanks, cabear ___ rules-users mailing list rules-users@lists.jboss.org https://l

[rules-users] Guvnor 5.2.0-Final in Tomcat 6.0.32 fail to compile rules

2011-07-04 Thread pamerida
Hi everyone, I am trying to create some rules with Guvnor guided editor but when I try to validate the rule it gives me a error message like this: "Unable to wire compiled classes, probably related to compilation failures:[Error: unable to resolve method using strict-mode: java.lang.Object.dateT

[rules-users] Guvnor errors stay forever

2011-07-04 Thread Justin Case
Hi all, Here's a funny thing I experience: I declare a function and do the mistake of verifying it before editing anything, while it's still a template (so it has chevrons). The verify obviously fails - but with a HTTP error 500! Server crashed?? Indeed I can see in the console: at org

[rules-users] delegate a task

2011-07-04 Thread damon
Hi, I call MinaTaskClient's delegate() method to delegate a task to another user, I found the state of the task is translate to '*Ready*', instead of '*Reserved*'. But from the 'Web Services Human Task Version 1.0' specification, The state will be translate to 'Reserved' when do delegat

Re: [rules-users] check whether a key is present in global Map, i.e. mimicking containsKey() behavior

2011-07-04 Thread Wolfgang Laun
You did not pass a Map object to the session object. See the API StatefulKnowledgeSession, putGlobal. -W On 4 July 2011 16:21, esstrata wrote: > Yes, I used eval. > In fact this is the error I'm getting > > org.drools.RuntimeDroolsException: productMap.containsKey($pid) == false : > [Error: una

Re: [rules-users] Unittesting in drools ?

2011-07-04 Thread Mark Proctor
On 04/07/2011 13:59, Andre wrote: > hm, im trying out some rulez and im asking my self, Is there some Kind of > Unittesting preconfigurated in that drools eclipse plugin ? > i havent found that feature.. No, but you can follow our unit tests for examples: https://github.com/droolsjbpm/drools/blob/m

Re: [rules-users] check whether a key is present in global Map, i.e. mimicking containsKey() behavior

2011-07-04 Thread esstrata
Yes, I used eval. In fact this is the error I'm getting org.drools.RuntimeDroolsException: productMap.containsKey($pid) == false : [Error: unable to access property (null parent): containsKey] [Near : {... Unknown }] And this is the line eval(productMap.containsKey($pid) == false) -- View t

Re: [rules-users] check whether a key is present in global Map, i.e. mimicking containsKey() behavior

2011-07-04 Thread Wolfgang Laun
On 4 July 2011 15:53, esstrata wrote: > Hello, > > I'm using Drools 5.1.1 in a JavaSE 6 project. > > I can't get running a rule where a value obtained from WM is check for > existence as a key of a global Map. > > I have a map of the type ProductTextCode -> Product, where keys are String > and v

[rules-users] check whether a key is present in global Map, i.e. mimicking containsKey() behavior

2011-07-04 Thread esstrata
Hello, I'm using Drools 5.1.1 in a JavaSE 6 project. I can't get running a rule where a value obtained from WM is check for existence as a key of a global Map. I have a map of the type ProductTextCode -> Product, where keys are String and values Product /global Map productMap/ Then in a rule

Re: [rules-users] Is there any way to compress (gzip) the rules package to optimize network traffic between server and agent?

2011-07-04 Thread tarley.lana
Geoffrey Thanks for the reply, I will include this feature as an option, because this problem is a architectural risk of my project. How can I send the patch to the community with these changes? -- View this message in context: http://drools.46999.n3.nabble.com/Is-there-any-way-to-compress-gzip-

[rules-users] Unittesting in drools ?

2011-07-04 Thread Andre
hm, im trying out some rulez and im asking my self, Is there some Kind of Unittesting preconfigurated in that drools eclipse plugin ? i havent found that feature.. -- View this message in context: http://drools.46999.n3.nabble.com/Unittesting-in-drools-tp3137475p3137475.html Sent from the Drool

Re: [rules-users] Drools with Spring - Need Help

2011-07-04 Thread Andre
in the spring xml you can also declare globals and you should be able to access them in the drl via name http://docs.jboss.org/drools/release/5.2.0.Final/droolsjbpm-integration-docs/html_single/index.htm i think its the setGlobal Command -- View this message in context: http://drools.46999.n3.

Re: [rules-users] drools - packaging creates a full snapshot...why?

2011-07-04 Thread Jervis Liu
On 2011/6/30 9:06, jcrowe wrote: > I have been using drools for almost a year now and build several packages a > day. Things are starting to slow down a bit and I've started to wonder if > it is because of all the workspace copies and the jcr overhead of them. I > have implemented a deletion of o

Re: [rules-users] sliding window combination ?

2011-07-04 Thread Wendy Mungovan
I think that you should be able to. $zCollection: ArrayList() from collect(Z over window:length(z_length)) $xCollection:ArrayList() from collect(X over window:length(y) from $ZCollection) I'm sorry I did not check the syntax so it might not be quite right but I've done accumulates over collect

Re: [rules-users] Common Practices for warning or debug rules/messages

2011-07-04 Thread wendy
Thank you, That sounds like a good idea if we could automatically fix the data or the rules were more fatal instead of warn/error level, but in our case it will require some human intervention and I don't think we will want to stop everything until it gets fixed. I will keep this in mind if

Re: [rules-users] System actions available within RHS

2011-07-04 Thread jpullmann
... thank you Wolfgang. Later I came across the sought example [1] for inserting events into an event stream within RHS. The pseudo-clock is obtainable / adjustable via the implicit "drools" object: SessionPseudoClock c = (SessionPseudoClock) drools.getWorkingMemory().getSessio

[rules-users] Drools Ruleflow deadlock issue[thread]

2011-07-04 Thread vdhinesh
Hi, i am getting the below error while creating the ksession.startProcess() instance in multithread. i.e. two thread calling the ksession.startprocess() with the ruleflow as http://drools.46999.n3.nabble.com/file/n3136706/ruleflow.bmp based on initial testing i identified due to delete or upda