Have same problem since switching from Seam 1.2.1.GA (with JBoss 4.0.5.GA) to
Seam 2.0.0.GA (with JBoss 4.2.1.GA)
ERROR [org.jboss.seam.drools.RuleBase] errors parsing rules in:
/META-INF/security-rules.drl
| ERROR [org.jboss.seam.drools.RuleBase] Rule Compilation error Type
mismatch: cannot
I copied seam space example to my app and removed everythink and works.
This is my rule file:
| package Permissions;
|
| import java.security.Principal;
|
| import org.jboss.seam.security.PermissionCheck;
| import org.jboss.seam.security.Role;
|
View the original post :
Quasi-empty rules file works for me too, but that is useful only in one of our
applications.
If I need rules it still does not work.
It works in a test application I wrote.
But it doesn't work in this larger application we're moving over from Seam
1.2.1.
Is it some tricky configuration issue
I recommend bringing his up on the Drools mailing list, that's where all the
Drools experts hang out.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108255#4108255
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108255
somethink changed? Why this works on jboss but on tomcat not?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097346#4097346
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097346
Have you fixed the code? Did it worked?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097678#4097678
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097678
___
jboss-user mailing
I think this is the problem:
Role(name == admin)
| not Role(name == user)
try:
Role(name == admin name != user)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097302#4097302
Reply to the post :