thanks for the sample https://issues.apache.org/jira/browse/TOMEE-1093
should work on 1.6.1-SNAPSHOT Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/12/5 bonapat <patric.bonave...@schiller.ch>: > Hi > > Attached is a very small test ear with sources which shows this behavior. > > It contains only one web-war with one stateless bean (rest): > > @Path("/v1") > @Stateless > public class InfoResourceV1 { > > private static final Logger LOG = > LoggerFactory.getLogger(InfoResourceV1.class); > > @EJB > private BonaBeanLocal bonaBeanLocal; > > @GET > @Path("/echo/{msg}") > @Produces(MediaType.TEXT_PLAIN) > public String getEcho(@PathParam("msg") String msg) { > LOG.info(msg); > return msg; > } > > @GET > @Path("/msg") > @Produces(MediaType.TEXT_PLAIN) > public String getMsg() { > return bonaBeanLocal.getMsg(); > } > > and one ejb-jar with one stateless bean: > > @Stateless > public class BonaBean implements BonaBeanLocal { > > private static final Logger LOG = LoggerFactory.getLogger(BonaBean.class); > > @Override > public String getMsg() { > String msg = "Hello World"; > LOG.info(msg); > return msg; > } > > > I use the TomEE 1.6 out of the box without changes on tomee/lib. > > /Bona > Tom-Test.zip > <http://openejb.979440.n4.nabble.com/file/n4666561/Tom-Test.zip> > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/TomEE-1-6-ear-containing-slf4j-and-log4j-tp4666556p4666561.html > Sent from the OpenEJB User mailing list archive at Nabble.com.