users@glassfish.java.net

Re: form based authentication doesn't work with war application

From: <glassfish_at_javadesktop.org>
Date: Fri, 30 Oct 2009 11:16:03 PDT

> Glassfish returns
>
> http://localhost:8080/ta/WEB-INF/login.jsp
> with HTTP status 404
>
> This is my login-config
> [...]
> form-login-page>/WEB-INF/login.jsp</form-login-page>
> form-error-page>/WEB-INF/erroLogin.jsp</form-error-page>

Im not sure, but I think the problem is that you have your login pages in the WEB-INF folder, which glassfish is not allowed to server. A bit of a guess here, but you could try moving the files up one folder level.

Brian
[Message sent by forum member 'bleathem' (bleathem_at_triumf.ca)]

http://forums.java.net/jive/thread.jspa?messageID=369993