James Perkins created WFCORE-5232:
-------------------------------------
Summary: The bootable JAR temporary files are not cleaned up properly on
Windows
Key: WFCORE-5232
URL:
https://issues.redhat.com/browse/WFCORE-5232
Project: WildFly Core
Issue Type: Bug
Components: Bootable JAR
Reporter: James Perkins
Assignee: James Perkins
On Windows when an executable JAR is cancelled, {{CTRL+C}}, the temporary files seem to
not be deleted. Heaps of warning messages are logged indicating this. This is likely due
to JBoss Modules holding onto files which Windows sees as a lock and does not allow the
file to be deleted.
One possible option might be to launch a separate process which deletes the files. We
could introduce a temporary PID type of file that gets deleted at the end of the main
process ending the new process could look for and once removed the process could attempt
to delete the files.
This replaces the issue
https://github.com/wildfly-extras/wildfly-jar-maven-plugin/issues/174.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)