Ok, now I've solved the problem. There were several mistakes in my web.xml, so it couldn't work.
Here are the important changes in my web.xml: | <login-config> | <auth-method>FORM</auth-method> | <realm-name>kamEntityManager</realm-name> | <form-login-config> | <form-login-page>/pages/login/login.jsf</form-login-page> | <form-error-page>/pages/login/error.jsf</form-error-page> | </form-login-config> | </login-config> | | <security-role> | <description>Authorized to see all webpages</description> | <role-name>login</role-name> | </security-role> | and | <context-param> | <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name> | <param-value>false</param-value> | </context-param> | If somebody can't follow my solution I'll post the whole web.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950614#3950614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950614 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user