You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Rodríguez Fernández <d-...@chronoexpres.com> on 2007/02/15 12:02:02 UTC

Tomcat restart and data session

Hi,
    Exists some way to to restart tomcat without loosing the session data?
Thanks




----------------------------------------------------------------------

La Información incluida en el presente correo electrónico es SECRETO
PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del
destinatario arriba mencionado. Si usted lee este mensaje y no es el
destinatario señalado, el empleado o el agente responsable de entregar
el mensaje al destinatario, o ha recibido esta comunicación por error,
le informamos que esta totalmente prohibida cualquier divulgación,
distribución o reproducción de esta comunicación, y le rogamos que nos
lo notifique inmediatamente y nos devuelva el mensaje original a la
dirección arriba mencionada.

Gracias.

The information contained in this e-mail is LEGALLY PRIVILEDGED AND
CONFIDENTIAL and is intended only for the use of the addressee named
above. If the reader of this message is not the intended recipient or
the employee or agent responsible for delivering the message to the
intended recipient, or you have received this communication in error,
please be aware that any dissemination, distribution or duplication of
this communication is strictly prohibited, and please notify us
immediately and return the original message to us at the address above.

Thank you.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat restart and data session

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
David Rodríguez Fernández wrote:

>     Exists some way to to restart tomcat without loosing the session data?
> Thanks

At least current versions of Tomcat will automatically save session data on 
shutdown and re-load it on the follwing startup. This is done by serializing 
the session data. So you have to make sure that data you add to the session 
object is also serializable or it will get lost.

http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Restart%20Persistence

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org