tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: SLF4J Bindings
Date Fri, 07 Feb 2014 14:47:24 GMT
Hi

did you put slf4j api in the webapp?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-02-07 Trevor Stevens <tstevens@me.com>:
> I am having issues getting SLF4J logging working in an existing war. It looks like TomEE
is ignoring the delegate configuration for SLF4J classes. Am I missing something in my configuration?
I would have expected TomEE to load the SLF4J binder from the war when configured in this
manner.
>
> context.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Context >
>     <Loader delegate="false" />
> </Context>
>
> SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5,
1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10]
> SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/Users/tstevens/Downloads/apache-tomee-plus-1.6.1-SNAPSHOT/lib/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/Users/tstevens/Downloads/apache-tomee-plus-1.6.1-SNAPSHOT/webapps/cas/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
>
>
> Trevor Stevens
> tstevens@me.com
>
>

Mime
View raw message