Re: [rules-users] Error Creating New project

2014-03-28 Thread Michael Anstis
asn't on the blessed war. > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Friday, March 28, 2014 1:30 PM > *To:* Rules Users List > *Subject:* Re: [rules-users] Error Crea

Re: [rules-users] Error Creating New project

2014-03-28 Thread Michael Anstis
What is "with the merged deployment changes"? On 28 March 2014 19:28, Joe White wrote: > I received this error in the drools workbench when creating a new > project: > > > > Unable to complete your request. The following exception occurred: > java.lang.NoSuchMethodError:org.guvnor.common.servi

Re: [rules-users] Editing Action in Guided decision table ruins the action.

2014-03-27 Thread Michael Anstis
This has been fixed for the next release. On 27 March 2014 10:38, Ioannis Christodoulou wrote: > Hello everyone, > I'm using the latest stable kie workbench (6.0.1.Final) and I have created > a guided decision table containing an action with free form brl. > > Whenever I try to edit this action

Re: [rules-users] Simplified view for business users

2014-03-24 Thread Michael Anstis
Use of Drools Workbench and KieScanner would provide a solution. On 24 March 2014 18:36, vvicky72 wrote: > I have to expose a guided decision table to some non technical users. Is > there a different view that they can use to modify/add/delete rows in a > guided decision table and do a "hot dep

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Michael Anstis
Out of interest what JVM do you use? We have this recorded: https://bugzilla.redhat.com/show_bug.cgi?id=1078839(but it's on IBM's JVM). On 21 March 2014 14:17, ankit3j wrote: > Yes Maxime. They both are in same folder. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.

Re: [rules-users] Efficiency questions about DSL

2014-03-21 Thread Michael Anstis
It's a deliberate decision in the workbench; as it follows what is supported by the core engine. I've asked the core engine developers to comment on whether the underlying Drools engine supports (does support, should support or will support) cross-JAR DSLs. With kind regards, Mike On 21 March

Re: [rules-users] Rules updating error

2014-03-21 Thread Michael Anstis
> There is an issue with the application not validating, because I have a guided decision table which uses a global variable and a function, but that seems to not be an error after all (everything seems to build as it should). Fixed for the next release. On 20 March 2014 11:27, Ioannis Christodo

Re: [rules-users] cannot copy guided decision table

2014-03-21 Thread Michael Anstis
This has been fixed in the next release. You can download the sources and build locally if you want the fix sooner. On 21 March 2014 11:35, Ioannis Christodoulou wrote: > I tried to copy a guided decision table in kie workbench 6.0.1.Final > It created the new decision table, but the generated

Re: [rules-users] Want to post to this list

2014-03-21 Thread Michael Anstis
You just did! Feel free to post more.. and include your questions :) On 21 March 2014 10:01, Ankit Jain wrote: > Hi, > > I am Ankit Jain, a newbie to Drools. In order to get my queries answered I > would like to post to this mailing list. > > Regards > Ankit > > ___

Re: [rules-users] Updating project repositories

2014-03-20 Thread Michael Anstis
apaafrepo001.recondo.vci:8081/artifactory/recondo-release > > > > > > recondo-repo > > > http://papaafrepo001.recondo.vci:8081/artifactory/recondo-snapshot > > > > > > > > > > > > *From:* rules-users-boun...

Re: [rules-users] Rules updating error

2014-03-20 Thread Michael Anstis
unctionCall(List aList) { > System.out.println("List contains:"+list); > } > > the rules are initiated by calling: > KieSession ksession = > List globalList = new ArrayList(); > ksession.setGlobal("myGlobalList", globalList); > > On Thu, Mar 20,

Re: [rules-users] Updating project repositories

2014-03-20 Thread Michael Anstis
hange the configuration in the WB UI should I expect the jar to > end up in my remote repo? It is only ending up in my local repository. > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Th

Re: [rules-users] Rules updating error

2014-03-20 Thread Michael Anstis
ου > > > On Thu, Mar 20, 2014 at 9:02 PM, Michael Anstis > wrote: > >> From what I can gather from your email there are two problems. Please >> confirm and then we can comment further: >> >> (1) Validation of a guided decision table, that uses a global, reports a

Re: [rules-users] Efficiency questions about DSL

2014-03-20 Thread Michael Anstis
So many questions I can comment on the workbench related aspects. The workbench only includes DSL files for authoring DSLR (or RDSLR) files that are in the same "folder" as the rule. I use the term "folder" as we don't support "same package" (which would imply if the same package existed in d

Re: [rules-users] Updating project repositories

2014-03-20 Thread Michael Anstis
I've asked a colleague to comment. We do manipulate the pom for the UI but should retain original content that is not modified by the Project Editor. @Toni... What's your opinion? Sent on the move On 20 Mar 2014 18:03, "Joe White" wrote: Also, that is the same configuration that is in my sett

Re: [rules-users] Rules updating error

2014-03-20 Thread Michael Anstis
>From what I can gather from your email there are two problems. Please confirm and then we can comment further: (1) Validation of a guided decision table, that uses a global, reports a validation error. (2) Changes to the decision table's use of a global is not being detected bt KieScanner. Sent

Re: [rules-users] Pojos not visible in Guided DT

2014-03-19 Thread Michael Anstis
on. I'll try again to gather a better trace. > > > > Thanks > > Joe > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Wednesday, March 19, 2014 12:31 PM > *To:* Rules Users List > *S

Re: [rules-users] Pojos not visible in Guided DT

2014-03-19 Thread Michael Anstis
@JoeW I glimpsed at IRC before leaving for the day and saw you had a problem with Free Format DRL in a BRL Condition column. Could you raise a JIRA and I'll look at tomorrow (just need to finish something else first). Cheers, Mike Sent on the move On 19 Mar 2014 16:28, "Michael Anst

Re: [rules-users] Pojos not visible in Guided DT

2014-03-19 Thread Michael Anstis
gt; > If I reproduce on 6.1 I'll open a jira. > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Tuesday, March 18, 2014 7:36 PM > *To:* Rules Users List > *Subject:* Re: [rules-u

Re: [rules-users] Pojos not visible in Guided DT

2014-03-18 Thread Michael Anstis
That is strange. Can you provide steps to reproduce? Have you tried 6.1.0.Beta1? Sent on the move On 18 Mar 2014 22:30, "Joe White" wrote: > In the workbench has anybody seen a case where you can create a > decision table with the Wizard and it sees your classes. But the non- > wizard decisio

Re: [rules-users] function in guided decision table

2014-03-17 Thread Michael Anstis
hat it could > not analyze the function call expression. > > Ευχαριστώ πολύ, >Ιωάννης Χριστοδούλου > > > On Mon, Mar 17, 2014 at 12:45 PM, Michael Anstis > wrote: > >> "The problem is that I cannot find a way to declare the function and >> make it

Re: [rules-users] function in guided decision table

2014-03-17 Thread Michael Anstis
"The problem is that I cannot find a way to declare the function and make it visible from the guided" What does this mean exactly? Are you getting a validation error when clicking the "validate" button? Did you expect to see a function listed somewhere? On 17 March 2014 10:25, Ioannis Christodou

Re: [rules-users] (no subject)

2014-03-17 Thread Michael Anstis
ready for the RuleContext. On 17 March 2014 09:41, Sandhya Sree wrote: > no...Event doesnot have context field > > > On Mon, Mar 17, 2014 at 3:07 PM, Michael Anstis > wrote: > >> Assuming Event has a field called "context" (which is set by the >> constr

Re: [rules-users] (no subject)

2014-03-17 Thread Michael Anstis
Assuming Event has a field called "context" (which is set by the constructor you use in your RHS):- when $p: RuleContext($size: getOldContext().getParent().getUsableSpace() > (30*1024*1024)) * not Event( context == $p.getOldContext().getParent());* then Event event = new Event("folder almost f

Re: [rules-users] NullPointerException with factType.get(fact, "fieldname")

2014-03-17 Thread Michael Anstis
Glad you solved your problem :-) You can still create declarative types if you wish in 6.0.x but you'll need to create a DRL file and enter the applicable syntax. Cheers, Mike Sent on the move On 17 Mar 2014 08:03, "JarkkoMakela" wrote: > Manstis was right, I was trying to access Java class w

Re: [rules-users] NullPointerException with factType.get(fact, "fieldname")

2014-03-15 Thread Michael Anstis
pect that there is a problem with the interaction of the data modeller > and the package builder.. > > Jarkko, thanks for reporting this, it really looks like a WB bug! > Could you please open a JIRA ticket? > > Davide > > On 03/15/2014 04:09 PM, Michael Anstis wrote: > &

Re: [rules-users] NullPointerException with factType.get(fact, "fieldname")

2014-03-15 Thread Michael Anstis
n the DRL is compiled, so > I suspect that there is a problem with the interaction of the data modeller > and the package builder.. > > Jarkko, thanks for reporting this, it really looks like a WB bug! > Could you please open a JIRA ticket? > > Davide > > On 03/15

Re: [rules-users] NullPointerException with factType.get(fact, "fieldname")

2014-03-15 Thread Michael Anstis
ValidationError is indeed an *internal* workbench class. What makes you think you can query for it? Sent on the move On 15 Mar 2014 12:00, "JarkkoMakela" wrote: > This ValidationError is created with drools workbench data modeller. It has > only String fields. > I have only couple of rules (whic

Re: [rules-users] Too agressive scanning of classes in KieModuleMetaDataImpl

2014-03-14 Thread Michael Anstis
I agree, reporting could be improved. The problem is how to programmatically determine why a NoClassDefinitionFound exception was thrown. On 14 March 2014 12:35, vektory79 wrote: > > > > 2014-03-14 13:23 GMT+04:00 manstis [via Drools] <[hidden > email]

Re: [rules-users] Issue in Business Rule Guided Editor for BigDecimal and Date fields.

2014-03-14 Thread Michael Anstis
Please raise a GUVNOR JIRA including your data-model (a JAR will do) and an example rule (DRL form will be OK). Thanks, Mike On 14 March 2014 09:11, Rekha Somasundaran < rsomasunda...@thegoldensource.com> wrote: > Business Rule Guided Editor clears off the selected filter for BigDecimal > and

Re: [rules-users] Too agressive scanning of classes in KieModuleMetaDataImpl

2014-03-14 Thread Michael Anstis
The messages are produced as a consequence of your project's dependencies. For example: Verification of class org.hibernate.metamodel.source.annotations.JandexHelper failed and will not be available for authoring. Please check the necessary external dependencies for this project are configured co

Re: [rules-users] Pojo with spring dependency in DWB

2014-03-13 Thread Michael Anstis
Thanks for the JIRA. (If you implement a fix before we do, a pull request is always welcome! ) Sent on the move On 13 Mar 2014 21:02, "Michael Anstis" wrote: > Ok that explains it. > > Could you be kind enough to open a GUVNOR JIRA for this (stating what > you've sai

Re: [rules-users] Pojo with spring dependency in DWB

2014-03-13 Thread Michael Anstis
gon.getInputStream(StreamWagon.java:116) > ~[wagon-provider-api-1.0.jar:1.0] > > at > org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) > ~[wagon-provider-api-1.0.jar:1.0] > > at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) > ~[w

Re: [rules-users] Pojo with spring dependency in DWB

2014-03-13 Thread Michael Anstis
ifact information manually. > > > > Running on tomcat. > > > > > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Thursday, March 13, 2014 2:36 PM > *To:* Rules Users

Re: [rules-users] Pojo with spring dependency in DWB

2014-03-13 Thread Michael Anstis
.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) > > > org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70) > > > org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266) > > > > >

Re: [rules-users] Pojo with spring dependency in DWB

2014-03-13 Thread Michael Anstis
That's something I'm working on right now. Some where in the dependency chain for @Component is EntityManager that is not included in your project's dependencies (I guess scope "provided" but it can occur for other reasons). The best we're going to be able to achieve is handle the exception bette

Re: [rules-users] DSL sentence with multiple variables is defect

2014-03-13 Thread Michael Anstis
I tried with the latest code (6.1.0.Beta1) and it works OK. [when]When the credit rating is {rating:ENUM:Applicant.creditRating} and applicant dates is after {dos:DATE:default} = applicant:Applicant(creditRating=="{rating}", applicationDate>"{dos}") 1.|package org.mortgages; 2.| 3.|import java.la

Re: [rules-users] 6.0.1.F Enumeration Reloading Weirdness

2014-03-13 Thread Michael Anstis
We assume, even when a helper function is used, that the list is static. If you want to force server-side invocation of your helper function to refresh the list you need to include a parameter in the definition. This signals the list is dynamic and should be refreshed using the helper function. S

Re: [rules-users] Guvnor Building packages - Built-in selector - Status

2014-03-12 Thread Michael Anstis
Not without modification to the code base, no. Sent on the move On 12 Mar 2014 20:36, "Jens" wrote: > Hello everybody, > > We are using Guvnor 5.3.0 Final. > > So far we have built our rules packages without any built-in selector or > custom selector at all. It might be requested by business to

[rules-users] Fwd: Not able to deploy workbench

2014-03-12 Thread Michael Anstis
-- Forwarded message -- From: Maciej Swiderski Date: 12 March 2014 13:07 Subject: Re: [rules-users] Not able to deploy workbench To: Michael Anstis Cc: Toni Rikkola Mike, comments inline. Maciej On 12 mar 2014, at 13:16, Michael Anstis wrote: Any ideas? (With your tomcat

Re: [rules-users] Not able to deploy workbench

2014-03-12 Thread Michael Anstis
I know there were some (as yet) undocumented requirements to deploy correctly on tomcat. I've asked some of my colleagues, who were looking into, to comment further. Sent on the move On 12 Mar 2014 12:04, "stephan" wrote: > Thanks, manstis! > > The information and the link you provided were ver

Re: [rules-users] Not able to deploy workbench

2014-03-12 Thread Michael Anstis
You can disable various services; see http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.Workbench.html#wb.systemProperties The workbench uses git as it's repository for storing rules etc; so although you may not care much for git there is no avoiding it - however, disabling the

Re: [rules-users] Issue with a csv file & Drools Decisiontable

2014-03-11 Thread Michael Anstis
IIRC there's a Decision Table Parser configuration object that can be used to specify whether the decision table is XLS or CSV. I don't know how this is exposed to Spring or Karaf. Sent on the move On 11 Mar 2014 20:44, "Charles Moulliard" wrote: > Hi, > > Whenever I package a Drools project us

Re: [rules-users] 6.0.1.F EXTENDS in Guided Rule Editor does not work

2014-03-11 Thread Michael Anstis
I was able to replicate the reported behaviour, by clicking on the "validate" button for the rule that extends another. This is caused by the validation service only loading the single rule; and not that it extends too. For now, the validation message, can be ignored - as it does not cause any ot

Re: [rules-users] Some basic questions/assumptions on Drools Work-bench/Guvnor

2014-03-06 Thread Michael Anstis
nute. > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Thursday, March 06, 2014 8:25 AM > > *To:* Rules Users List > *Subject:* Re: [rules-users] Some basic questions/assumptions on

Re: [rules-users] 6.0.1.F EXTENDS in Guided Rule Editor does not work

2014-03-06 Thread Michael Anstis
May be, but the rules are not in the same package: *package com.xyz.cep;* rule "BaseRule" dialect "java" when then end *package com.securelogix.policy.cep;* rule "Child" extends "BaseRule" dialect "mvel" when then end That said; if Davide is correct, and rules need to be in the same package th

Re: [rules-users] Some basic questions/assumptions on Drools Work-bench/Guvnor

2014-03-06 Thread Michael Anstis
ns > as well if people have any. > > > > Once we are successful with this I suspect we may try and build some rule > lifecycle management into the workbench itself and contribute it back. But > it is a longer term project. > > > > > > *From:* rules-users-boun.

Re: [rules-users] Drools 6.0.1 Workbench - How to import existing drl files?

2014-03-05 Thread Michael Anstis
Ok, if I understand correctly you keep your rules in SVN, maintain them in Eclipse and want them in the workbench too? If this is correct then things are a little more tricky. As far as I recall Eclipse will not allow you to associate an Eclipse project with multiple VCSs. At the moment I suspect

Re: [rules-users] Some basic questions/assumptions on Drools Work-bench/Guvnor

2014-03-05 Thread Michael Anstis
6) Incorrect (well, almost.. read on). "Real time" would imply instant, zero latency, whereas for many use cases "close to real time" is often sufficient. If you read about KieScanner you will find you can have your application poll for updates to JARs* at a frequency you so desire. (*) There are

Re: [rules-users] 6.0.1.F How to use @role and @expires with DSL

2014-03-05 Thread Michael Anstis
The recommendation in 6.0.x is to use the Data Modeller. On 4 March 2014 23:25, SrjTx wrote: > I searched the forum and found some stuff from 2010 related to this - but > no > final answer, but was wondering if this has been added to 6.0.1.F > > I want to put > > declare Foo > @role(event)

Re: [rules-users] Some basic questions/assumptions on Drools Work-bench/Guvnor

2014-03-05 Thread Michael Anstis
1) Correct 2) Correct 3) Correct 4) Correct 5) Correct Your assumptions are spot on. On 4 March 2014 23:22, mattmadhavan wrote: > Hello, > I have some basic questions on the Drools workbench. Can some one please > validate my assumptions? > > 1) Drools workbench/Guvnor is not a replacement for

Re: [rules-users] Drools 6.0.1 Workbench - How to import existing drl files?

2014-03-05 Thread Michael Anstis
Sure. GIT is a version control system and is the repository implementation the workbench has by default. Simply put much like any VCS you can push/commit changes to it. Whether the changes are made "within" the workbench (as would be the normal case for most users) or whether you have a link to t

Re: [rules-users] Guvnor - Custom operator problem (Not finding it)

2014-03-05 Thread Michael Anstis
You should be able to do as Davide suggests - create a packagebuilder.conf file in the package; if not please raise a JIRA ( https://issues.jboss.org/browse/GUVNOR) and we will investigate. (This applies to 5.5, 5.6 and 6.0) On 4 March 2014 21:38, mattmadhavan wrote: > Hi Davide, > Sorry but a

Re: [rules-users] Drools template declaration in kmodule.xml

2014-03-05 Thread Michael Anstis
Hello, I believe the KIE API doesn't supports your use-case. You would normally use drools-templates pro grammatically: parse the template and interpolate your data. The resulting DRL would then be added to a KBase. Templates within the Workbench work exactly the same (and uses drools-templates)

Re: [rules-users] Drools 6.0.1 Workbench - How to import existing drl files?

2014-03-04 Thread Michael Anstis
1) When you upload a JAR to the workbench's maven repository you will be prompted for Group ID, Artifact ID and version; as required by maven, if the JAR does not already have a pom. 2) In order to manipulate a project outside of the workbench (I.e. add your rule files) you will need to clone it w

Re: [rules-users] Guvnor - How to delete assests

2014-03-04 Thread Michael Anstis
IIRC you need to archive them first; and then you can delete them from the Administration section. On 4 March 2014 16:47, mattmadhavan wrote: > Hello, > I see o way to delete packages and rules from within Guvnor. Any ideas how > do I do it? > > Thanks > Matt > > > > -- > View this message in c

Re: [rules-users] Embedding Workbench Docs Updated

2014-03-03 Thread Michael Anstis
Great stuff Alexandre, Could you please add the same brief text to the User Guide when you get a moment. Thanks Sent on the move On 3 Mar 2014 20:50, "Alexandre Porcelli" wrote: > For those interested on embedding workbench editors/perspectives into your > own applications, here is the doc rel

Re: [rules-users] Guvnor - Importing Drl file and rule display order

2014-03-03 Thread Michael Anstis
No. We sort by name within the UI. Sent on the move On 3 Mar 2014 18:48, "mattmadhavan" wrote: > Humm, > Is there any other "Cleaner" way please? > > Thanks > Matt'M > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Guvnor-Importing-Drl-file-and-rule-display-order-t

Re: [rules-users] Guvnor - Importing Drl file and rule display order

2014-03-01 Thread Michael Anstis
What version are you using? How did you import them? Where did you want them listed? Sent on the move On 28 Feb 2014 22:29, "mattmadhavan" wrote: > Hello, > Is there any to to display the rules that are imported to Guvnor displayed > in the order they were written in the DRL file? Or display t

Re: [rules-users] Fwd: Knowledge base cache

2014-02-28 Thread Michael Anstis
How do you know where the bottle-neck is? What are the relative times to:- (1) Read from the database (2) Instantiate objects (3) Instantiate KnowledgeBase On 28 February 2014 09:47, Raja Sekhar wrote: > Hi > Can someone answer this > Thanks & Regards, > Raj > > > -- Forwarded message

Re: [rules-users] Drools 6.0.1 with Spring - Custom Operator - Spring configuration for custom operators

2014-02-27 Thread Michael Anstis
I hear you... but I have no answers. Sent on the move On 27 Feb 2014 20:34, "mattmadhavan" wrote: > Hello, > Anyone out there please? > > Thanks > Matt'M > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-6-0-1-with-Spring-Custom-Operator-Spring-configuration-f

Re: [rules-users] bench marking results for drools

2014-02-26 Thread Michael Anstis
Write a test. Sent on the move On 26 Feb 2014 19:31, "Raja Sekhar" wrote: > Can any one answer this please > > > On 26 February 2014 21:00, Raja Sekhar wrote: > >> Hi All, >> For benchmark of drools rules.Any strategies are available? >> >> I want to test my rules with 10,000 facts to 20,000,00

Re: [rules-users] 6.0.1.F Do dependent enumerations work as in docs 16.10.1?

2014-02-25 Thread Michael Anstis
The spaces in your secondary definition might not help. Try 'MyBean.listType' : ['List', 'Regex'] 'MyBean.val[listType=List]' : ['a','b'] 'MyBean.val[listType=Regex]' : ['c','d'] On 25 February 2014 15:35, SrjTx wrote: > I am trying to do the dependent enumerations as covered in 16.10.1. > Ad

[rules-users] Fwd: Need Drools developer Help

2014-02-25 Thread Michael Anstis
-- Forwarded message -- From: Niraj Gupta Date: 25 February 2014 10:22 Subject: RE: Need Drools developer Help Hi Michael, I am using 'drools-guvnor 5.5.0.Final' open source tool for designing the business process (BPMN2). I end up in an issue and looking for he

Re: [rules-users] 6.0.1.F Defect(s) in DSL and Enumerations

2014-02-24 Thread Michael Anstis
Sound like bugs to me. Please raise a JIRA for DROOLS and ideally submit a pull request to github for a failing unit test (or at least attach one to the JIRA). Thanks Sent on the move On 25 Feb 2014 00:06, "SrjTx" wrote: > The following works like you would think: > > [when]xxx {l:ENUM:MyBean.

Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread Michael Anstis
Hello, Could you please run again with a log level INFO and paste a more complete stack trace? The download from http://www.jboss.org/drools/downloads for the workbench should be ok (it includes a zip for the example repositories). Thanks, Mike Sent on the move when starting the WB using JBPM

Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread Michael Anstis
Make sure you also set the system property to disable the automatic fetch of example repositories from github (I forget the name, I am not at my computer). Sent on the move On 24 Feb 2014 19:12, "rbesheer" wrote: > when starting the WB using JBPM 6 full installer package and after download > the

Re: [rules-users] 6.0.1.F Artifact Repository vs /lib dir

2014-02-21 Thread Michael Anstis
The problem is this: 1) At the moment you need to put enum helper classes in /lib (we simply haven't changed the way this worked from 5.5) 2) If the same JAR contains classes you need for rule authoring you need it uploaded to the M2 Repository and added as a dependency to your project. 3) If you

Re: [rules-users] 6.0.1.F Can this be done with enumerations?

2014-02-21 Thread Michael Anstis
No, but in master (i.e. unreleased) if you defined dependent enumerations and one value of a parent doesn't have a dependent enumeration defined it falls back to show a widget for the underlying data-type. For example:- Car.fuel = ["Diesel", "Petrol"] Car[fuel=Diesel] = ["BIO", "REGULAR"] Select

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-12 Thread Michael Anstis
A more complete stack trace would be useful; or your repository.xml.. either way there's not much to go on at the moment. On 12 February 2014 17:02, dunnlow wrote: > Getting there. Not sure what is up with my Guvnor repository, but if I > export the repo from guvnor, then unzip the xml file an

Re: [rules-users] Error parsing simple bpmn file - Null pointer exception

2014-02-11 Thread Michael Anstis
Pasting your code will help. I suspect the input stream for your bpmn2 file is null; but I'd be completely guessing. Sent on the move On 11 Feb 2014 18:22, "mattmadhavan" wrote: > Hello, > I am testing rule flow with simple flow - start--->ruleTask-->end > > I am not even able to parse a simple

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-11 Thread Michael Anstis
IIRC each package *should* become a separate project.. Each project would be a different folder in the output folder. On 10 February 2014 23:31, dunnlow wrote: > manstis wrote > > We'd be interested in hearing how your use goes too. We've endeavoured to > > cover everything in the migration to

Re: [rules-users] Is there anything exists in drools rule template for looping of a row in compiled rule template

2014-02-11 Thread Michael Anstis
Why would you want to look that line in a single DRL file? when $p: Person(age == @{age}) $p: Person(age == @{age}) $p: Person(age == @{age}) $p: Person(age == @{age}) $p: Person(age == @{age}) then Parameter @{age} would take the same value on each iteration. But, in short, no this is not

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-10 Thread Michael Anstis
We'd be interested in hearing how your use goes too. We've endeavoured to cover everything in the migration tool; but there may be some dark corners in older repositories. Sent on the move On 10 Feb 2014 19:44, "dunnlow" wrote: > Ah, in the "migration" directory...go figure :) Thank you (will

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-10 Thread Michael Anstis
There is a JCR (5.5.x) to 6.0 (GIT) migration tool available. IIRC it is part of the drools workbench distribution download. Sent on the move On 10 Feb 2014 18:40, "dunnlow" wrote: > We are currently using Drools 5.5 with Guvnor and investigating ways to > migrate to Drools 6 and workbench. Thu

Re: [rules-users] 6.0.1.F Guided Rule makes all argument types strings

2014-02-10 Thread Michael Anstis
Hello, I tried this with the latest build (from master branch on github) and could not replicate this issue. I have however raised a bug report for the single space character for the default value. With kind regards, Mike On 6 February 2014 19:11, SrjTx wrote: > I have a global class foo wi

Re: [rules-users] How to add entity classes to Workbench?

2014-02-04 Thread Michael Anstis
What version? Sent on the move On 4 Feb 2014 16:56, "John Manko" wrote: > I downloaded and configured Workbench (Guvnor), and I'd like to add my > entity classes to it in order to create rules to manipulate their data. I > don't see an JAR import function. Is this possible? > > > _

Re: [rules-users] Clarification needed on Workbench

2014-02-04 Thread Michael Anstis
1) yes Please read the user guide. Sent on the move On 4 Feb 2014 17:07, "John Manko" wrote: > I need some clarification on Workbench. > > First, I'd like to use Workbench to allow business analysts create > business rules to manipulate entity classes through the UI. Then, I'd like > to export

Re: [rules-users] KIE Workbench (kie-wb) vs eclipse+drools 6?

2014-02-04 Thread Michael Anstis
Assuming you have also linked your Eclipse workspace to GIT there are still a number of differences between the two environments; the degree to how this affects you depends upon your needs: There are more editors for different rule types and supporting artifacts in kie-wb (guided rule editor, guide

Re: [rules-users] Null pointer exception when adding drools to existing project

2014-02-03 Thread Michael Anstis
Does the NPE occur when all modules are open in an IDE or is at runtime; outside of an IDE? I had a similar problem when all modules were open inside my IDE. At the moment the only solution I have is to build the Drools module separately and keep it as a JAR dependency for my other modules. I be

Re: [rules-users] Uberfire jars missing for workbench?

2014-01-31 Thread Michael Anstis
In the User Guide there is a section about system properties for the workbench. One of these is to disable automatic installation of the example repository at github (I forget which; z.y.example or x.y.demo something like that). If you downloaded the workbench from the Drools download page this zi

Re: [rules-users] Uberfire jars missing for workbench?

2014-01-31 Thread Michael Anstis
All JARs that are used exclusively by GWT to compile client-side Java Script are excluded in the distributions as they are not needed at runtime. Sent on the move On 31 Jan 2014 20:18, "dunnlow" wrote: > I'm trying to run the new workbench (6.0) in Tomcat 7. I loaded the > distributed war for t

Re: [rules-users] DSL: Unable to Expand Error - Even things that shouldn't be expanded.

2014-01-30 Thread Michael Anstis
Using latest master I did the following steps (in mortgages example repository) 1) Add new Guided Rule 2) Tick "Use DSL" 3) Click OK 4) Add a DSL sentence 5) Validated rule - OK 6) Viewed Source - OK 7) Saved - OK 8) Re-opened - OK In conclusion I cannot replicate. Please provide the exact steps

Re: [rules-users] Project Explorer has dissappeared in KIE Workbench

2014-01-30 Thread Michael Anstis
Fix for Artifact Repository paging pushed<https://github.com/droolsjbpm/guvnor/commit/edd72a910> . On 30 January 2014 15:27, Michael Anstis wrote: > Gecko errors mean the WAR has only been compiled for Firefox... I don't > know if we are planning a re-release to fix or wheth

Re: [rules-users] Project Explorer has dissappeared in KIE Workbench

2014-01-30 Thread Michael Anstis
Gecko errors mean the WAR has only been compiled for Firefox... I don't know if we are planning a re-release to fix or whether you'll need to wait for the next release. I am working on the paging problem at the moment and will push a fix to source soon. Sent on the move On 30 Jan 2014 14:49, "Srj

Re: [rules-users] DSL: Unable to Expand Error - Even things that shouldn't be expanded.

2014-01-29 Thread Michael Anstis
"Most of the time" implies there are other occassions when you do not see it. Can you provide a link to an example repository containing a rule exhibiting the behaviour? I can dig out a bugzilla reference number tomorrow; when I'll be back on the laptop. Sent on the move On 29 Jan 2014 20:34, "S

Re: [rules-users] Usage of the jcr2vfs migration tool

2014-01-29 Thread Michael Anstis
You should be able to add (clone) the repository created by the migration tool using the administration perspective. Sent on the move On 29 Jan 2014 19:54, "dstern" wrote: > Are there instructions anywhere for using the jcr2vfs migration tool? > > I pruned my JCR repository (created under Guvnor

Re: [rules-users] Usage of the jcr2vfs migration tool

2014-01-29 Thread Michael Anstis
Oh, and BRL files should migrate too; if yours do not, create a test and raise a JIRA for GUVNOR (or even provide a pull request with a fix!!!) Sent on the move On 29 Jan 2014 19:54, "dstern" wrote: > Are there instructions anywhere for using the jcr2vfs migration tool? > > I pruned my JCR repos

Re: [rules-users] Can't get snmp/log4j to work with 6.0.1.F KIE-WB (this is a tough one!)

2014-01-27 Thread Michael Anstis
Good :) When building a project (to get the meta-data needed to drive the editors in the workbench) we iterate all classes resolved from Maven and call the following:- clazz.getDeclaredConstructors(); clazz.getDeclaredFields(); clazz.getDeclaredMethods(); clazz.get

Re: [rules-users] Can't get snmp/log4j to work with 6.0.1.F KIE-WB (this is a tough one!)

2014-01-27 Thread Michael Anstis
No, I was just lazy and didn't type the full JAR name! As well as uploading "jboss-jms-api_1.1_spec-1.0.1.Final.jar" to the Workbench's Maven Repository you need to add "jboss-jms-api_1.1_spec-1.0.1.Final.jar" as a dependency to your project. I copied and pasted this time :_) On 27 January 2014

Re: [rules-users] Can't get snmp/log4j to work with 6.0.1.F KIE-WB (this is a tough one!)

2014-01-27 Thread Michael Anstis
I assume you added jboss-jms-api as a dependency to your project? On 27 January 2014 16:08, SrjTx wrote: > Ok, so I really simplified this. > I got rid of all my other junk and wanted to see if a modern log4j would > load. > > I put in log4j 1.2.16 (Now more snmp, etc.) > I still get the same e

Re: [rules-users] Can't get snmp/log4j to work with 6.0.1.F KIE-WB (this is a tough one!)

2014-01-26 Thread Michael Anstis
Hi, Firstly if you want to use a JAR that doesn't have a POM you should be able to upload it "as is" to the workbench that should prompt you for the POM GAV and it'll inject a simple POM into the JAR for you. Secondly, all the errors you show indicate additional dependencies that are missing. For

Re: [rules-users] Kie-Workbench install error

2014-01-23 Thread Michael Anstis
There's also org.kie.example.repositories that can point to a local folder containing the example repositories. The workbench distribution on the drools download page contains a zip holding the example repositories that are at github (for those unable to access github). Sent on the move On 23 Jan

Re: [rules-users] DSL: Unable to Expand Error - Even things that shouldn't be expanded.

2014-01-21 Thread Michael Anstis
If you're using 6.0.1.Final WARs then you should not need to clear anything else (although there have been occasions when clearing the browser cache has been required - but since DSL expansion is server side this should not be necessary). Sent on the move On 20 Jan 2014 21:19, "SrjTx" wrote: > A

Re: [rules-users] Project Explorer has dissappeared in KIE Workbench

2014-01-20 Thread Michael Anstis
Can you please confirm you downloaded the WAR from http://download.jboss.org/drools/release/6.0.1.Final/kie-drools-wb-distribution-6.0.1.Final.zip On 20 January 2014 13:10, ivot wrote: > Hi All, > > I have installed JBoss 7.1.1 and deployed > kie-drools-wb-distribution-6.0.1.Final.war. > > Ho

Re: [rules-users] Unable to deploy drool-workbench on tomcat 7

2014-01-18 Thread Michael Anstis
it works normally. >>> But I changes the port of tomcat as well as I restart the whole machine. >>> Then I start the service which already deployed(i.e. drools one) and I >>> encountered the same error. >>> >>> And If there is any instance , then any I

Re: [rules-users] Unable to deploy drool-workbench on tomcat 7

2014-01-18 Thread Michael Anstis
Is the error message following a stop/restart of Tomcat? The message indicates an instance of the application may already be running or not shutdown correctly. Sent on the move On 18 Jan 2014 14:20, "Mohit Srivastava" wrote: > Hi Everyone, > > I tried to deploy drool-workbench on tomcat 7 . But

Re: [rules-users] DSL: Unable to Expand Error - Even things that shouldn't be expanded.

2014-01-17 Thread Michael Anstis
There was a bug that has now been fixed. I think it made the 6.0.1 cut. Sent on the move On 18 Jan 2014 01:04, "SrjTx" wrote: > I've done a couple DSL/RDSLR rules in the past with success. Been trying > to > create one today but get "Unable to expand" errors on validation on every > line, even

Re: [rules-users] Guvnor enumerations

2014-01-17 Thread Michael Anstis
If the enum values are available in the editor, but validation shows the error, it is a bug. Please raise a JIRA against GUVNOR. You cannot delete artifacts from the repository through the UI. You will need to perform this manually in the /repositories/kie folder (and your .m2 if applicable). Sen

Re: [rules-users] Guvnor enumerations

2014-01-17 Thread Michael Anstis
I assume your Java class has a public method of that name; and the class is on the server classpath? Sent on the move On 17 Jan 2014 19:40, "SrjTx" wrote: > I am seeing this behavior with 6.0.0 Final. > > I can't say that mine used to work with 5.x as I start with the 6.x series. > > Was this fi

<    1   2   3   4   5   6   7   8   9   10   >