Re: [rules-users] Bad Gateway at http://www.jboss.org/drools

2013-03-01 Thread Syargey
Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/Bad-Gateway-at-http-www-jboss-org-drools-tp4022614p4022650.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

[rules-users] Score traps - better docs

2013-03-01 Thread Geoffrey De Smet
Several users complained about not understanding score traps, so for 6.0 I 've improved the docs about it. It also explains some way to deal with them.

[rules-users] NoClassDefFoundError at config file

2013-03-01 Thread André Fróes
I'm importing my project to netbeans and I am having this exception: Exception in thread main java.lang.NoClassDefFoundError: org/drools/compiler/DroolsParserException at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2308) at

Re: [rules-users] NoClassDefFoundError at config file

2013-03-01 Thread Geoffrey De Smet
Op 01-03-13 13:32, Andr Fres schreef: I'm importing my project to netbeans and I am having this exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/drools/compiler/DroolsParserException

[rules-users] Accumulate Over window average NullPointerException

2013-03-01 Thread codemettle
Users, I am trying to follow this example in the main drools documentation: http://docs.jboss.org/drools/release/5.4.0.Final/drools-fusion-docs/html_single/index.html#d0e1242 I have a simple rule that listens for an event, and provide an average over a 3-event sliding window. I see 2 issues.

[rules-users] Fw: constraints lacking and in excess

2013-03-01 Thread Michiel Vermandel
Anyone having an idea? Thanks Michiel   - http://www.codessentials.com - Your essential software, for free! Follow us at http://twitter.com/#!/Codessentials - Forwarded Message - From: Michiel Vermandel mverm...@yahoo.com To: Rules lists.jboss.org

Re: [rules-users] add guvnor-webapp-core as a dependency to project

2013-03-01 Thread kooper
Ok, I think I got it(but I could be wrong). It seems that I cannot use guvnor-webapp-core as a dependency, outside of guvnor-webapp-drools war. As guvnor-webapp-core has CDI annotations on interfaces and and abstract classes that are not implemented in guvnor-webapp-core. So I need to implement

[rules-users] Planner 5.5.1 Immovable Planning entities

2013-03-01 Thread duggal
I have certain planning entities that are locked and their planning variables should not change their current values. I am implementing this using the SelectionFilter that returns false if an entity is NOT to be moved. However I see that the Construction Heuristic Phase (FFD) does assign a value

Re: [rules-users] Planner 5.5.1 Immovable Planning entities

2013-03-01 Thread Geoffrey De Smet
Op 01-03-13 18:14, duggal schreef: I have certain planning entities that are locked and their planning variables should not change their current values. I am implementing this using the SelectionFilter that returns false if an entity is NOT to be moved. However I see that the Construction

Re: [rules-users] Converting Drools 3.x to 5.5-A JBoss Rules compilation error...MyClassHelper cannot be resolved to a type

2013-03-01 Thread rbiller
I got a reponse on this posting on a different forum requesting me to verify the JDK differences, and even though Eclipse was set to JRE 1.6, the output class files when decompiled with javap showed the major version as 51 or 1.7. The classes were built with an ant script and java_home set to 1.6

[rules-users] Drools 5.5 and Java 1.6 versus 1.7 Question

2013-03-01 Thread rbiller
Does anyone know of a compatibility matrix that shows what JDK versions are compatible with Drools 5.5? The documentation mentions at least Java 1.5 is needed, and says some examples may need 1.6. I have encountered a problem when classes are compiled with Java 1.7, in that if they are

Re: [rules-users] Drools 5.5 and Java 1.6 versus 1.7 Question

2013-03-01 Thread André Fróes
I'm implementing my model with drools 5.5.0.Final and JDK 1.7 without any issue, my only problem is the lack of knowledge on drools hehe. 2013/3/1 rbiller bill...@verizon.net Does anyone know of a compatibility matrix that shows what JDK versions are compatible with Drools 5.5? The

Re: [rules-users] Drools 5.5 and Java 1.6 versus 1.7 Question

2013-03-01 Thread Geoffrey De Smet
I am using OpenJDK 1.7 to run Planner (which requires at least 1.6) and therefore drools. All planner stuff is compiled -source 1.6 and -target 1.6. I haven't tried a drools using project with -source 1.7 and -target 1.7 yet. If that fails (and you can verify that -source 1.6 and -target 1.6

Re: [rules-users] Planner 5.5.1 Immovable Planning entities

2013-03-01 Thread duggal
As per my understanding the construction phase should also leave the immovable entity alone. Am I doing something incorrect? This is a known issue in 5.5.x :/ Is there a workaround to lock entities in 5.5.x? Can i insert these locked planning entities as problem facts? I think I did this