Rapha�l Luta wrote:
> Andreas Heckwolf wrote:
>
>>Hello all,
>>
>>I am trying to get Jetspeed running on Orion 1.4.8. Got latest version of
>>Jetspeed from CVS this morning. Orion claims that the Outputstream already had been
>>retrieved when EcsScreenTag.doStartTag calls getWriter. So where else
>>could getWriter get called ? Any hints on how to trace this would be greatly
>>appreciated. Below the stack trace. Thanks in advance.
>>
>>Andreas
>>
>> Exception: java.lang.IllegalStateException: OutputStream already retrieved
>>
>
> If I remember correctly, this was an issue that occurs in the JSP template service
> in Turbine and Santiago sent a patch to the Turbine list for integration, so I guess
> this issue will be fixed when the Jetspeed codebase is upgraded to support Turbine
>2.1
>
My patch was for setBufferSize() giving a similar error when a JSP
Turbine Page was included using the TurbineScreenPortlet, IIRC.
I think the issue he sees is deeper. We are supposed to retrieve the
Writer in the top level EcsScreenTag, and handle it down everywhere. If
the servlet engine does not allow us to retrieve it there we are in trouble.
It could be some problem in Turbine, where they retrieve it twice, but I
doubt it. I'm grepping Jetspeed for "getWriter()", and only EcsScreenTag
is doing this.
Also, looking at turbine code, it looks right. I have looked for
getWriter() and getOut().
I think this is a problem related with the way Orion handles the output
stream. But it could be also raised by us mixing Velocity and JSP. :-?
(when I write this, it means I just don't understand)
> I guess either Jason or David can tell you more on this.
>
> --
> Raphael Luta - [EMAIL PROTECTED]
> Vivendi Universal Networks - Paris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]