> -----Original Message-----
> From: Rapha�l Luta [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 25, 2000 10:52 AM
> To: JetSpeed
> Subject: Re: cocoon portlets reusing bug

[snip]

> Don't think so, AFAIK the Cocoon engine is a singleton, it 
> can safely be 
> shared.
> 
> > I imagine that when two consecutive hits come to the 
> CocoonPortlet and
> > this uses _static_ CocoonRenderer to render the content, then both
> > requests would get the results of the latter request...?
> > 
> > Rapha�l, you are the author of this code, can you comment?
> > 
> 
> Again I don't think so, the transform method, which does the 
> actual work, 
> only uses method local variables and these are always thread local.

correct, I checked that and didn't find a bug there...

> I think the bug is more likely located in the PortletFactory 
> which maybe 
> reuses incorrect memory cache entries.

Ok, I'll look into that...

I've narrowed it down to the point that I think Rundata (or
PortletConfig maybe) is being shared between two consequtive requests...
Actually I think that it is Rundata because if users view different
portlets they always see the correct portlet, the portlet just shows the
data of another user...

I'll keep looking...

Neeme


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to