tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukerjee, Neiloy (Neil)" <>
Subject Error with Solr configuration in Tomcat container
Date Wed, 17 Jun 2009 17:35:39 GMT
When trying to integrate Tomcat 6.0.20 and Solr 1.3.0, I get the below error after trying to
view the Solr admin page.

I downloaded Tomcat from the Apache website, and its installation went well, as indicated
by the fact that I can see the Apache Tomcat page in my browser when typing in my IP address
and indicating port 8080. I then downloaded the nightly build of Solr and tried to integrate
the two by putting the solr.war file in the Tomcat webapps directory and copying the /example/solr/
directory from Solr to the /solr/ directory in Tomcat. At this point, when trying to access
the Solr admin page from my browser, the below message is displayed (and it appears in the
log files for Tomcat).

The file solrconfig.xml is in /solr/conf/ in the Tomcat directory, but I'm not sure how to
interpret the current working directory, and Googling this error hasn't led me in any direction.
Any suggestions as to where to go from here would be greatly appreciated.

SEVERE: Could not start SOLR. Check solr/home property
java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/',
            at org.apache.solr.core.SolrResourceLoader.openResource(
            at org.apache.solr.core.SolrResourceLoader.openConfig(
            at org.apache.solr.core.Config.<init>(
            at org.apache.solr.core.SolrConfig.<init>(
            at org.apache.solr.core.SolrConfig.<init>(
            at org.apache.solr.core.CoreContainer$Initializer.initialize(
            at org.apache.solr.servlet.SolrDispatchFilter.init(
            at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
            at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
            at org.apache.catalina.core.ApplicationFilterConfig.<init>(
            at org.apache.catalina.core.StandardContext.filterStart(
            at org.apache.catalina.core.StandardContext.start(
            at org.apache.catalina.core.ContainerBase.addChildInternal(
            at org.apache.catalina.core.ContainerBase.addChild(
            at org.apache.catalina.core.StandardHost.addChild(
            at org.apache.catalina.startup.HostConfig.deployWAR(
            at org.apache.catalina.startup.HostConfig.deployWARs(
            at org.apache.catalina.startup.HostConfig.deployApps(
            at org.apache.catalina.startup.HostConfig.check(
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
            at org.apache.catalina.core.ContainerBase.backgroundProcess(
            at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(
            at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(
            at org.apache.catalina.core.ContainerBase$

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message