RES: RES: Nervous about Sessions ...

2005-04-29 Thread Paulo Alvim
de 2005 17:34 Para: Will Hartung; Tomcat Users List; [EMAIL PROTECTED] Cc: Tomcat Users List Assunto: RES: RES: Nervous about Sessions ... Thank you very much, Frank... I had to create the following class

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Hi Frank, I think this post is related to mine: We had a few non-serializable objects stored in session in TC 5.0.28 but after migrating the app TC 5.5.9 is throwing java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute. ...when we try to put a non-serializable in the

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Ok Jay, But what about this JSTL recommendation: (...) javax.servlet.jsp.jstl.fmt.LocalizationContext lc = new javax.servlet.jsp.jstl.fmt.LocalizationContext(bundle); // This code just sets the lc variable - not serializable in the session object

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
Hi Paul, No, I don't know of any changes... I'm actually wondering if this is a restriction the latest servlet spec places on objects in session... I tend to doubt Tomcat would be imposing such a restriction unless the spec indicated such a restriction... I myself might learn something here!

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Will Hartung
From: Frank W. Zammetti [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 10:59 AM Hi Paul, No, I don't know of any changes... I'm actually wondering if this is a restriction the latest servlet spec places on objects in session... I tend to doubt Tomcat would be imposing such a

Re: RES: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
I heard something confusing in the reply. If Tomcat has a file caching under load, how does Tomcat serialize the objects in session if the client application isn't placing objects implementing java.io.serializable everytime? Will Hartung wrote: From: Frank W. Zammetti [EMAIL PROTECTED] Sent:

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Will Hartung
From: David Whitehurst [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 8:05 AM I heard something confusing in the reply. If Tomcat has a file caching under load, how does Tomcat serialize the objects in session if the client application isn't placing objects implementing

Re: RES: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
Will , I do editing application software for clients like BMW and Volkswagen, and my application had an issue where e.g. 2 records in 22,000 edits had the same data tied to different keys and different editors (users). I found that I was using a HashMap (not threadsafe, changed that) and I

RES: RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Alvim Cc: Tomcat Users List Assunto: Re: RES: Nervous about Sessions ... From: Frank W. Zammetti [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 10:59 AM Hi Paul, No, I don't know of any changes... I'm actually wondering if this is a restriction the latest servlet spec places on objects

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Will Hartung
From: David Whitehurst [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 9:15 AM Will , I do editing application software for clients like BMW and Volkswagen, and my application had an issue where e.g. 2 records in 22,000 edits had the same data tied to different keys and different editors