Bug 180936 - When publishing to a running Tomcat server, try to delay work directory removal for deleted modules
Summary: When publishing to a running Tomcat server, try to delay work directory remov...
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Larry Isaacs CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 09:14 EDT by Larry Isaacs CLA
Modified: 2007-04-04 09:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Isaacs CLA 2007-04-04 09:14:44 EDT
When the "Publish module contexts to separate XML files" is enabled, modules can be added to running Tomcat server and accessed without requiring the server to be restarted.  Removing modules from a running server in this situation could work, but likely won't because publishing the removal includes deleting the associated work directory before Tomcat is done with it.  Most likely, Tomcat's standard attempt to serialize session data will fail because it can't write the ".ser" file to the deleted work directory.  If publishing occurs to a running Tomcat server, if possible, deletion of the work directory should be delayed to give Tomcat a chance to finish with the directory before its deletion.