https://bz.apache.org/bugzilla/show_bug.cgi?id=60892

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The work directory contains:
- class files (and possible java files) for JSP pages
- serialized sessions that were active on shutdown

The work directory is removed automatically when a web application is
undeployed.

The work directory is not removed when Tomcat is shutdown.

If the work directory were removed on shutdown it would:
- break the default session persistence across restarts
- slow first access to JSPs as each would need to be re-compiled

Given that the work directory is removed on undeployment (if you have an issue
with locked files that is a different problem) and that removing the work
directory on shutdown breaks stuff, I'm leaning towards resolving this as
WONTFIX. However, I'll leave it open for now in case there are points I have
missed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to