Problem Statement: App-system log fills with below errors or even app services might not start
app-system log:2021/06/26 12:46:52.608 | SEVERE: Servlet.service() for servlet [default] in context with path [/niku] threw exception
2021/06/26 12:46:52.624 | java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
2021/06/26 12:46:52.624 | at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:472)
2021/06/26 12:46:52.639 | at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:129)
2021/06/26 12:46:52.655 | at com.niku.union.web.filter.XSSFilter.doFilter(XSSFilter.java:123)
Release: All Supported release
The probable causes are file level customization, could be keeping custom jar files under lib directory or keeping custom code under web root folder
It is recommended to keep any custom jar files under a separate folder lets say custom lib and its never recommended to make changes under webroot folder as its protected now.