You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "lalit (JIRA)" <ji...@apache.org> on 2014/02/05 04:56:09 UTC

[jira] [Comment Edited] (CONNECTORS-879) java.lang.NoSuchMethodError: org.apache.solr.client.solrj.SolrServer.shutdown()V

    [ https://issues.apache.org/jira/browse/CONNECTORS-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891665#comment-13891665 ] 

lalit edited comment on CONNECTORS-879 at 2/5/14 3:54 AM:
----------------------------------------------------------

Thanks Karl for quick reply.

I am trying to integrate Alfresco 4.2 EE with Manifold 1.4.1 using solr 4.6 as output channel. Now i have first installed manifold 1.4.1 & solr 4.6 and set solr as output connection. It says connection working fine.Secondly i created a repository connection for alfresco using CMIS connector OOTB. This connection also works fine. Let me also mention that i did not replace/add any new jar in manifold including solr.

Once all done, i am creating a job using solr OOTB schema & trying to crawl alfresco using a CMIS query.  As per CMIS query limit it shows only first 100 results but when processing these 100 results it throws error.

WARN 2014-02-04 14:01:53,553 (Worker thread '3') - Solr exception during indexing (500): Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
org.apache.solr.common.SolrException: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919)
 WARN 2014-02-04 14:01:53,679 (Worker thread '3') - Service interruption reported for job 1391502523785 connection 'lalit1': Solr exception during indexing (500): Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
ERROR 2014-02-04 14:01:53,755 (Worker thread '3') - Exception tossed: Repeated service interruptions - failure processing document: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Repeated service interruptions - failure processing document: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:586)
Caused by: org.apache.solr.common.SolrException: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919)

After this i get error message on manifold for same error & job gets aborted. After a while, i am getting error i mentioned previously and that too continously with CPU usage very high & manifold.log file full. I need to shut down manifold to top this.

This is what i am planning. Please let me know for further updates.


was (Author: lalitjangra):
Thanks Karl for quick reply.

I am trying to integrate Alfresco 4.2 EE with Manifold 1.4.1 using solr 4.6 as output channel. Now i have first installed manifold 1.4.1 & solr 4.6 and set solr as output connection. It says connection working fine.Secondly i created a repository connection for alfresco using CMIS connector OOTB. This connection also works fine. Let me also mention that i did not replace/add any new jar in manifold including solr.

Once all done, i am creating a job using solr OOTB schema & trying to crawl alfresco using a CMIS query.  As per CMIS query limit it shows only first 100 results but when processing these 100 results it throws error.

WARN 2014-02-04 14:01:53,553 (Worker thread '3') - Solr exception during indexing (500): Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
org.apache.solr.common.SolrException: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919)
 WARN 2014-02-04 14:01:53,679 (Worker thread '3') - Service interruption reported for job 1391502523785 connection 'lalit1': Solr exception during indexing (500): Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
ERROR 2014-02-04 14:01:53,755 (Worker thread '3') - Exception tossed: Repeated service interruptions - failure processing document: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Repeated service interruptions - failure processing document: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:586)
Caused by: org.apache.solr.common.SolrException: Server at http://localhost:8983/solr/collection2 returned non ok status:500, message:Server Error
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919)

After this i get error message on manifold for same error & job gets aborted. After sometime, i am getting error i mentioned earlier that to continously with CPU usage very high & manifold.log file full. I need to shut down manifold to top this.

This is what i am planning. Please let me know for further updates.

> java.lang.NoSuchMethodError: org.apache.solr.client.solrj.SolrServer.shutdown()V
> --------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-879
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-879
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: CMIS connector
>    Affects Versions: ManifoldCF 1.4.1
>         Environment: Windows 7 with ManifoldCF 1.4.1 bundle
>            Reporter: lalit
>              Labels: cmis
>
> Hi,
> I am trying to index my alfresco repo with manifold using solr 4.6 as output channel. Time & again i am getting below error continously for n number of times making it very slow & filling out log file.
> FATAL 2014-02-04 14:57:59,663 (Idle cleanup thread) - Error tossed: org.apache.solr.client.solrj.SolrServer.shutdown()V
> java.lang.NoSuchMethodError: org.apache.solr.client.solrj.SolrServer.shutdown()V
> 	at org.apache.manifoldcf.agents.output.solr.HttpPoster.shutdown(HttpPoster.java:282)
> 	at org.apache.manifoldcf.agents.output.solr.SolrConnector.poll(SolrConnector.java:106)
> 	at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory$Pool.pollAll(OutputConnectorFactory.java:665)
> 	at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.pollAllConnectors(OutputConnectorFactory.java:430)
> 	at org.apache.manifoldcf.crawler.system.IdleCleanupThread.run(IdleCleanupThread.java:66)
> ......
> FATAL 2014-02-04 14:57:59,663 (Idle cleanup thread) - Error tossed: org.apache.solr.client.solrj.SolrServer.shutdown()V
> FATAL 2014-02-04 14:57:59,663 (Idle cleanup thread) - Error tossed: org.apache.solr.client.solrj.SolrServer.shutdown()V
> java.lang.NoSuchMethodError: org.apache.solr.client.solrj.SolrServer.shutdown()V
> 	at org.apache.manifoldcf.agents.output.solr.HttpPoster.shutdown(HttpPoster.java:282)
> 	at org.apache.manifoldcf.agents.output.solr.SolrConnector.poll(SolrConnector.java:106)
> 	at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory$Pool.pollAll(OutputConnectorFactory.java:665)
> 	at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.pollAllConnectors(OutputConnectorFactory.java:430)
> 	at org.apache.manifoldcf.crawler.system.IdleCleanupThread.run(IdleCleanupThread.java:66)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)