Not able to forward the request


#1

Hi Team,

In my Custom implementation of PageErrorHandler, when ever there is Java.lang.RuntimeException or HstComponentException, I am getting below Exception and its not forwarding request to intended error page.

[talledLocalContainer] 17.12.2018 08:44:36 WARN http-nio-8080-exec-8 [AbstractBaseOrderableValve.handleComponentExceptions:370] Exception during custom error handling. java.lang.UnsupportedOperationException: Resource response is not allowed to invoke forward().

Thanks,
Amit


#2

Hi Amit,
If you set log level of class org.hippoecm.hst.core.container.AbstractBaseOrderableValve to DEBUG you will get the exception stacktrace in the log as well, for more information.
Per default you can do that runtime using the CMS’s /logging/ servlet .

HTH
Jeroen