Different BeanManagers in use

2017-10-05 Thread John D. Ament
Hi, I'm troubleshooting an issue in Hammock where when using OWB 2.0.1 + Tomcat 9 M26, the results of CDI.current().getBeanManager() give back different BeanManager instances. In fact, calling WebBeansContext.currentInstance() is returning a different instance on each invocation in separate threa

Re: Different BeanManagers in use

2017-10-05 Thread Romain Manni-Bucau
Hi John, you get a new InjectableBeanManager each time yes which is wrapping the same BeanManagerImpl. Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Re: Different BeanManagers in use

2017-10-05 Thread John D. Ament
These are different BeanManagerimpls On Oct 5, 2017 7:33 AM, "Romain Manni-Bucau" wrote: > Hi John, > > you get a new InjectableBeanManager each time yes which is wrapping the > same BeanManagerImpl. > > > Romain Manni-Bucau > @rmannibucau | Blog >

Re: Different BeanManagers in use

2017-10-05 Thread Romain Manni-Bucau
Then it means OWB is not started or the WebBeansFinder is not correct or your classloader is not stable Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github