You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Ate Douma (JIRA)" <ji...@apache.org> on 2010/05/28 15:40:38 UTC

[jira] Updated: (PLUTO-570) [Weblogic 10.3] PortalServletResponse doesn't implement getOutputsream()

     [ https://issues.apache.org/jira/browse/PLUTO-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated PLUTO-570:
----------------------------

    Fix Version/s:     (was: 2.0.2)

Without further input and help from the community I'm now dropping the anticipated fix version. 

> [Weblogic 10.3] PortalServletResponse doesn't implement getOutputsream()
> ------------------------------------------------------------------------
>
>                 Key: PLUTO-570
>                 URL: https://issues.apache.org/jira/browse/PLUTO-570
>             Project: Pluto
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>         Environment: Weblogic 10.3
>            Reporter: Khaled Tlili
>         Attachments: pluto_weblogic.jpg
>
>
> PortalServletResponse doesn't implement getOutputsream(). As weblogic call getOutpustream() and not getWriter() when a the portlet dispatch to a JSP then the output is broken. In addition to that the output of the portlet can't be catched:
> Example:
> ....
> try {
>             container.doRender(window, portalRequest, portalResponse);
>         } catch (Exception th) {
>             logger.error("Error while rendering portlet", th);
>         }
>         final String portletRendering = portalResponse.getInternalBuffer().getBuffer().toString();
> ....
> with weblogic portletRendering  is empty
> So, PortletSerletResponse should be:
> public class PortalServletResponse ...
>     ...
>     @Override
>     public ServletOutputStream getOutputStream() throws IOException {
>         return new PrintWriterServletOutputStream(getWriter(), "UTF-8");
>     }
>   ....
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.