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
thing left out of my description. My solr.xml file had
>> an
>> illegal character at the top of the file. I hadn't noticed it until the
>> error logs pushed me in the right direction. Thanks for the pointer.
>>
>> Cheers,
>>
>> Tim
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Problems-getting-up-and-running.-tp23758840p23761217.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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 where
I'm at:
I installed Java:
sudo aptitude install sun-java6-jdk
I downloaded the latest Tomcat (6.0.18) and stuck it in /usr/local/tomcat
I downlo
10 matches
Mail list logo