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

Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
Long ago a multi-client, multi-Oracle application was written using Struts. Recently, we had a 4 in 22,000 record data integrity issue. I found one client implementation that used prepared statements but the primary key was being used e.g. update mytable set a= ?, b=? where pri_key = + pkey

Re: Nervous about Sessions ...

2005-04-27 Thread Viorel Dragomir
Whitehurst To: tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 11:31 Subject: Nervous about Sessions ... Long ago a multi-client, multi-Oracle application was written using Struts. Recently, we had a 4 in 22,000 record data integrity issue. I found one client implementation

Re: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
in the package serializable. Viorel Dragomir . .. --- - Original Message - From: David Whitehurst To: tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 11:31 Subject: Nervous about Sessions ... Long ago

Re: Nervous about Sessions ...

2005-04-27 Thread Jay Hulslander
all objects in the package serializable. Viorel Dragomir . .. --- - Original Message - From: David Whitehurst To: tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 11:31 Subject: Nervous about Sessions ... Long

Re: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
To: tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 11:31 Subject: Nervous about Sessions ... Long ago a multi-client, multi-Oracle application was written using Struts. Recently, we had a 4 in 22,000 record data integrity issue. I found one client implementation that used prepared

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
, javax.servlet.jsp.jstl.core.Config.FMT_LOCALIZATION_CONTEXT,lc); (...) Do you know about any changes related to that in TC 5.5.x? Thank you! Paulo -Mensagem original- De: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 27 de abril de 2005 12:59 Para: Tomcat Users List Assunto: Re: Nervous about Sessions

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
:[EMAIL PROTECTED] Enviada em: quarta-feira, 27 de abril de 2005 12:51 Para: Tomcat Users List Assunto: Re: Nervous about Sessions ... To store a Java Object in session (HTTPRequest or HTTPResponse), just make any Object (POJO or something more complicated) implement serializable. Keep in mind, you

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
:59 Para: Tomcat Users List Assunto: Re: Nervous about Sessions ... There *technically* isn't any requirement that things you store in session be serializable. However, since some app servers use databases or file systems to persist session information, and that many times is implemented using

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