Hi,
I'm trying to change default tempDir where solr.war file is extracted to. 
If I change context or webbaps XML it works, but I need to do it from
commandline and don't know how. I tried to run:

java -Djava.io.tmpdir=/path/to/my/dir -jar start.jar

or 

java -Djavax.servlet.context.tempdir=/path/to/my/dir -jar start.jar

..without success. I always get default directory:


[main] WARN  org.eclipse.jetty.xml.XmlConfiguration  – Config error at <Set
name="tempDirectory"><Property name="jetty.home"
default="."/>/solr-webapp</Set>
...

Caused by: java.lang.IllegalArgumentException: Bad temp directory:
/opt/solr/app/solr-webapp
        at
org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:1127)

and suggestions?

regards





--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-change-extracted-directory-tp4078024.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to