RE: StandardHostValve kills custom error message

2012-04-13 Thread Osipov, Michael
Konstantin Kolinko wrote: >> The message is not diplayed because in line 282 to 286 the message >> is killed by: >> else { >>            // A custom error-page has not been defined for the >> exception >>            // that was thrown during request processing. Check if an >>            // erro

RE: StandardHostValve kills custom error message

2012-04-12 Thread Osipov, Michael
Konstantin Kolinko wrote: > 2012/4/12 Osipov, Michael : >> Hi folks, >> >> I am sending a custom error message in my authenticator but it gets >> removed by the StandardHostValve. >> This is what I do in my authenticator: >> >> catch (PrivilegedActionException e) { >>   logger.error("Unable to l

Re: StandardHostValve kills custom error message

2012-04-12 Thread Konstantin Kolinko
2012/4/12 Osipov, Michael : > Hi folks, > > I am sending a custom error message in my authenticator but it gets removed > by the StandardHostValve. > This is what I do in my authenticator: > > catch (PrivilegedActionException e) { >   logger.error("Unable to login as the service principal", e.getE

StandardHostValve kills custom error message

2012-04-12 Thread Osipov, Michael
Hi folks, I am sending a custom error message in my authenticator but it gets removed by the StandardHostValve. This is what I do in my authenticator: catch (PrivilegedActionException e) { logger.error("Unable to login as the service principal", e.getException()); response.sendError(HttpS