Additional Infomation:

2008/3/12 上午 11:10:54 org.apache.solr.core.SolrResourceLoader
locateInstanceDir
INFO: Using JNDI solr.home: /var/webapps/solr
2008/3/12 上午 11:10:54 org.apache.solr.servlet.SolrDispatchFilter init
INFO: looking for multicore.xml: /var/webapps/solr/multicore.xml
2008/3/12 上午 11:10:54 org.apache.solr.servlet.SolrDispatchFilter init
FATAL: Could not start SOLR. Check solr/home property
java.lang.ExceptionInInitializerError
        at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:104)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to
create an XPathFactory for the default object model:
http://java.sun.com/jaxp/xpath/dom with the
XPathFactoryConfigurationException:
javax.xml.xpath.XPathFactoryConfigurati...

2008/3/12 上午 11:10:54 org.apache.catalina.core.StandardContext start
FATAL: Error filterStart
2008/3/12 上午 11:10:54 org.apache.catalina.core.StandardContext start
FATAL: Context [/solr] startup failed due to previous errors


---------------------
Related config:
solr locate in /var/webapps/solr

tree:
/var/webapps/solr/
|-- README.txt
|-- bin
|   |-- abc
|   |-- abo
|   |-- backup
|   |-- backupcleaner
|   |-- commit
|   |-- optimize
|   |-- readercycle
|   |-- rsyncd-disable
|   |-- rsyncd-enable
|   |-- rsyncd-start
|   |-- rsyncd-stop
|   |-- scripts-util
|   |-- snapcleaner
|   |-- snapinstaller
|   |-- snappuller
|   |-- snappuller-disable
|   |-- snappuller-enable
|   `-- snapshooter
`-- conf
    |-- admin-extra.html
    |-- elevate.xml
    |-- protwords.txt
    |-- schema.xml
    |-- scripts.conf
    |-- solrconfig.xml
    |-- stopwords.txt
    |-- synonyms.txt
    `-- xslt
        |-- example.xsl
        |-- example_atom.xsl
        |-- example_rss.xsl
        `-- luke.xsl

solr.xml:
<Context docBase="/usr/lib/solr/solr.war" debug="0" crossContext="true" >
<Environment name="solr/home" type="java.lang.String"
value="/var/webapps/solr" override="true" />
</Context>

Can anybody help me? I am not so familiar with tomcat...


Vinci wrote:
> 
> I follow the tutorial on wiki but when I go to
> http://server_address/solr/admin
> I got tomcat error message:
> HTTP 404
> 
> Then I go to check in Tomcat manager, I see it is not started, when I
> attend to start it, I got this error message.
> 
> FAIL - Application at context path /solr could not be started
> 
> I am using tomcat 5.5 on debian, and I am placing the war file outside the
> /webapps; also I copied everything under /example/solr to the path I
> pointed to... I checked the file is here.
> 
> What I did wrong?
> 

-- 
View this message in context: 
http://www.nabble.com/Cannot-start-solr-tp15997140p15997330.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to