Howdy,
You know, a debugger would let you walk through step by step and see
what's happening to your session and its attributes.

If you can't do that for whatever reason, you could add a logging
statement before every attribute modification your code does to the
session.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Wilian Zurita [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 03, 2003 7:54 PM
>To: Tomcat Users List
>Subject: Objects in session lost when using mutiple servers
>
>I'm having the following problem:
>
>Quick explanation: I'm losing objects stored in session.
>
>Long explanation (inside parenthesis, an explanation for whomever know
>struts):
>I have a servlet (a struts action, really) that stores an object (an
>ActionForm) in session, then redirects to a JSP page. The page display
>perfectly the information of the object, then I submit a form in that
>page that contains information to be changed in the object (submit the
>ActionForm), the object is further processed (in another action) and
>then again redirected to the same JSP page THEN the page does not
>displays the information correctly, because the object (the form) is
not
>in the session, somehow.
>
>Now, this happens only when I'm running 2 tomcat servers at the same
>time: I have a tomcat running in the x address with just one
>application, and another tomcat running in the y address with other
>(completely different) set of applications. I already check all the
>ports, (for the connectors and the server) the directories (in the
>catalina.sh script), and they are all different for each server.
>
>I'm thinking the problem HAVE to be when the server access the disk
(the
>servers are on different virtual machines!!!), but I'm really out of
ideas.
>
>Thank you in advance for your ideas,
>
>
>Wilian Z.
>P.S. : English is a second language for me, so, excuse my mistakes if
>any, and if something is not clear, I'll be glad to further explain it
>to anyone....thank you again!!!!!!
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to