Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-15 Thread Romain Manni-Bucau
https://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#Security_Lifecycle_Listener_-_org.apache.catalina.security.SecurityListener https://tomcat.apache.org/tomcat-7.0-doc/config/realm.html#JAAS_Realm_-_org.apache.catalina.realm.JAASRealm Le 15 mai 2015 00:57, mauro2java2011

Re: TomEE Ear Logback revisit

2015-05-15 Thread hwaastad
Hi, I've been playing around some more and it's definitly a classloading issue. This is my observations: 1. skipped logback on tomee global 2. added an logback-config jar which I unpack in the ear (also added includeInApplicationXmltrue/includeInApplicationXml in jarModule to get it working) 3.

Re: TomEE Ear Logback revisit

2015-05-15 Thread Romain Manni-Bucau
well this issue is maybe something else (we fixed a concurrent error for 1.7.2 IIRC, can be linked), but logback ch.qos.logback.core.util.Loader#getResource ignores classloader hierarchy so you can't have 2 concurrent configs in a tree Romain Manni-Bucau @rmannibucau

Re: how modify the login.config file for get 3 jaas different for 3 web different apps

2015-05-15 Thread Romain Manni-Bucau
You are right Feel free to edit the page Le 15 mai 2015 19:30, mauro2java2011 mauro2java2...@gmail.com a écrit : please a last thing: from the page of tomee jaas http://tomee.apache.org/tomee-jaas.html http://tomee.apache.org/tomee-jaas.html i read: Add to your CATALINA_OPTS the