lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Villemos, Gert" <gert.ville...@logica.com>
Subject solrj - Log4j and slf4j integration - java.lang.IllegalStateException thrown
Date Tue, 01 Sep 2009 14:49:43 GMT
We are using solrj 1.3 (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.

 

 

--- 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.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message