Re: How to change extracted directory

2013-07-16 Thread wolbi
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

How to change extracted directory

2013-07-15 Thread wolbi
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