I made a breakpoint, and during debug both this.getClass().getClassLoader()
and Thread.currentThread().getContextClassLoader() return this (yet in this
case beanManager was not null):

org.apache.tomee.catalina.LazyStopWebappClassLoader
  context: /tar
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@6ec4786e






--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/BeanManager-injection-returns-null-tp4671529p4671534.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to