Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-399

Missing "work" subdir in distro leads to disappearing working files in /tmp, messes up web UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 1.2.5u1
    • Fix Version/s: 1.3.0-rc-1, 2.0.0
    • Component/s: Web UI
    • Labels:
      None
    • Environment:

      Bundled Jetty on Linux

    • Severity:
      Medium

      Description

      Per http://docs.codehaus.org/display/JETTY/Temporary+Directories , I recommend distributing the Artifactory zip file with the "work" subdirectory already created (similar to "logs"). Here is why: With no "work" subdirectory present, Jetty creates a working directory for Artifactory in /tmp on Linux. However, some of the contents - in particular the "jsp" subdirectory - are apparently subject to deletion (by the OS?) after a few hours/days, even though Jetty is still running. This causes the web UI to get messed up because needed files are now missing. If the artifactory-x.y.z/work directory exists before Artifactory is launched, it will be used by Jetty and no unwanted deletions happen.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yoavl Yoav Landman
              Reporter:
              rcalmbac Richard Calmbach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-399 -
                  SYNCHRONIZED
                  • Last Sync Date: