Re: [rules-users] Memory leak when deploying to Maven repository?

2014-06-11 Thread Sandjaja, Dominik
Hello, our scenario is like this: From our customer, we get an Excel file which contains something rule-like which we convert into actual Drools rule strings. Those, we want to deploy in our local Maven repository (the one being used by Drools/KIE/Maven) as an actual artifact. This allows us la

[rules-users] Memory leak when deploying to Maven repository?

2014-06-10 Thread Sandjaja, Dominik
Hello everybody, I use Drools to create rules from an external source and create an artifact from those rule strings, putting it into a local repository. A minimalistic working example can be found at https://github.com/dadadom/MavenMemoryLeakMinimalExample The code, taken from that example, i

Re: [rules-users] Efficiency questions about DSL

2014-05-19 Thread Sandjaja, Dominik
Hello, any progress or new on this issue? I am currently facing the situation that I'd like to create a "basic DSL" for different projects, placing it in a separate artifact which only gets included. It would be great if the KIE Workbench (and, obviously, the underlying engine) supported that.

Re: [rules-users] Startup KIE Workbench without network connection

2014-05-15 Thread Sandjaja, Dominik
πολύ, Ιωάννης Χριστοδούλου On Thu, May 15, 2014 at 6:27 PM, Sandjaja, Dominik mailto:dominik.sandj...@it-motive.de>> wrote: Hello, I try to setup KIE Workbench (6.1.0.BetaX) on Tomcat 7 on a Windows 2012 Server without connection to the internet. When starting up, the KIE-WB does not star

[rules-users] Startup KIE Workbench without network connection

2014-05-15 Thread Sandjaja, Dominik
Hello, I try to setup KIE Workbench (6.1.0.BetaX) on Tomcat 7 on a Windows 2012 Server without connection to the internet. When starting up, the KIE-WB does not start up. I get the following errors in localhost.log (cut for better readability): Mai 15, 2014 5:08:18 PM org.apache.catalina.core.

[rules-users] Broken KIE-WB binary for Tomcat 7

2014-03-18 Thread Sandjaja, Dominik
Hello, I just tried to install the KIE-Workbench on Tomcat 7 out of the downloaded file kie-drools-wb-distribution-6.0.1.Final.zip with authentication. It turns out that obviously the web.xml inside the WAR in binaries/kie-drools-wb-distribution-wars-6.0.1.Final-tomcat7.0.war is wrong. It is m

Re: [rules-users] Avoid parsiong project pom.xml when running Drools

2014-03-13 Thread Sandjaja, Dominik
Hello, the pom.xml of de.test.package:artifact:1.0.1: http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"; xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 4.0.0 de.test.package artifact 1.0.1 artifact

[rules-users] Avoid parsiong project pom.xml when running Drools

2014-03-13 Thread Sandjaja, Dominik
Hello, I am using Drools 6.1.0.Beta1 in a project with the following (shortened) pom.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>

Re: [rules-users] Find out order of insert in RHS

2013-02-08 Thread Sandjaja, Dominik
ch will "see" the actual order of insertion, and it can set the order-of-insertion property. -W On 07/02/2013, Sandjaja, Dominik wrote: > Hi everybody, > > short: is there a way to have an automatic counter for the RHS of a > rule when inserting several objects in one rule?

[rules-users] Find out order of insert in RHS

2013-02-07 Thread Sandjaja, Dominik
Hi everybody, short: is there a way to have an automatic counter for the RHS of a rule when inserting several objects in one rule? Long: I use drools with a DSL to insert items for a frontend dropdown box. The generated rule is e.g. like the following one: rule "testRule_H" dialect

[rules-users] Guvnor model with 'Comparable' not working

2013-01-14 Thread Sandjaja, Dominik
Hi everybody, I use Guvnor 5.4 and have a model which consists of classes and subclasses. @Entity public class TestClass { @Id private long id; @Embedded private TestEmbeddable embedded; } @Embeddable public class TestEmbeddable implements Comparable { @Column private St

[rules-users] Guvnor: Dependent Enumeration loosing value

2012-06-15 Thread Sandjaja, Dominik
Hi everybody, I use the advanced, dependent enumeration concepts of the Guvnor DSL as explained here (second part): http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html /ch04.html#d0e1887 In principle, this works fine: I get my values in the dropdown fields just fine, e.g. whe

Re: [rules-users] Programatically filled Enum not getting loaded

2012-06-14 Thread Sandjaja, Dominik
investigation needs to be carried out to confirm this, but for the moment I am happy J Greetings Dominik Von: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Sandjaja, Dominik Gesendet: Donnerstag, 14. Juni 2012 11:33 An: Rules Users List Betreff: AW

Re: [rules-users] Programatically filled Enum not getting loaded

2012-06-14 Thread Sandjaja, Dominik
Sounds like a bug to me. Please raise a JIRA at https://issues.jboss.org/browse/GUVNOR, including a self-contained repository export and your description below. With kind regards, Mike On 13 June 2012 16:47, Sandjaja, Dominik wrote: I use Guvnor 5.4.0 with the f

[rules-users] Programatically filled Enum not getting loaded

2012-06-13 Thread Sandjaja, Dominik
I use Guvnor 5.4.0 with the following Assets: Enum: 'Enums.Modules' : (new de.itm.util.DroolsEnumHelper()).loadModules() DSL: [when]Testmodule {module:ENUM:Enums.Modules} is just for testing={module} : Cylinder() DroolsEnumHelper-Class: public List loadModules() { List values = n

Re: [rules-users] Using 'from {x}.field' in DSL

2012-06-13 Thread Sandjaja, Dominik
ule} ( {field} != null) String( this.equalsIgnoreCase("{value}") ) from {abc}x.{field} -W On 12/06/2012, Sandjaja, Dominik wrote: > There is no expanded DRL. If I take that line into the DSL, I can't > even validate the DSL and if I have the line in it, I can't select any > DSL stateme

Re: [rules-users] Using 'from {x}.field' in DSL

2012-06-12 Thread Sandjaja, Dominik
users-boun...@lists.jboss.org] Im Auftrag von Wolfgang Laun Gesendet: Dienstag, 12. Juni 2012 17:31 An: Rules Users List Betreff: Re: [rules-users] Using 'from {x}.field' in DSL Have you checked the expanded DRL? What does this line look like? -W On 12 June 2012 17:06, Sandjaja, Dominik

[rules-users] Using 'from {x}.field' in DSL

2012-06-12 Thread Sandjaja, Dominik
I have the following Drools DSL "sentence": [when]The field {field} in the module {module} contains value {value}=$a : {module} ( {field} != null) String( this.equalsIgnoreCase("{value}") ) from $a.{field} where the `field` is a `Set` of Strings. Now, if I have two of these sentence