"IllegalStateException: Committed" error on the doFilters.
From email trail https://groups.google.com/a/opencast.org/forum/#!topic/users/qMzBk-TjDbA
A slightly different fix/issue than expected since the specific (attached) stack trace is related to calling the resp.getOutputStream() before attempting to re-change the inprocess/committed response to a different header and body.