Caldarale, Charles R escreveu:
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
Subject: Session lost when app. is redeployed
Don't you think that telling us the version of Tomcat you're using, the JRE/JDK
level, platform, etc., just might be useful information?
Tomcat 6.0.18, Sun JDK 1.6.0_07, Windows, sorry.
The problem is when I redeploy the application, no mater
how I do it (replacing war, with lambda probe or with
tomcat redeployer). Even if the war was not changed, the
session is destroyed.
I can't reproduce your problem on the current level (6.0.18); all sessions and
their attributes remain intact after reloading a webapp via the Tomcat manager.
Note that if a webapp is *stopped*, the sessions are removed from memory, but
they are persisted to the work directory first, and recovered when the
application is restarted.
Reload works ok for me. What cause session lost is redeploy. It appears
for me that any type of redeploy does undeploy->deploy, and undeploy
does not serialize the session.
Adriano
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org