On Tue, Sep 01, 2009 at 04:59:33PM +0200, Villemos, Gert wrote:
> We are using solrj, which uses the HTTPclient 3.1 (with slf4j) in a
> client also using Aperture (with log4j 1.2.14). When executing a query I
> get the error shown below. The request is never received by the server,
> i.e. the exception is thrown before the request is issued. I think I'm
> running into a compatibility issue between slf4j and log4j, but don't
> know how to solve it...
> 
>  
> 
> Regards,
> 
> Gert.
> 
> 

Gert,

This problem has nothing to do with HttpClient. You may have a better luck
asking this question at the slf4j list.

Oleg

 
> 
>  
> 
> --- Stack Trace ------------------------
> 
>  
> 
> org.apache.solr.client.solrj.SolrServerException: Error executing query
> 
>       at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.j
> ava:96)
> 
>       at
> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:109)
> 
>       at
> org.esa.huginn.solr.SolrContainer.getNext(SolrContainer.java:105)
> 
>       at
> org.esa.huginn.commons.container.consolidationstrategies.SynonymReplacem
> entConsolidator.execute(SynonymReplacementConsolidator.java:191)
> 
>       at
> org.esa.huginn.filesystemcrawler.FileSystemCrawlerContext.initialize(Fil
> eSystemCrawlerContext.java:134)
> 
>       at
> org.esa.huginn.filesystemcrawler.FileSystemCrawlerContext.main(FileSyste
> mCrawlerContext.java:63)
> 
> Caused by: java.lang.IllegalStateException: Level number 10 is not
> recognized.
> 
>       at
> org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:421)
> 
>       at
> org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocatio
> nAwareLog.java:106)
> 
>       at
> org.apache.commons.httpclient.HttpConnection.releaseConnection(HttpConne
> ction.java:1178)
> 
>       at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCon
> nectionAdapter.releaseConnection(MultiThreadedHttpConnectionManager.java
> :1423)
> 
>       at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho
> dDirector.java:222)
> 
>       at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
> 97)
> 
>       at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
> 23)
> 
>       at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH
> ttpSolrServer.java:335)
> 
>       at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH
> ttpSolrServer.java:183)
> 
>       at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.j
> ava:90)
> 
> 
> 
> Please help Logica to respect the environment by not printing this email  / 
> Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
> imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen 
> Sie so Logica dabei, die Umwelt zu sch?tzen. /  Por favor ajude a Logica a 
> respeitar o ambiente nao imprimindo este correio electronico.
> 
> 
> 
> This e-mail and any attachment is for authorised use by the intended 
> recipient(s) only. It may contain proprietary material, confidential 
> information and/or be subject to legal privilege. It should not be copied, 
> disclosed to, retained or used by, any other party. If you are not an 
> intended recipient then please promptly delete this e-mail and any attachment 
> and all copies and inform the sender. Thank you.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to