How to disable "ErrorPageFilter"?

26 views
Skip to first unread message

Joud Kassem

unread,
May 29, 2019, 7:29:03 AM5/29/19
to grails-de...@googlegroups.com
Hi everyone, am getting this error when running my app on Tomcat:

ERROR org.springframework.boot.web.servlet.support.ErrorPageFilter - Cannot forward to error page for request [/static/authClient/login] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
javax.servlet.ServletException: Filtered request failed.
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:384)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

Anyone knows why and how to disable the `ErrorPageFilter`?

knwing that am working with grails4 so spring boot 2

Joud

unread,
May 29, 2019, 10:30:17 AM5/29/19
to Grails Dev Discuss
This page propose some solutions but how to apply it in a grails application? :/
Reply all
Reply to author
Forward
0 new messages