1 Reply Latest reply on Jun 28, 2012 12:16 PM by Michael G

    Injected Java EE Event is null inside EAR

    Michael G Novice



      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.