[slf4j-user] multiple bindings
Dino Di Cola
dinodicola at gmail.com
Fri Mar 12 13:07:39 CET 2010
Hi thanks for the reply.
>It looks like another occurrence of bug 138
>http://bugzilla.slf4j.org/show_bug.cgi?id=138
>and depending on how you look at it, is a WL bug.
First of all, I am sorry for
- missing the already known bug for weblogic before writing to the list :),
- replying to my own message (I have just lost the last response by
switching mailing list *digest mode).*
>Anyway, it's just a warning message. SLF4J will work just fine.
I know this is not the org.apache.solr support,
But my problem is that I can see duplicate lines in my log4j file also :
2010-03-12 13:01:45,361 | | | ERROR | org.apache.solr.handler.SnapPuller |
pool-3-thread-1 | Master at: http://localhost:8983/solr/replication is not
available. Index fetch failed. Exception: Connection refused: connect
2010-03-12 13:01:45,361 | | | ERROR | org.apache.solr.handler.SnapPuller |
pool-3-thread-1 | Master at: http://localhost:8983/solr/replication is not
available. Index fetch failed. Exception: Connection refused: connect
I have a web application configured with log4j, configured with
- custom LoggerFactory
- custom Logger
- PropertyConfigurator.configure() method invocation during
ServletContextListener contextInitialized
Any clue of the problem? Or is it out of the list scope?
Let me know,
Many thanks for your help.
Dino.
--
2010/3/11 Dino Di Cola <dinodicola at gmail.com>
> Dear all,
> I am trying to use EMBEDDED SOLR SERVER inside a BEA wl application.
> SOLR uses slf4j logging abstraction API.
>
> During initialization startup, I obtain the following message on stdout
>
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [zip:C:/WORKSPACE/bin/bea10/user_projects/domains/portal/servers/AdminServer/tmp/_WL_user/app/5sk9ta/war/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [zip:C:/WORKSPACE/bin/bea10/user_projects/domains/portal/servers/AdminServer/tmp/_WL_user/app/5sk9ta/war/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
>
> However the higlighted bindings are pointing to the same path.
>
> On our WEB-INF/lib and in the highlighted path are the following jars:
>
> activation.jar
> apache-solr-core-1.4.0.jar
> apache-solr-dataimporthandler-1.4.1-dev.jar
> apache-solr-dataimporthandler-extras-1.4.1-dev.jar
> apache-solr-solrj-1.4.0.jar
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-dbutils-1.3.jar
> commons-email-1.2.jar
> commons-fileupload-1.2.1.jar
> commons-httpclient-3.1.jar
> commons-io-1.3.2.jar
> commons-lang-2.2.jar
> commons-logging-1.1.1.jar
> freemarker-2.3.15.jar
> geronimo-stax-api_1.0_spec-1.0.1.jar
> jstl.jar
> log4j-1.2.14.jar
> lucene-analyzers-2.9.1.jar
> lucene-core-2.9.1.jar
> lucene-highlighter-2.9.1.jar
> lucene-memory-2.9.1.jar
> lucene-misc-2.9.1.jar
> lucene-queries-2.9.1.jar
> lucene-snowball-2.9.1.jar
> lucene-spellchecker-2.9.1.jar
> mail.jar
> ognl-2.7.3.jar
> servlet-api-2.4.jar
> slf4j-api-1.5.11.jar
> slf4j-log4j12-1.5.11.jar
> standard.jar
> struts2-core-2.1.8.1.jar
> struts2-json-plugin-2.1.8.1.jar
> wstx-asl-3.2.7.jar
> xwork-core-2.1.6.jar
>
> Any suggestion?
> Many thanks in advance,
> Dino.
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20100312/7997e625/attachment.html>
More information about the slf4j-user
mailing list