Actually, I want to use it with multiple cores, and my app dinamically add cores to solr. So, my solr.xml looks like this:
<?xml version="1.0" encoding="UTF-8" ?> <solr persistent="false"> <cores defaultCoreName="collection1" adminPath="/admin/cores" zkClientTimeout="${zkClientTimeout:15000}" hostPort="8983" hostContext="solr"> <core instanceDir="." name="collection1"/> </cores> </solr> so, my solr.home is jboss.home/solr, which is represented by the dot in instanceDir setting. My solr.home has the following files: conf/ -----stopwords.txt -----synonyms.txt data/ ----inde/ (etc..) solr.xml zoo.cfg zoo.cfg is the default of the solrcloud example. THanks in advance. On Fri, Nov 9, 2012 at 3:09 PM, Tomás Fernández Löbbe <tomasflo...@gmail.com > wrote: > Are you sure you are pointing to the correct conf directory? sounds like > you are missing the collection name in the path (maybe it should be > ../solr/YOURCOLLECTIONNAME/conf?) > > > On Fri, Nov 9, 2012 at 1:58 PM, Carlos Alexandro Becker > <caarl...@gmail.com>wrote: > > > I started my JBoss server with the following command: > > > > > > JAVA_OPTS="-DzkRun -DnumShards=2 -Dbootstrap_conf=true > > -Dbootstrap_confdir=../solr/conf -Xmx2048m -XX:MaxPermSize=512m" > > ./standalone.sh > > > > OK, server goes up, then I tried to search for something, and got the > > following error: > > > > 10:47:28,594 ERROR [org.apache.solr.core.CoreContainer] (MSC service > thread > > 1-6) : org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /configs/ecm/solrconfig.xml > > > > What am I missing? > > > > Thanks in advance. > > > > > > > > -- > > Atenciosamente, > > *Carlos Alexandro Becker* > > http://caarlos0.github.com/about > > > -- Atenciosamente, *Carlos Alexandro Becker* http://caarlos0.github.com/about