Thanks! I had a different version of httpclient in the classpath. So the 2nd 
exception is gone but now I am  back to the first one 
" org.apache.solr.client.solrj.SolrServerException: No live SolrServers  
available to handle this request"

-----Original Message-----
From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] 
Sent: Friday, January 04, 2013 4:21 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr 4 exceptions on trying to create a collection

For the second one:

Wrong version of library on a classpath or multiple versions of library on the 
classpath which causes wrong classes with missing fields/variables? Or library 
interface baked in and the implementation is newer. Some sort of mismatch 
basically. Most probably in Apache http library.

Regards,
   Alex.

Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at once. 
Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Fri, Jan 4, 2013 at 4:34 PM, Jay Parashar <jparas...@itscape.com> wrote:

>
> Hi All,
>
> I am getting exceptions on trying to create a collection. Any help is 
> appreciated.
>
> While trying to create a collection, I got this error Caused by: 
> org.apache.solr.client.solrj.SolrServerException: No live SolrServers 
> available to handle this request
>         at
>
> org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.
> java:322)
>         at
>
> org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrSer
> ver.ja
> va:257)
>         at
>
> org.apache.solr.client.solrj.request.CoreAdminRequest.process(CoreAdmi
> nReque
> st.java:423)
>
>
> On trying to increase the server timeout by
>
> server.getLbServer().getHttpClient().getParams().setParameter(CoreConn
> ection
> PNames.CONNECTION_TIMEOUT, 5000);
>
> server.getLbServer().getHttpClient().getParams().setParameter(CoreConn
> ection
> PNames.SO_TIMEOUT, 20000);
>
> I get this...
>
> SEVERE: The exception contained within MappableContainerException 
> could not be mapped to a response, re-throwing to the HTTP container
> java.lang.NoSuchFieldError: DEF_CONTENT_CHARSET
>         at
>
> org.apache.http.impl.client.DefaultHttpClient.setDefaultHttpParams(Def
> aultHt
> tpClient.java:175)
>         at
>
> org.apache.http.impl.client.DefaultHttpClient.createHttpParams(Default
> HttpCl
> ient.java:158)
>         at
>
> org.apache.http.impl.client.AbstractHttpClient.getParams(AbstractHttpClient.
> java:448)
>
> Thanks
> Jay
>
>

Reply via email to