I'm using Jboss 3.2.1 with the Jetty bundle. I'm deploying a web application, and I'm using a FORM login with j_security_check and j_username and j_password. When I try to access a protected page I get redirected to the login.jsp (which is good). On a bad signin (wrong password or username) I get redirected to the badsignin.jsp (which is also fine). But during a successful login I seem to lose where I initially wanted to go. I get redirected to something like this http://localhost/;jsessionid=xxxx. So that obviously produces an error. The log shows that the user was authenticated. I'll attach the web.xml and jboss-web.xml that's in the war i'm deploying. Any help would be appreciated.
I had the same problem the other day, take off the "distributable" tag in your web.xml if it is there (or make sure you are running in the "ALL" configuration.