activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Gao (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-958) Improve web server tmp dir cleanup
Date Mon, 13 Feb 2017 03:43:41 GMT
Howard Gao created ARTEMIS-958:

             Summary: Improve web server tmp dir cleanup
                 Key: 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

View raw message