[ https://issues.apache.org/jira/browse/ARTEMIS-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765809#comment-16765809 ]
ASF subversion and git services commented on ARTEMIS-1058: ---------------------------------------------------------- Commit 3a25748936d27937000c50c67281cb03d719c2f1 in activemq-artemis's branch refs/heads/2.6.x from Clebert Suconic [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=3a25748 ] ARTEMIS-1058 Fixing testsuite Possible NPE that will happen on ReplicatedFailoverTest only (cherry picked from commit b80a78d885e2568af41fc133b0185399385eda0c) > Jars in web tmp dir locked on Windows > ------------------------------------- > > Key: ARTEMIS-1058 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1058 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 1.5.3 > Environment: Windows > Reporter: Howard Gao > Assignee: Howard Gao > Priority: Minor > Fix For: unscheduled > > Time Spent: 2h 20m > Remaining Estimate: 0h > > The embedded jetty web server's WebAppClassloader holds up webapp's jar files > and does not release them after close. For that reason the web app's temp dir > cannot be cleaned up on Windows. (Other platforms like Linux doesn't prevent > a force delete of files even they are not released). > As long as this behavior exists we need to have a workaround to let > the tmp dir be cleaned up. > It is possible that we use a 'customized' classloader to replace jetty's > WebAppClassloader, in which we manually iterate every JarFile resources > and close them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)