lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunnyfr <johanna...@gmail.com>
Subject Re: Check solr/home property
Date Fri, 03 Oct 2008 06:55:16 GMT

Thanks Hoss,

I thought it might come from tomcat if it doesn't find it :
root@solr-test:/etc/tomcat5.5/Catalina/localhost# ls
solr.xml

root@solr-test:/var/lib/tomcat5.5/webapps# ls
solr  solr.war

I have solrconfig.xml in my folder /data/solr/books/conf/
and I've multicore.xml in /data/solr/
<?xml version="1.0" encoding="UTF-8" ?>
<multicore adminPath="/admin/multicore" persistent="true" sharedLib="lib" >
  <core name="video" instanceDir="books" default="true" />
  <core name="group" instanceDir="group" />
  <core name="user" instanceDir="user" />
</multicore>

solr.xml
<Context path="/solr" docBase="/data/solr/solr.war" debug="0"
crossContext="true" >
   <Environment name="solr/home" type="java.lang.String" value="/data/solr"
override="true" />
</Context

And my error :
Oct  3 08:53:42 solr-test jsvc.exec[24013]: 0.058: [GC
Oct  3 08:53:42 solr-test jsvc.exec[24013]:  [PSYoungGen:
5121K->288K(298688K)] 5121K->288K(2005376K), 0.0021570 secs] [Times:
user=0.00 sys=0.00, real=0.01 secs]  0.060: [Full GC (System) [PSYoungGen:
288K->0K(298688K)] [PSOldGen: 0K->180K(1706688K)] 288K->180K(2005376K)
[PSPermGen: 3002K->3002K(21248K)], 0.0067110 secs] [Times: user=0.00
sys=0.00, real=0.00 secs]
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The
Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/usr/java/packages/lib/amd64:/lib:/usr/lib
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote
HTTP/1.1 on http-8180
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.catalina.startup.Catalina load INFO: Initialization processed in
350 ms
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.catalina.core.StandardService start INFO: Starting service
Catalina
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine:
Apache Tomcat/5.5
Oct  3 08:53:42 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:42 AM
org.apache.catalina.core.StandardHost start INFO: XML validation disabled
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.servlet.SolrDispatchFilter init INFO:
SolrDispatchFilter.init()
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: Using JNDI
solr.home: /data/solr
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.servlet.SolrDispatchFilter initMultiCore INFO: looking for
multicore.xml: /data/solr/multicore.xml
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: Using JNDI
solr.home: /data/solr
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.core.SolrResourceLoader <init> INFO: Solr home set to
'/data/solr/'
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.core.SolrResourceLoader createClassLoader INFO: Reusing
parent classloader
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.servlet.SolrDispatchFilter init SEVERE: Could not start
SOLR. Check solr/home property java.lang.RuntimeException: Can't find
resource 'solrconfig.xml' in classpath or '/data/solr/conf/', cwd=/ ^Iat
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:168)
^Iat
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:136)
^Iat org.apache.solr.core.Config.<init>(Config.java:97) ^Iat
org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:108) ^Iat
org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:65) ^Iat
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:89)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
^Iat org.apache.catalin
Oct  3 08:53:43 solr-test jsvc.exec[24013]: text.java:3635) ^Iat
org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
^Iat
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
^Iat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
^Iat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
^Iat
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
^Iat
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
^Iat org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
^Iat org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) ^Iat
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
^Iat
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
^Iat org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
^Iat org.apache.catalina.core.StandardHost.start(StandardHost.java:736) ^Iat
org.apache.catali
Oct  3 08:53:43 solr-test jsvc.exec[24013]: 14) ^Iat
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) ^Iat
org.apache.catalina.core.StandardService.start(StandardService.java:448)
^Iat org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
^Iat org.apache.catalina.startup.Catalina.start(Catalina.java:552) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
^Iat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
^Iat java.lang.reflect.Method.invoke(Method.java:597) ^Iat
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
^Iat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
^Iat java.lang.reflect.Method.invoke(Method.java:597) ^Iat
org.apache.commons.daemon.
Oct  3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM
org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException:
Can't find resource 'solrconfig.xml' in classpath or '/data/solr/conf/',
cwd=/ ^Iat
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:168)
^Iat
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:136)
^Iat org.apache.solr.core.Config.<init>(Config.java:97) ^Iat
org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:108) ^Iat
org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:65) ^Iat
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:89)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
^Iat
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
^Iat
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
Oct  3 08:53:43 solr-test jsvc.exec[24013]:
ontext.start(StandardContext.java:4222) ^Iat
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
^Iat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
^Iat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
^Iat
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
^Iat
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
^Iat org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
^Iat org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) ^Iat
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
^Iat
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
^Iat org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
^Iat org.apache.catalina.core.StandardHost.start(StandardHost.java:736) ^Iat
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) ^I
Oct  3 08:53:43 solr-test jsvc.exec[24013]: StandardEngine.java:443) ^Iat
org.apache.catalina.core.StandardService.start(StandardService.java:448)
^Iat org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
^Iat org.apache.catalina.startup.Catalina.start(Catalina.java:552) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
^Iat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
^Iat java.lang.reflect.Method.invoke(Method.java:597) ^Iat
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ^Iat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
^Iat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
^Iat java.lang.reflect.Method.invoke(Method.java:597) ^Iat
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)



-- 
View this message in context: http://www.nabble.com/Check-solr-home-property-tp19757163p19792991.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message