Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Objects in session lost when using mutiple servers

Objects in session lost when using mutiple servers

2003-10-03       - By Wilian Zurita

 Back
Reply:     1     2  

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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.