Re: [rules-users] Problem creating package - validateUniqueRuleNames(PackageBuilder.java:830)

2011-03-03 Thread Wolfgang Laun
It could be an error in the DSL file. Check for errors after *each* builder.add(...). -W 2011/3/4 Saleem Lakhani : > Following is my code: > > > > KnowledgeBuilderConfiguration kbc = > KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(); > > kbc.setProperty("drools.dialect.java.compiler",

[rules-users] Problem creating package - validateUniqueRuleNames(PackageBuilder.java:830)

2011-03-03 Thread Saleem Lakhani
Following is my code: KnowledgeBuilderConfiguration kbc = KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(); kbc.setProperty("drools.dialect.java.compiler", "JANINO"); KnowledgeBuilder builder = null; builder = KnowledgeBuilderFactory.newKnowledgeBuilder(kbc); Reader drlSource =

[rules-users] 'Long' and 'double' value comparing problem in drools 5.1.0

2011-03-03 Thread Miles Wen
hi there, I have a simple fact class: public class Msg { private Long lo = 5l; private double dbl = 5.5; public Long getLo() { return lo; } public void setLo(Long lo) { this.lo = lo; } public double getDbl() { return dbl; } public voi

Re: [rules-users] Drools Clustering & High Availability

2011-03-03 Thread Mauricio Salatino
Hi Carlos, You should take a look at jBPM5 now. It has the same features than Drools Flow. Drools and jBPM5 are environment agnostic, so you can use them inside tomcat or jboss. Depending on your use case, jBPM5 can be configured to work on a cluster or for high availability. Can you elaborate a li

Re: [rules-users] Drools Clustering & High Availability

2011-03-03 Thread Mauricio Salatino
Hi Carlos, You should take a look at jBPM5 now. It has the same features than Drools Flow. Drools and jBPM5 are environment agnostic, so you can use them inside tomcat or jboss. Depending on your use case, jBPM5 can be configured to work on a cluster or for high availability. Can you elaborate a li

[rules-users] Drools Clustering & High Availability

2011-03-03 Thread Carlos Santiago Moreno
Hi there! My team and I were thinking on implementing Drools Flow on a project, running it on a Tomcat Apache server, but we have to investigate some little details of this tools before taking any desition. The thing is, that we have been searching, on a lots of forums, mailing lists, and blog post

[rules-users] Drools Clustering & High Availability

2011-03-03 Thread Carlos Santiago Moreno
Hi there! My team and I were thinking on implementing Drools Flow on a project, running it on a Tomcat Apache server, but we have to investigate some little details of this tools before taking any desition. The thing is, that we have been searching, on a lots of forums, mailing lists, and blog post

Re: [rules-users] Guvnor and drools implementation - questions

2011-03-03 Thread ioda100
Yes thanks it's working with enum like explained previously by Esteban. I won't do it dynamic for now i think. It's not always of the form ., i have some in . or . but for these i can make a separate DSL that will cast the string to int or long. Except if there is a better solution. Another thing

Re: [rules-users] Problems with repeated execution of rules

2011-03-03 Thread Dmitri Pissarenko
Thanks, now it works! Dmitri ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] How to modify changeset.xml in guvnor

2011-03-03 Thread Sathya Prakash
Hi, Is there any way where we can edit changeset.xml through console. http://drools-java-rules-engine.46999.n3.nabble.com/file/n2625118/screenshot.jpeg I am Jboss Esb for executing drools. Regards, Sathya Prakash. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabbl

Re: [rules-users] Guvnor and drools implementation - questions

2011-03-03 Thread Esteban Aliverti
"Maps.properties" is just a name I choose for the enumeration. You can use whatever identifier you want, but. The identifier has to be of the form .. It has to have a dot (.). I think this is because enumeration were created for bind a fact type attribute to a list of values. Best Regards, XX

Re: [rules-users] java.lang.RuntimeException: Unexpected global

2011-03-03 Thread Esteban Aliverti
Hi, The error is clear: There is no global defined with that name :P Are you checking for errors in kbuilder? Try to debug and see if the global is present in the generated kbase. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blo

Re: [rules-users] Guvnor and drools implementation - questions

2011-03-03 Thread Vincent Legendre
Title: CARTE DE VISITE I don't think that enums needs to be linked to a Pojo attribute. To me it is just an identifier used in ENUM DSL constraints. The 'properties' is not an attribute of a Map. I think you could set it to whatever you like (something more linked to your pr