Community
Participate
Working Groups
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.