As I said, if I change it in context.xml it works... but the question is...
how to make it from commandline, without modyfing config files.
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-change-extracted-directory-tp4078024p4078284.html
Sent from the Solr - Us
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