7 Replies Latest reply on Jul 11, 2003 3:57 AM by tsangcn

    No Default Context after failed login

      I am using JBoss 3.0.6 with Jetty, form based authentication, with a DatabaseLoginModule.

      First I try to access a protected resource
      http://localhost:8080/app-context/secure/index.jsp

      I get redirected to the login page.

      If I login successfully, I get sent to /app-context/secure/index.jsp.

      If I fail to log in on the first try, but succeed on the second try, it redirects me to http://locahost:8080 which is an ugly page displaying "No Default Context"

      Why does one failed login, make the webserver lose it's original destination? I dont want to have to configure a default context, that seems like treating the symptom and not the problem.

      Thanks for any help...I'm stumped.
      Frank