You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wilian Zurita <wz...@eluniversal.com> on 2003/10/04 01:54:05 UTC
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org