Synchrony is ignoring the system property java.io.tmpdir when added to file synchrony-args.properties.
- Add java.io.tmpdir=/path/to/your/own/temp/directory to <confluence-home>/synchrony-args.properties
- Restart Confluence
- Create or Edit a page
The file snappy-188.8.131.52-3787f697-2b19-4e27-9c89-be03fcde98a4-libsnappyjava.so is located under /path/to/your/own/temp/directory.
The mentioned file is located at the default system /tmp folder.
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:
- Editor fails to load in Confluence 6.x due to 'Could not initialize class org.xerial.snappy.Snappy' error
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.
No known workaround at the moment.