[ 
https://issues.apache.org/jira/browse/ARTEMIS-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

clebert suconic closed ARTEMIS-958.
-----------------------------------

> Improve web server tmp dir cleanup
> ----------------------------------
>
>                 Key: ARTEMIS-958
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-958
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.5.2
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to