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

Karl Wright commented on CONNECTORS-879:
----------------------------------------

Hi Lalit,

Solr output connections expire in 5 minutes when they are unused.  At 
expiration, SolrServer.shutdown() is called for the connection.  It is this 
invocation that is failing for some reason for you.  This method is obviously 
available at compile time with the SolrJ jar we include.  And IdleCleanupThread 
checks this all the time - literally once every 5 seconds.  So I would have 
really expected someone to notice this before now.

If this theory is correct, you should be able to see the same thing if you view 
the Solr output connection in the UI, and then wait 5 minutes.  Don't crawl or 
do anything else.  Does the exception occur then?


> 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
>             Fix For: ManifoldCF 1.5
>
>
> 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)

Reply via email to