Re: [rules-users] InstantiationError during condition evaluation in Drools 6.0.0.Final

2013-12-10 Thread Mario Fusco
Thanks a lot for your reproduced. I just fixed that problem. Cheers, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-InstantiationError-during-condition-evaluation-in-Drools-6-0-0-Final-tp4027161p4027190.html Sent from the Drools: User forum mailing list ar

[rules-users] Fwd: Gradle/SBT example for Drools6

2013-12-10 Thread Diego Alvarez Zuluaga
Hi Anyone has a working gradle/sbt configuration for Drools6? I tried a lot to convert the "bom" unsuccessfully :( This is not supported by gradle or SBT: org.drools drools-bom pom 6.0.0.Final

Re: [rules-users] Prevent re-evaluation of events in stream mode

2013-12-10 Thread Mark Proctor
Logically insert the average, in a separate rule. This will ensure there is an “average” fact that is maintained n the TMS. As it’s logically inserted, you don’t need to delete it. After any Transaction has been evaluated, you need to set a flag on it, so it’s not processed again. Mark On 9

Re: [rules-users] Fwd: Gradle/SBT example for Drools6

2013-12-10 Thread Geoffrey De Smet
The drools-bom is mostly aimed to make it easier for maven users, so they don't have to declare the version of every drools artifact separately in their dependencyManagement. In gradle, don't import the bom, declare a property for the drools version and just use that

[rules-users] Accessing items in a list

2013-12-10 Thread mkhan
Hi, I am new to doorls so please can you help me. I am trying to access an ietm from a list in a rule like ... $data: List(this != null, size > 9) from accumulate( $obj1 : FwVehicle( notchCodingWire1 != null, lineVoltage != null ) over wind

Re: [rules-users] Prevent re-evaluation of events in stream mode

2013-12-10 Thread sumantp
Thanks Wolfgang! Interesting alternative. I'll try that. Average is indeed a poor choice for the alarm and bank transactions are not really what I'm evaluating in my application ;-) I intend to use standard deviation with at least some number of data points. But it was easier to illustrate the eve

Re: [rules-users] Prevent re-evaluation of events in stream mode

2013-12-10 Thread sumantp
Thanks Mark! It seems like there are two alternatives - either roll my own average accumulation or set a flag in the event to prevent re-evaluation. -- View this message in context: http://drools.46999.n3.nabble.com/Prevent-re-evaluation-of-events-in-stream-mode-tp4027171p4027196.html Sent fro

[rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread anjana.ackroyd
I deployed kie-drools-wb-distribution-wars-6.0.0-20131207.033517-672-tomcat7.0.war to my tomcat. I am trying to point it to the repository I have by using the steps listed http://docs.jboss.org/jbpm/v6.0/userguide/wb.Workbench.html#wb.QuickStartAddRepository But under Administration all I see is F

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Michael Anstis
Was that a screen-shot of your installation? It looks fine to me.. you have one repository "uf-playground". What is missing? You can use the "Organizational Unit Manager" to show/manage OUs, or click on uf-playground in the tree-view to show it's (sparse) details. Or better still, move over to t

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Michael Anstis
I went to double-check what I'd said.. but the image is no longer available on nabble. If menus are missing, make sure your user has "admin" role. On 10 December 2013 18:38, Michael Anstis wrote: > Was that a screen-shot of your installation? > > It looks fine to me.. you have one repository "

Re: [rules-users] Drool 6.0.0.Final, 2 question re kie-maven-plugin, please?

2013-12-10 Thread Matteo Mortari
Thanks a lot for the fix ! Ciao, MM On Mon, Dec 9, 2013 at 7:53 PM, Mario Fusco wrote: > Hi, > > unfortunately you're right. I reproduced the problem regarding the need of > the duplicate dependencies declarations inside the plugin. I opened a > ticket > on jira to report this issue ( https://i

[rules-users] Insert to non-existing entry point causing NPE in drools server?

2013-12-10 Thread dunnlow
I am sending events to drools integration server (5.5). I have a good number of rules so I am looking at using entry points to speed things up. My client app will send to an entry point based on the value of one of the event attributes. While I will typically know all possible attributes, I may

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Mark Proctor
could you try with JBossAS 7.1.1? That’s the one we all use for our day to day testing? If you look at the set of videos in the playlist, the first one shows you how to do setup and installation. Each video shows a different part of the workbench. The video’s in the playlist can be played back

Re: [rules-users] Drools 6 - "kie-config-cli" seems not working with "kie-drools-wb"

2013-12-10 Thread nelson.wan
Thanks a lot. Now I understood that the config tool commands for adding role to OU, Repo and Proj are mainly to deal with new roles. In additon to admin and analyst roles, hope to see if any predefined role that can serve as a read-only user? If no such role, can I use config tool to create rea

[rules-users] Drools6 : Having trouble in using kie-ci

2013-12-10 Thread vimalkansal
Hi, I have an instance of Kie-WB running and I have started it with property "org.guvnor.m2repo.dir" set to some non default location (i.e not in /../home/.2). I am able to use the KIE WB to "build and deploy" the project to this repository. Then I have built a web application ( I have declared t

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Anjana Ackroyd
Ok I tried to deploy it on jboss 7.1.1 following the steps in the video My deploy fails with this error message 122:54:34,699 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-3) WELD-001440 Scope type @javax.enterprise.context.RequestScoped() used on injection point [field] @Inject @Request

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Mark Proctor
http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/wb.Workbench.html#wb.Installation 15.1.3. System properties org.uberfire.nio.git.daemon.host: If daemon enabled, uses this property as local host identifier. Default:localhost org.uberfire.nio.git.daemon.port: If daemon enabled, us

Re: [rules-users] Drools 6 - "kie-config-cli" seems not working with "kie-drools-wb"

2013-12-10 Thread Michael Anstis
We don't provide for read-only roles at present in 6.0. Sent on the move On 11 Dec 2013 02:10, "nelson.wan" wrote: > > Thanks a lot. Now I understood that the config tool commands for adding > role > to OU, Repo and Proj are mainly to deal with new roles. > > In additon to admin and analyst role

Re: [rules-users] Insert to non-existing entry point causing NPE in drools server?

2013-12-10 Thread Wolfgang Laun
What makes you think that using entry points "speeds things up"? The Engine still has to evaluate the entry-point attribute of a fact (handle), just like any other attribute. Or do you have conclusive evidence based on solid benchmarks? -W On 10/12/2013, dunnlow wrote: > I am sending events to

Re: [rules-users] Drools 6 - "kie-config-cli" seems not working with "kie-drools-wb"

2013-12-10 Thread Michael Anstis
I should elaborate a little. In 5.5 (and lower) we used JCR to authenticate but had our own authorization implementation. In 6.0 we use JACC for authentication and authorization driven by requests to use authentication and authorization provided by application-servers/containers. Subject to feed

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-10 Thread Michael Anstis
Have you add the workbench maven repository to your web-app's pom and the project you've compiled in the workbench as a decency? Have you disabled security for the maven repository or have you configured maven preemptive authentication in settings.xml? There were a number of emails last week with

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-10 Thread vimalkansal
Yup, I think that must be the issue, I simply forgot to do that. Thx a lot Vimal -- View this message in context: http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027215.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] Accessing items in a list

2013-12-10 Thread Wolfgang Laun
On 10/12/2013, mkhan wrote: > Hi, > I am new to doorls so please can you help me. > I am trying to access an ietm from a list in a rule like ... > > $data: List(this != null, size > 9) from accumulate( > $obj1 : FwVehicle( > notchCodingWire1 != null, > lineVoltag