I allready checkt this community-discussion right here (http://community.jboss.org/message/251775). But that does not solve my problem. We are using authentication via JBoss SX and I'd like to provide a system-wide errorpage for authentication errors (403). I added this:
<error-page> <error-code>403</error-code> <localtion>/403.html</location> </error-page>
to my "server/default/deployers/jbossweb.deployer/web.xml" file and put the 403.html file to "server/default/deploy/ROOT.war" but the only thing I get is a nice blank page. It seems that the server can't find my error page but where do I have to place it correctly? Additionally the JBoss In Action books says that I should not deploy the ROOT.war in production environments so what is the corrent location?
Thanks a lot.