Jean Francois Denise created WFCORE-5242:
--------------------------------------------
Summary: The bootable JAR temporary files are not cleaned up properly on
Windows
Key: WFCORE-5242
URL:
https://issues.redhat.com/browse/WFCORE-5242
Project: WildFly Core
Issue Type: Bug
Components: Bootable JAR
Reporter: Jean Francois Denise
Assignee: James Perkins
Fix For: 14.0.0.Beta6
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
(v8.13.1#813001)