https://issues.apache.org/bugzilla/show_bug.cgi?id=50803
--- Comment #2 from Patrik Varga <varga.pat...@gmail.com> 2011-02-17 15:39:03 EST --- Created an attachment (id=26676) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26676) stack trace and output See attached stack trace and output when called from a JSF backing bean test method pvarga.test.LoginBacking.login() which basically looks like this: public String login() { HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); try { request.login(this.username, this.password); } catch (ServletException se) { System.out.println("getCause: " + se.getCause()); System.out.println("getRootCause: " + se.getRootCause()); System.out.println("getMessage: " + se.getMessage()); System.out.println("getLocalizedMessage: " + se.getLocalizedMessage()); System.out.println("stack trace:"); se.printStackTrace(); } return null; } As you can see the LoginException is logged in JAASRealm.authenticate() but not propagated into the ServletException. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org