I'm just getting started with JSF, and want to use it in an existing login form (mostly for localization), under Tomcat 5.
Everything works fine, until I try to use JSF.
My web.xml looks like:
I've left some stuff out (realm and all that is defined elsewhere, it's not the problem), but you get the idea. If I change the form-login-page to /login.jsp, and remove all the JSF stuff from that page, everything works fine. As soon as I switch over to JSF, I get the following exception in the tomcat logs:
I've tried gradually stripping out stuff from my login.jsp page, thinking maybe there was som un-serializable element in there, to the point where it now looks like this:
But I continue to receive the aforementioned Exception. If I comment out the forms authentication in web.xml, and try to use this page as a regular JSF page, everything works fine. Can anyone help me? I'm going crazy!
[ June 29, 2007: Message edited by: Philippe Desrosiers ]
Everything works fine, until I try to use JSF.
My web.xml looks like:
I've left some stuff out (realm and all that is defined elsewhere, it's not the problem), but you get the idea. If I change the form-login-page to /login.jsp, and remove all the JSF stuff from that page, everything works fine. As soon as I switch over to JSF, I get the following exception in the tomcat logs:
I've tried gradually stripping out stuff from my login.jsp page, thinking maybe there was som un-serializable element in there, to the point where it now looks like this:
But I continue to receive the aforementioned Exception. If I comment out the forms authentication in web.xml, and try to use this page as a regular JSF page, everything works fine. Can anyone help me? I'm going crazy!
[ June 29, 2007: Message edited by: Philippe Desrosiers ]