tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46924] Session is lost when application is reloaded through touching the war file
Date Wed, 15 Apr 2009 22:57:06 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Mark Thomas <>  2009-04-15 15:57:03 PST ---
Good news and bad news I am afraid. The good news is that this is 'fixed'. The
bad news is that the fix is making the docs clearer that Tomcat is working as
designed in this case.

There are ways to achieve an update to an application without dropping the
sessions. The simplest is probably:
 - deploy as an exploded directory rather than a WAR
 - update the files
 - touch web.xml to trigger a reload

This is only one way. If you want to discuss the alternatives then please use
the users list.

The reason for the current behaviour is to prevent problems when WARs are
updated in incompatible ways and anything other than a full undeploy followed
by (essentially) a new deployment causes conflicts.

The updated docs are in trunk and 6.0.x and will be included in 6.0.20 onwards.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message