Post your web.xml jboss-web.xml and auth roles.properties
Oops only roles.properties
Thanks, but just now I found out about the problem.
I would have liked JBoss to show a more explicit error message - it is always difficult to debug from messages which just state that somewhere something is somehow wrong. Anyway, through experimenting with different configurations it turned out that I had to specify a login-config in web.xml - Added the following: