I've just downloaded Solr to a Windows laptop and it runs fine using
Jetty in the example, but I'm having trouble getting it to run under
Tomcat.  I looked at the page on the Wiki and back through the mailing
archives, and tried two methods that seemed to work for other people:
dropping solr/example/solr directly under the Tomcat home, and copying
solr/example/solr to a separate directory and starting Tomcat from
there (after putting solr.war in webapps).  Neither works; the first
one throws a class not found, and the second gets me part of the admin
page.  In the logs, I get this:

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
...

How can I correct that error?  I found a post that says that the
problem is that the conf files can't be found, but I didn't find any
suggestions for correcting the issue.

I guess I'm going to try setting the Java system property in
admin.jsp.  However, it would also be useful if somebody could post
somewhere an example of the changes for the JNDI settings for Tomcat.
Not sure why I'm having so much trouble with it . . .

thanks,
Dave Halsted

Reply via email to