Hi Emily, I checked on WildFly and I get the expected output:
Hello World CDI 1.2![@javax.enterprise.context.Initialized(value=javax.enterprise.context.RequestScoped.class)][@javax.enterprise.context.Destroyed(value=javax.enterprise.context.RequestScoped.class)]
|
I think this could be an integration problem. Can you check what BeanManager gets injected into WeldInitialListener in your scenario? My guess is that it is not the BeanManager for the web app but for some reason the ear/lib BeanManager, which is wrong.
|