Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.1-rc2
-
None
Description
The RenderResponseImpl.setBufferSize method always throws an exception. The servlet spec states that this method must be called before any response content is written or an exception will be thrown and that it cannot be called after content is starting to be written.
When running in WebLogic the JSP parsing/rendering libraries used create code that calls the setBufferSize on the response. This results in an un-caught exception being thrown on WebLogic any time a JSP is rendered by a portlet.
Commenting out the setBufferSize/getBufferSize methods of the RenderResponseImpl seem to fix the problem since the calls are just passed to the underlying HttpServletResponse.