osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2473: ARTEMIS-1058 Jars in web tmp dir locked...


GitHub user gaohoward opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2473

    ARTEMIS-1058 Jars in web tmp dir locked on Windows

    Because Sun's URLClassLoader never closes it's jar file handles
    Jetty doesn't cleanup is temp web dir after Artemis broker shut
    down normally on Windows.
    
    To work around this a new process is forked before broker VM
    exits to clean up the tmp dir if they are not deleted. The
    new process out lives the main VM so that those jar's handles
    are released and the temp dir can be cleaned up.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gaohoward/activemq-artemis b_522

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2473.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2473
    
----
commit af27cc96555390ec63d35e9c157aa658bde60797
Author: Howard Gao <howard.gao@...>
Date:   2018-12-19T14:54:59Z

    ARTEMIS-1058 Jars in web tmp dir locked on Windows
    
    Because Sun's URLClassLoader never closes it's jar file handles
    Jetty doesn't cleanup is temp web dir after Artemis broker shut
    down normally on Windows.
    
    To work around this a new process is forked before broker VM
    exits to clean up the tmp dir if they are not deleted. The
    new process out lives the main VM so that those jar's handles
    are released and the temp dir can be cleaned up.

----


---