Karl Wright created CONNECTORS-619:
--------------------------------------

             Summary: Solr connector does not work in multiprocess example
                 Key: CONNECTORS-619
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-619
             Project: ManifoldCF
          Issue Type: Bug
          Components: Lucene/SOLR connector
    Affects Versions: ManifoldCF 1.1
            Reporter: Karl Wright
            Assignee: Karl Wright
            Priority: Blocker
             Fix For: ManifoldCF 1.1


Running Jetty within the example folder seems to work normally, but not within 
the multiprocess-example folder. In both configurations I have defined a Solr 
Output Connector and a web crawler. The funny thing within the latter folder is 
that nothing is sent to Solr. The crawler just fetches and fetches, and that is 
the only activity I can see.

I have ran:
./start-database.sh
./initialize.sh
./start-agents.sh
./start-webapps.sh

The Solr Output connection is working and I have gone through the settings in 
my job - very similar configurations from my first attempt within the example 
folder, but nothing shows up.

When I looked in my logs, I discovered this:

{code}
FATAL 2013-01-22 14:10:31,802 (Worker thread '43') - Error tossed: Could not 
initialize class org.apache.solr.client.solrj.impl.HttpSolrServer
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.solr.client.solrj.impl.HttpSolrServer
        at
org.apache.manifoldcf.agents.output.solr.HttpPoster.<init>(HttpPoster.java:246)
        at
org.apache.manifoldcf.agents.output.solr.SolrConnector.getSession(SolrConnector.java:256)
        at
org.apache.manifoldcf.agents.output.solr.SolrConnector.addOrReplaceDocument(SolrConnector.java:609)
        at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.addOrReplaceDocument(IncrementalIngester.java:1579)
        at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.performIngestion(IncrementalIngester.java:504)
        at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:370)
        at
org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocument(WorkerThread.java:1651)
        at
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector.processDocuments(WebcrawlerConnector.java:1409)
        at
org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423)
        at
org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:551)
{code}

BTW, I'm running Solr 3.1, not the latest version. I don't think this has 
something to do with the problems described above since my Solr server does not 
seem to be hit my MCF at all.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to