nutch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng Li <chen...@usc.edu>
Subject Re: solr velocity configuration
Date Mon, 25 Jul 2011 19:36:00 GMT
Actually I cannot subscribe the solr mailing list...


  Now I am doing  the stuff dealing with Nutch -1.3 + solr .  So I wonder if
anyone here faces the similar situation.

Thanks,

On Mon, Jul 25, 2011 at 11:46 AM, Markus Jelsma
<markus.jelsma@openindex.io>wrote:

> The SOLR_HOME dir you point to doesn't have a config file, it seems.
>
> You should direct Solr questions to the Solr user list.
>
> > Hi,
> >
> >
> >     I followed the instruction here
> > http://wiki.apache.org/solr/VelocityResponseWriter ,
> >
> >     I typed java -Dsolr.solr.home=../contrib/velocity/src/main/solr/ -jar
> > start.jar   in example directory, and the log information is below,
> >
> >    From the log , I noticed that   there is a error  :    SEVERE:
> > java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in
> > classpath or '../contrib/velocity/src/main/solr/./conf/',
> > cwd=/opt/apache-solr-3.3.0/example
> >
> >     Any idea for solving this problem?  I use apache-solr -3.3.0
> >
> >
> > 2011-07-25 11:33:40.307:INFO::Logging to STDERR via
> > org.mortbay.log.StdErrLog
> > 2011-07-25 11:33:40.527:INFO::jetty-6.1-SNAPSHOT
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: JNDI not configured for solr (NoInitialContextEx)
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: using system property solr.solr.home:
> > ../contrib/velocity/src/main/solr/
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader <init>
> > INFO: Solr home set to '../contrib/velocity/src/main/solr/'
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrDispatchFilter init
> > INFO: SolrDispatchFilter.init()
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: JNDI not configured for solr (NoInitialContextEx)
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: using system property solr.solr.home:
> > ../contrib/velocity/src/main/solr/
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.CoreContainer$Initializer
> > initialize
> > INFO: looking for solr.xml:
> > /opt/apache-solr-3.3.0/example/../contrib/velocity/src/main/solr/solr.xml
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: JNDI not configured for solr (NoInitialContextEx)
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: using system property solr.solr.home:
> > ../contrib/velocity/src/main/solr/
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.CoreContainer <init>
> > INFO: New CoreContainer: solrHome=../contrib/velocity/src/main/solr/
> > instance=1220373087
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader <init>
> > INFO: Solr home set to '../contrib/velocity/src/main/solr/'
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader <init>
> > INFO: Solr home set to '../contrib/velocity/src/main/solr/./'
> > Jul 25, 2011 11:33:41 AM org.apache.solr.common.SolrException log
> > SEVERE: java.lang.RuntimeException: Can't find resource 'solrconfig.xml'
> in
> > classpath or '../contrib/velocity/src/main/solr/./conf/',
> > cwd=/opt/apache-solr-3.3.0/example
> >     at
> >
> org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.jav
> > a:268) at
> >
> org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:
> > 234) at org.apache.solr.core.Config.<init>(Config.java:141)
> >     at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:131)
> >     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435)
> >     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
> >     at
> >
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.jav
> > a:133) at
> >
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
> >     at
> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
> >     at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >     at
> >
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713
> > ) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at
> >
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282
> > ) at
> > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
> >     at
> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
> >     at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >     at
> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:
> > 152) at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCo
> > llection.java:156) at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >     at
> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:
> > 152) at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >     at
> > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >     at org.mortbay.jetty.Server.doStart(Server.java:224)
> >     at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >     at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
> > 7) at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> > l.java:43) at java.lang.reflect.Method.invoke(Method.java:616)
> >     at org.mortbay.start.Main.invokeMain(Main.java:194)
> >     at org.mortbay.start.Main.start(Main.java:534)
> >     at org.mortbay.start.Main.start(Main.java:441)
> >     at org.mortbay.start.Main.main(Main.java:119)
> >
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrDispatchFilter init
> > INFO: user.dir=/opt/apache-solr-3.3.0/example
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrDispatchFilter init
> > INFO: SolrDispatchFilter.init() done
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrServlet init
> > INFO: SolrServlet.init()
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: JNDI not configured for solr (NoInitialContextEx)
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: using system property solr.solr.home:
> > ../contrib/velocity/src/main/solr/
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrServlet init
> > INFO: SolrServlet.init() done
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: JNDI not configured for solr (NoInitialContextEx)
> > Jul 25, 2011 11:33:41 AM org.apache.solr.core.SolrResourceLoader
> > locateSolrHome
> > INFO: using system property solr.solr.home:
> > ../contrib/velocity/src/main/solr/
> > Jul 25, 2011 11:33:41 AM org.apache.solr.servlet.SolrUpdateServlet init
> > INFO: SolrUpdateServlet.init() done
> > 2011-07-25 11:33:41.531:INFO::Started SocketConnector@0.0.0.0:8983
>



-- 
Cheng Li

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