Re: [rules-users] guvnor repo with Oracle issue

2012-06-06 Thread jnorris
Using Oracle11g. I don't know where to look for oracle logs so I don't have the answer to your question. Since the repository.xml file was generated by the drools-guvnor 5.4.0 application I was assuming that there should be no issues using it but obviously it doesn't work. The fact that the

Re: [rules-users] Guvnor 5.4 CR1 role based authentication with JBossAS 7

2012-06-06 Thread jnorris
Were you able to get this working? I have the login dialog showing but I get get an exception that An Authenticator could not be located. I have the following in beans.xml: security:IdentityImpl s:modifies/ security:authenticatorNamejaasAuthenticator/security:authenticatorName

[rules-users] modify keyword cancels activation unexpectedly

2012-06-06 Thread gboro54
I am using drools 5.4 and am running into a weird issue with using modify keyword. I have have two rules, both are similar in conditions(one rule catches 2 additional cases to modify the object with a generic message). Weather I add the checks for each rule into the into the generic rule or have a

Re: [rules-users] @PropertyReactive optimizations broken when using 'this' keyword

2012-06-06 Thread Mario Fusco
Hi, this is not a bug, but it is just working as we expected. Actually we had a few doubts while deciding how to deal with 'this' but in the end we chose to listen to all fields in that case, even because we cannot determine what fields are checked in the equals(...) method. Moreover you have

Re: [rules-users] modify keyword cancels activation unexpectedly

2012-06-06 Thread Wolfgang Laun
On 06/06/2012, gboro54 gbor...@gmail.com wrote: I am using drools 5.4 and am running into a weird issue with using modify keyword. I have have two rules, both are similar in conditions(one rule catches 2 additional cases to modify the object with a generic message). Weather I add the checks

Re: [rules-users] modify keyword cancels activation unexpectedly

2012-06-06 Thread gboro54
Thanks for the insightI was able to figure it out with have the generic rule listen for modifications to a certain property. The problem was that the method being invoked by the other more specific rules was using a convince method to modify the field so I needed to annotate the method with

[rules-users] Initial rule delay

2012-06-06 Thread Paul R.
Hi, I'm looking for a way to delay a rules initial execution? In the following example, I would like to prevent the rule from firing when the first Foo event is inserted into the working memory. rule DelayTest when $n : Number() from accumulate( $f : Foo() over window:time(10s) count($f) ) then

Re: [rules-users] modify keyword cancels activation unexpectedly

2012-06-06 Thread gboro54
Sorry for that. You are correct more information should have been provided to allow for help. Usually I am better at this but hurried myself a little this morning gboro54 wrote Thanks for the insightI was able to figure it out with have the generic rule listen for modifications to a

Re: [rules-users] Initial rule delay

2012-06-06 Thread Wolfgang Laun
Try: timer( int: initial 0 ) -W On 06/06/2012, Paul R. reverselo...@gmail.com wrote: Hi, I'm looking for a way to delay a rules initial execution? In the following example, I would like to prevent the rule from firing when the first Foo event is inserted into the working memory. rule

Re: [rules-users] Initial rule delay

2012-06-06 Thread Vincent LEGENDRE
In 5.4 timers support expressions for values. You can thus use a fact used to hold timer values (init and delay). This fact is created with some non-zero values, and reset all to zero once a first rule has triggered rule delayAtFirstTime timer(expr: $timerSpec.getDelay()+s , 0s) when

Re: [rules-users] Initial rule delay

2012-06-06 Thread Vincent LEGENDRE
Yes of course ... Simpler this way ... - Original Message - From: Wolfgang Laun wolfgang.l...@gmail.com To: Rules Users List rules-users@lists.jboss.org Sent: Mercredi 6 Juin 2012 18:02:40 Subject: Re: [rules-users] Initial rule delay Try: timer( int: initial 0 ) -W On 06/06/2012,

Re: [rules-users] guvnor repo with Oracle issue

2012-06-06 Thread Michael Anstis
Guvnor uses JCR that provides the means to store its content in a database. The generated repository configuration file defines table prefixes to try to eliminate potential name clashes. If importing into a schema that has pre-existing objects (that you cannot destroy) you could try changing the

Re: [rules-users] guvnor repo with Oracle issue

2012-06-06 Thread jnorris
Hi Mike, After changing the jvm settings in standalone.conf.bat to get rid of the out of memory error, I actually had it work once without any errors and was able to import the sample repository. Unfortunately I have not been able to repeat that. I think the naming errors I saw were because I

Re: [rules-users] Initial rule delay

2012-06-06 Thread Paul R.
Thanks Wolfgang, but setting the repeat-interval to 0 seems to have the same effect as omitting the repeat-interval [Tested in 5.1 5.4]. Thanks Vincent, this seems to work. However I was hoping for a simpler solution :) - Paul On Wed, Jun 6, 2012 at 5:06 PM, Vincent LEGENDRE

Re: [rules-users] guvnor repo with Oracle issue

2012-06-06 Thread Michael Anstis
Hi Jim, droolsjbpm-build-bootstrap\README.md contains some recommendations (all be it not specifically for web-server configutation). Building with maven we recommend: -Xms256m -Xmx1024m -XX:MaxPermSize=512m Running from within Eclipse we recommend: -Xms512m -Xmx2048m -XX:MaxPermSize=512m

Re: [rules-users] Initial rule delay

2012-06-06 Thread Vincent LEGENDRE
try with a negative number ? - Original Message - From: Paul R. reverselo...@gmail.com To: Rules Users List rules-users@lists.jboss.org Sent: Mercredi 6 Juin 2012 19:26:22 Subject: Re: [rules-users] Initial rule delay Thanks Wolfgang, but setting the repeat-interval to 0 seems to have

Re: [rules-users] Initial rule delay

2012-06-06 Thread Wolfgang Laun
On 6 June 2012 19:26, Paul R. reverselo...@gmail.com wrote: Thanks Wolfgang, but setting the repeat-interval to 0 seems to have the same effect as omitting the repeat-interval [Tested in 5.1 5.4]. There's bound to be some other effect that recreates the activation. I've tested this (using

Re: [rules-users] Initial rule delay

2012-06-06 Thread Mark Proctor
On 06/06/2012 18:39, Vincent LEGENDRE wrote: try with a negative number ? I would ommit the number all together. I suspect what 0 does is schedule with intervals of 0s, thus it fires straight away. timer(int: 5s) Mark - Original Message - From: Paul R.reverselo...@gmail.com To: