Hello, I'm trying to move forward with my solr system from 1.4 to 3.5 and ran into some problems with solr home. Is this a known problem?
My solr 1.4 gives me the following messages (amongst many many others…) in catalina.out: INFO: No /solr/home in JNDI INFO: using system property solr.solr.home: '/srv/solr' INFO: looking for solr.xml: /'/srv/solr'/solr.xml then finds the solr.xml and proceeds from there (this is multicore). With solr 3.5 I get: INFO: No /solr/home in JNDI INFO: using system property solr.solr.home: '/srv/solr' INFO: Solr home set to ''/srv/solr'/' INFO: Solr home set to ''/srv/solr'/./' SCHWERWIEGEND: java.lang.RuntimeException: Can't find resource '' in classpath or ''/srv/solr'/./conf/', cwd=/ After that solr is somehow started but not aware of the cores present. This can be solved by putting a solr.xml file into $CATALINA_HOME/conf/Catalina/localhost/ with <Environment name="solr/home" type="java.lang.String" value="/srv/solr" override="true" /> which results in INFO: Using JNDI solr.home: /srv/solr and everything seems to run smoothely afterwards, although solr.xml is never mentioned. I would like to know when this changed and why, and why solr 3.5 is looking for solrconfig.xml instead of solr.xml in solr.home (Am I the only one who finds it confusing to have the three names solr.solr.home (system property), solr.home (JNDI), solr/home (Environment name) for the same object?) Best Thomas