The specification is not clear on what BeanManager should be returned in that case. Anyway, in JBoss AS, WildFly and GF a BeanManager for a the same module (module meaning the same war, ejb jar or ear/lib) is returned.
Thanks Jozef! I will try to do the same. Thanks for sharing the info.