Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2534

Temp folder location and configuration

    Details

    • Type: Documentation
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.7.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      The documentation does not speak about usage of java.io.tmpdir and configuration of it.
      The documentation mention "jboss.server.tmp.dir" but it not configurable at project-defaults.yaml,
      It also does not speak about thorntail.io.tmpdir, and it configurable only at "java -jar -Dthorntail.io.tmpdir"
      Source Code: swarm/bootstrap/util/TempFileManager.java
      Temporary directory may should configurable at .yaml file.

      At Windows the Thorntail does not clean up temp directory after the Ctrl + C is pressed: 2020-02-21 11:24:57,639 ERROR [stderr] (Thread-2) java.nio.file.FileSystemException: <path>\temp\thorntailsecurity-2.6.0.Final2351621062927122840.jar: The process cannot access the file because it is being used by another process.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                theonlinewolf Gergely Molnár
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: