[ 
https://issues.apache.org/jira/browse/ARTEMIS-1058?focusedWorklogId=193241&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-193241
 ]

ASF GitHub Bot logged work on ARTEMIS-1058:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Feb/19 07:25
            Start Date: 01/Feb/19 07:25
    Worklog Time Spent: 10m 
      Work Description: gaohoward commented on issue #2534: ARTEMIS-1058 Jars 
in web tmp dir locked on Windows
URL: https://github.com/apache/activemq-artemis/pull/2534#issuecomment-459631440
 
 
   @clebertsuconic I'm not aware of the "encoded" issue, where can I get more 
information about it?
   The first commit is to avoid a temp file not being removed. This commit is 
to make sure Artemis as a windows service will get gracefully shutdown so the 
'cleanup' code from first commit gets called.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 193241)
    Time Spent: 1h 40m  (was: 1.5h)

> 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: 1h 40m
>  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)

Reply via email to