Michael G [
https://community.jboss.org/people/mpgong] created the discussion
"Injected Java EE Event is null inside EAR"
To view the discussion, visit:
https://community.jboss.org/message/744761#744761
--------------------------------------------------------------
Hello,
I'm having some issues with injecting the javax.enterprise.event.Event instance inside
my EJB when i'm deployed in an EAR. Apparently it is null. So when i go an fire the
event i get the npe.
However when i use the EJB in a Web app packaged in a WAR it works fine.
Does anyone know why it is failing in an EAR and not in the WAR? I use the @Inject to
inject the Event. I'm running on AS 7.1.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/744761#744761]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]