[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
Okay, found the issue. I used maven to build my war, and I built the dependencies that pulled the jars from maven central. It appears those are incompatible with the Seam setup. What I had from maven: commons-jci-core-1.0.jar commons-jci-janino-1.0.jar drools-compiler-3.0.5.jar drools-core-3.0.5

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
Gavin, I am no longer sure if this is a seam problem after all, but a problem with drools. In rules 3.0.6 (the only source I could get my hands on), The Rule.isValid() has: if ( this.consequence == null || !isSemanticallyValid() ) { but nowhere in the code is the consequence set, so it is al

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread [EMAIL PROTECTED]
OK, I added logging of errors to CVS, please try it out, I dont have time today. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057060#4057060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057060 __

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
In seam 1.2.1 in RuleBase.java there is the following code: packageDescr = new DrlParser().parse(drlReader); It never checks to see if the parser had any errors and therefore does not log them. Even worse, DrlParser is not a local variable to even have a look at using a debugger, and the Drools