activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARTEMIS-958) Improve web server tmp dir cleanup
Date Thu, 31 Aug 2017 19:12:46 GMT

     [ 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)

Mime
View raw message