Hi Romain and thx for testing it out.
well, in tomee/lib/logback.xml pattern is:
pattern%d{HH:mm:ss.SSS} TomEE [%thread] %highlight(%-5level) %logger{50} -
%msg%n/pattern
in web-inf/classes/logback.xml I've defined:
pattern%d{HH:mm:ss.SSS} ENTERPRISE-WEB [%thread] %-5level %logger{50} -
isnt it just that logback doesnt handle hierarchic classloaders?
Romain Manni-Bucau
@rmannibucau https://twitter.com/rmannibucau | Blog
http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau |
LinkedIn https://www.linkedin.com/in/rmannibucau | Tomitriber
putting logback in the app I get:
https://gist.github.com/rmannibucau/36a19aaab89bff627fbc
what's the issue (sorry it doesnt look obvious to me)?
Romain Manni-Bucau
@rmannibucau https://twitter.com/rmannibucau | Blog
http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau |
for tomee/lib? it is not...or it is. It fully depends how lib/* is
resolved. this is not portable AFAIK (depends java.io.File#list()).
Romain Manni-Bucau
@rmannibucau https://twitter.com/rmannibucau | Blog
http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau |
LinkedIn
Probably.
I'm not too familiar with the logback classloader defs.
BTW, it seems that removing slf4-jdk is not really needed.
br hw
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/TomEE-Ear-Logback-revisit-tp4674809p4674815.html
Sent from the TomEE Users mailing
Listener className=org.apache.catalina.security.SecurityListener /
The listener abovei have to put into server.xml or for each context.xml into
each war file ?
--
View this message in context:
You can define the jaas realm for each Web app, in the context.Xml file
for instance. Make sure to define a different app name for everyone and to
have the corresponding jaas.config entry.
Le 14 mai 2015 15:27, mauro2java2011 mauro2java2...@gmail.com a écrit :
Listener
JaasRealm has a configFile option
supporting to read a jaas config from war classloader
What it is ? A example?
--
View this message in context:
But please *Listener
className=org.apache.catalina.security.SecurityListener /
* what work it run? It is other that jass?
--
View this message in context:
Please a example with a login.config file with 2 or 3 different
*PropertiesLoginModule name ?
*
And another for get login.config from the war? Read from roain response
above
--
View this message in context:
Server.xml but it has no link with jaas. JaasRealm has a configFile option
supporting to read a jaas config from war classloader
Le 15 mai 2015 00:27, mauro2java2011 mauro2java2...@gmail.com a écrit :
Listener className=org.apache.catalina.security.SecurityListener /
The listener abovei have
Please a 3xample with 2 obtre different configuration?
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/how-modify-the-login-config-file-for-get-3-jaas-different-for-3-web-different-apps-tp4674820p4674824.html
Sent from the TomEE Users mailing list archive at
Hi,
Im touching space on this one again.
Running some tests with tomee 1.7.2 and have a couple of observations.
1. adding openejb.log.factory=slf4j, adding logback libs, removing the
slf4j-jdk14 and adding logback.xml to conatiner lib I get logback working.
Seems like this is the only way og
13 matches
Mail list logo