On 11/10/06, David Halsted <[EMAIL PROTECTED]> wrote:
Nov 10, 2006 8:17:51 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.RuntimeException: Can't find resource '' in classpath or
'solr/conf/', cwd=C:\tomcat_solr
...

Hi David, the exception has all the info.  One of the places Solr
looks is in the current working directory for the "solr home".

So cp -r solr_nightly/example/solr/ C:\tomcat_solr
and things should work.

However, it would also be useful if somebody could post
somewhere an example of the changes for the JNDI settings for Tomcat.

For tomcat, you can also use a context fragment to point to the solr
war and to the solr home.  See "Configuring Solr Home with JNDI" at
http://wiki.apache.org/solr/SolrTomcat

<Context docBase="f:/solr.war" debug="0" crossContext="true" >
  <Environment name="solr/home" type="java.lang.String"
value="f:/my/solr/home" override="true" />
</Context>


-Yonik

Reply via email to