thanks, I didn't grasp the concept of "thread-safe" fully ;-)

Now I educated my self a bit and I think I managed to remove the
problem...

Neeme

> -----Original Message-----
> From: burtonator [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 23, 2000 12:58 AM
> To: JetSpeed
> Subject: Re: cocoon portlets reusing bug
> 
> 
> Neeme Praks wrote:
> > 
> > I've discovered a bug in either Jetspeed or Cocoon when using Cocoon
> > portlets:
> > I have some portlets that show records from database 
> depending on a user
> > who is logged in.
> > Sometimes when I load a portlet, it shows me the records of another
> > user, not mine (and the other user sees my records).
> > I've managed to track it down to the point that it seems to 
> be happening
> > only when two users load the same page simultaneously.
> > Anyone else experienced this problem?
> > 
> > Is it a bug in Cocoon XSP generator (incorrectly reusing 
> the existing
> > instances of XSP page classes) or is it a bug in CocoonPortlet? Any
> > ideas?
> 
> Well... is your Portlet threadsafe?  Seems like it might not be.  
> 
> Kevin
> 
> 
> -- 
> ** Should SUN Open Source Java? Please Vote: 
> http://relativity.yi.org/java **
> 
> Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
> burtonator)
> http://relativity.yi.org
> Message to SUN Microsystems:  "Please Open Source Java!"
> To fight and conquer in all your battles is not supreme excellence;
> supreme 
> excellence consists in breaking the enemy's resistance 
> without fighting.
>     - Sun Tzu, 300 B.C.
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 
> 


--
--------------------------------------------------------------
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