GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/1007
ARTEMIS-958 Improve web server tmp dir cleanup
When server is shutdown by user the shutdown hook will check if the tmpdir
of the web server is cleaned up. However the cleanup is also performed in a
shutdown hook (using File.deleteOnExit). Because the order of execution of
hooks is not guaranteed, if the tmp dir is not cleaned up by the time of check,
we should add a 'force' delete to make sure the tmp dir is removed after server
stop.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis master-tmpdir
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1007.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1007
----
commit 340c0b3e8c106554db6631950ee1ed5c2ecb5f45
Author: Howard Gao <[email protected]>
Date: 2017-02-13T03:45:41Z
ARTEMIS-958 Improve web server tmp dir cleanup
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---