Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-51900

Synchrony is Ignoring java.io.tmpdir Property

    XMLWordPrintable

Details

    Description

      Summary

      Synchrony is ignoring the system property java.io.tmpdir when added to file synchrony-args.properties.

      Steps to Reproduce

      1. Add java.io.tmpdir=/path/to/your/own/temp/directory to <confluence-home>/synchrony-args.properties
      2. Restart Confluence
      3. Create or Edit a page

      Expected Results

      The file snappy-1.1.0.1-3787f697-2b19-4e27-9c89-be03fcde98a4-libsnappyjava.so is located under /path/to/your/own/temp/directory.

      Actual Results

      The mentioned file is located at the default system /tmp folder.

      Notes

      This is a regression on version 6.0.6, from versions 6.0.2 to 6.0.5 the property was successfully read by Synchrony. This is a big problem while working around the limitation of not being able to mount /tmp with exec permissions as in the following KB:

      Adding the property -Djava.io.tmpdir to setenv file does not work around this issue. Confluence reads the system property successfully but Synchrony does not.

      Workaround

      No known workaround at the moment.

      Attachments

        Issue Links

          Activity

            People

              jxie Chii
              bandreeti Bernardo Andreeti
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: