lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag <anurag.it.jo...@gmail.com>
Subject Re: Problem with Solr and Nutch integration
Date Tue, 01 Mar 2011 10:11:24 GMT
i have nutch-1.0 and Apache-solr-1.3.0 (integrated these two).

On 3/1/11, Paul Rogers [via Lucene]
<ml-node+2601915-1461428819-146354@n3.nabble.com> wrote:
>
>
> Hi Anurag
>
> The request handler has been added the solrconfig file.
>
> I'll try your attached requesthandler and see if that helps.
>
> Interestingly enough the whole setup when I was using nutch 1.2/solr 1.4.1.
>  It is only since moving to nutch trunk/solr branch_3x that the problem has
> occurred.  I assume that something has changed inbetween and the tutorial's
> request handler is incorrect for the later solr version.  Which versions of
> solr/nutch are you using?
>
> Assuming the catalina.out file is the correct log file the output I get is
> shown below.  This output occurs on restarting the solr-example after adding
> the new requesthandler.  When I access the solr admin page no additional
> logging occurs.  Can any one see the problem?
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> locateSolrHome
>
> INFO: Using JNDI solr.home: /opt/solr/example/solr
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader <init>
>
> INFO: Solr home set to '/opt/solr/example/solr/'
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> addToClassLoader
>
> SEVERE: Can't find (or read) file to add to classloader:
> /opt/solr/example/solr/./lib
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.servlet.SolrDispatchFilter init
>
> INFO: SolrDispatchFilter.init()
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> locateSolrHome
>
> INFO: Using JNDI solr.home: /opt/solr/example/solr
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.CoreContainer$Initializer
> initialize
> INFO: looking for solr.xml: /opt/solr/example/solr/solr.xml
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> locateSolrHome
>
> INFO: Using JNDI solr.home: /opt/solr/example/solr
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.CoreContainer <init>
>
> INFO: New CoreContainer: solrHome=/opt/solr/example/solr/ instance=6794958
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader <init>
>
> INFO: Solr home set to '/opt/solr/example/solr/'
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> addToClassLoader
>
> SEVERE: Can't find (or read) file to add to classloader:
> /opt/solr/example/solr/./lib
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader <init>
>
> INFO: Solr home set to '/opt/solr/example/solr/./'
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> addToClassLoader
>
> SEVERE: Can't find (or read) file to add to classloader:
> /opt/solr/example/solr/././lib
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrConfig initLibs
>
> INFO: Adding specified lib dirs to ClassLoader
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/extraction/lib/commons-compress-1.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/log4j-1.2.14.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/extraction/lib/commons-logging-1.1.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/tika-parsers-0.8.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/asm-3.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/icu4j-4_6.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/xercesImpl-2.8.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/bcmail-jdk15-1.45.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/fontbox-1.3.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/poi-3.7.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/dom4j-1.6.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/extraction/lib/geronimo-stax-api_1.0_spec-1.0.1.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/poi-ooxml-3.7.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/xml-apis-1.0.b2.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/extraction/lib/poi-ooxml-schemas-3.7.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/jempbox-1.3.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/xmlbeans-2.3.0.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/netcdf-4.2.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/tagsoup-1.2.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/.svn/' to classloader
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/bcprov-jdk15-1.45.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/boilerpipe-1.1.0.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/extraction/lib/metadata-extractor-2.4.0-beta-1.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/pdfbox-1.3.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/poi-scratchpad-3.7.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/rome-0.9.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/extraction/lib/tika-core-0.8.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/dist/apache-solr-cell-3.1-SNAPSHOT.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/dist/apache-solr-clustering-3.1-SNAPSHOT.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/log4j-1.2.14.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/clustering/lib/mahout-collections-0.3.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/hppc-0.3.1.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/simple-xml-2.3.5.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/commons-lang-2.4.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/mahout-math-0.3.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/carrot2-core-3.4.2.pom'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/.svn/' to classloader
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/clustering/lib/jackson-core-asl-1.5.2.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding 'file:/opt/solr/contrib/clustering/lib/carrot2-core-3.4.2.jar'
> to classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> replaceClassLoader
>
> INFO: Adding
> 'file:/opt/solr/contrib/clustering/lib/jackson-mapper-asl-1.5.2.jar' to
> classloader
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrResourceLoader
> addToClassLoader
>
> SEVERE: Can't find (or read) file to add to classloader:
> /total/crap/dir/ignored
>
> Feb 28, 2011 6:28:59 PM org.apache.solr.core.SolrConfig <init>
>
> INFO: Using Lucene MatchVersion: LUCENE_31
>
> Feb 28, 2011 6:29:00 PM org.apache.solr.common.SolrException log
>
> SEVERE: org.apache.solr.common.SolrException: invalid boolean value:
>
>         at org.apache.solr.common.util.StrUtils.parseBool(StrUtils.java:238)
>
>         at
> org.apache.solr.common.util.DOMUtil.addToNamedList(DOMUtil.java:154)
>
>         at
> org.apache.solr.common.util.DOMUtil.nodesToNamedList(DOMUtil.java:98)
>
>         at
> org.apache.solr.common.util.DOMUtil.childNodesToNamedList(DOMUtil.java:88)
>
>         at
> org.apache.solr.common.util.DOMUtil.addToNamedList(DOMUtil.java:137)
>
>         at
> org.apache.solr.common.util.DOMUtil.nodesToNamedList(DOMUtil.java:98)
>
>         at
> org.apache.solr.common.util.DOMUtil.childNodesToNamedList(DOMUtil.java:88)
>
>         at org.apache.solr.core.PluginInfo.<init>(PluginInfo.java:52)
>
>         at
> org.apache.solr.core.SolrConfig.readPluginInfos(SolrConfig.java:236)
>
>         at
> org.apache.solr.core.SolrConfig.loadPluginInfo(SolrConfig.java:228)
>
>         at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:189)
>
>         at org.apache.solr.core.CoreContainer.create(CoreContainer.java:437)
>
>         at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
>
>         at org.apache.solr.core.CoreContainer.load(CoreContainer.java:206)
>
>         at
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:129)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:86)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
>         at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
>         at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
>         at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:624)
>         at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>         at java.lang.Thread.run(Thread.java:662)
>
> Feb 28, 2011 6:29:00 PM org.apache.solr.servlet.SolrDispatchFilter init
> INFO: user.dir=/
> Feb 28, 2011 6:29:00 PM org.apache.solr.servlet.SolrDispatchFilter init
> INFO: SolrDispatchFilter.init() done
> Feb 28, 2011 6:29:00 PM org.apache.solr.servlet.SolrServlet init
> INFO: SolrServlet.init()
> Feb 28, 2011 6:29:00 PM org.apache.solr.core.SolrResourceLoader
> locateSolrHome
> INFO: Using JNDI solr.home: /opt/solr/example/solr
> Feb 28, 2011 6:29:00 PM org.apache.solr.servlet.SolrServlet init
> INFO: SolrServlet.init() done
> Feb 28, 2011 6:29:00 PM org.apache.solr.core.SolrResourceLoader
> locateSolrHome
> INFO: Using JNDI solr.home: /opt/solr/example/solr
> Feb 28, 2011 6:29:00 PM org.apache.solr.servlet.SolrUpdateServlet init
> INFO: SolrUpdateServlet.init() done
>
>
> On 28 February 2011 21:14, Anurag <anurag.it.jolly@gmail.com> wrote:
>
>> The above mentioned "requesthandler" lies in schema file or solrconfig
>> file
>> of Solr?
>> I integrated solr and nutch and requesthandler lies in SolrConfig.xml.
>>
>>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Problem-with-Solr-and-Nutch-integration-tp2590334p2601915.html
> To start a new topic under Solr - User, email
> ml-node+472068-1941297125-146354@n3.nabble.com
> To unsubscribe from Solr - User, visit
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=


-- 
Kumar Anurag


-----
Kumar Anurag

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-Solr-and-Nutch-integration-tp2590334p2601985.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message