The webapp is configured with FORM based login, with form-login-page and form-error-page. Deployed under Tomcat 4.x Standalone everything works fine.
But inside the Jboss-3.2.1/Tomcat-4.1.24 bundle (where I added an application-policy for my datasource in login-config.xml - tried both flag="required" and flag="requisite") I wont get forwarded to the error-page when entering wrong username/password.
Giving a right Username/Password works fine, giving the right answers when executing "request.isUserInRole()".
Do you have the security-domain configured