You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by sunnyfr <jo...@gmail.com> on 2008/10/01 15:31:21 UTC

Please big issue with solr, doesn't find solrconfig.xml

Hi everybody,

I've a big error which I can't fixe up:
 Could not start SOLR. Check solr/home property java.lang.RuntimeException:
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/
^Iat
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:168)

I've multicore.xml in data/solr/ ... it used to work, it's like it loose a
path or ...??

And I'm a bit stuck with it, everything is settled at the good place, my
solr.war in data/solr/
my solr.xml in /etc/tomcat5.5/Catalina/localhost/solr.xml
with :
<Context path="/solr" docBase="/data/solr/solr.war" debug="0"
crossContext="true" >
   <Environment name="solr/home" type="java.lang.String" value="/data/solr"
override="true" />
</Context>

But everythins is properly started :
root     22640  0.0  0.0  16516   364 ?        Ss   15:17   0:00
/usr/bin/jsvc -user tomcat55 -cp
/usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar
-outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -Xms256m
-Xmx2000m -XX:+UseParallelGC -XX:+AggressiveOpts -XX:NewRatio=5
-Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
-Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed
-Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5
-Djava.io.tmpdir=/var/lib/tomcat5.5/temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties
org.apache.catalina.startup.Bootstrap 

I don"t get :(, please any help would be excellent,

Thanks,
-- 
View this message in context: http://www.nabble.com/Please-big-issue-with-solr%2C-doesn%27t-find-solrconfig.xml-tp19760523p19760523.html
Sent from the Solr - User mailing list archive at Nabble.com.