TIm: I'm not sure if you figured this out on your own, but what you
describe below is perfectly fine. /usr/local/tomcat/webapps/ is where
tomcat is expanding the solr *application* and you have solr configured to
keep it's *data* in /var/solr/data.
If/when you upgrade in the future you can
2009/5/28 Koji Sekiguchi
> How does your look like in solrconfig.xml?
>
>
> ${solr.data.dir:./solr/data}
It looks just like this. Which made me notice that this variable isn't being
defined in the tomcat init.d script, so I added it. Now it kind of works. I
think. Although...
/var/solr/dat
Hello,
In the solrconfig.xml file, there is a property:
${solr.data.dir:./solr/data}
Try setting something else in here and see what happens...I'm not sure how
solr works with Ubuntu, but it's worth a shot...
Tim Haughton wrote:
>
> OK, I spoke too soon.
>
> When you tried it on
Tim Haughton wrote:
OK, I spoke too soon.
When you tried it on your Mac, did it create the index in the right place?
Yes, Solr created the index directory in $CATALINA_HOME/bin/solr/data/index
as I expected, because I started tomcat from bin directory.
(and I didn't specify -Dsolr.solr.home
OK, I spoke too soon.
When you tried it on your Mac, did it create the index in the right place?
Mine is still trying to create it under the webapps directory.
Cheers,
Tim
2009/5/28 Tim Haughton
> 2009/5/28 Koji Sekiguchi
>
>>
>> Ok.
>> I've just tried it (the way you quoted above) on my Mac
2009/5/28 Koji Sekiguchi
>
> Ok.
> I've just tried it (the way you quoted above) on my Mac and worked fine...
> Do you see any errors on Tomcat log when starting?
>
Sussed it. As you would imagine it was the stupidest of things. And probably
the *one* thing left out of my description. My solr.xm
Tim Haughton wrote:
Hi Koji, quoting from that page:
"/some/path/solr.war" is the absolute path to where ever you want to keep
the Solr war using the appropriate syntax for your Operating System. In
Tomcat 5.5 and later,* the war file must be stored outside of the webapps
directory* for this to
Hi Koji, quoting from that page:
"/some/path/solr.war" is the absolute path to where ever you want to keep
the Solr war using the appropriate syntax for your Operating System. In
Tomcat 5.5 and later,* the war file must be stored outside of the webapps
directory* for this to work. Otherwise, this
If you have webapps directory under /usr/local/tomcat, place solr.war to
there.
http://wiki.apache.org/solr/SolrTomcat
Koji
Tim Haughton wrote:
Hi, I'm all at sea with this. I'm trying to get Ubuntu 9.04 (x64 Server),
Tomcat 6.0.18 and Solr 1.3.0 to play together. So far, no dice. Here's whe