So I can confirm Solr does [use "java.io.tmpdir"|https://github.com/apache/solr/blob/defe79b3c3f022eb678a02ceecaebcbbbeb446fb/solr/core/src/java/org/apache/solr/spelling/suggest/LookupFactory.java#L48]. Unfortunately, it's not really configurable. Forcing a custom "java.io.tmpdir" in XWiki is technically possible (I assume we can change the value of any system property by maybe I'm wrong, to be tested), but it's not very clean to force that by default since it will impact everything in the JVM, so the application server internal stuff and any other application.
I'm afraid the best we can do at XWiki level is to provide an option (disabled by default) to set "java.io.tmpdir" to the configured XWiki temporary folder. And then to enable it in the XJetty package and in the Docker image.
WDYT [~vmassol] ?
[~fgn.crusader] were you able to force setting a custom -Djava.io.tmpdir (in the tomcat script in inside the docker image, for example), to at least confirm it fixes your problem and working in that direction would do the trick for you? |
|