Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5232

The bootable JAR temporary files are not cleaned up properly on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 14.0.0.Final
    • None
    • Bootable JAR
    • None
    • Undefined

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: