Hi Hi!
We are using Websphere (right now Liberty Profile April Beta in development development). We are able to @Inject an @ApplicationScoped bean in a RequestContextListener but when we try to @Inject it in a ServletContextListener we get a ContextNotActiveException when accessing any business methods in the injected bean. I see in 6.7.3 of the CDI 1.0 specification (1.0 since we use WAS) that we should be able to @Inject an @ApplicationScoped bean both in a RequestContextListener and a ServletContextListener. Did I misunderstand something or is this a bug in OWB or something that we should report to IBM? Regards Lars-Fredrik Smedberg -- Med vänlig hälsning / Best regards Lars-Fredrik Smedberg STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the address(es) and may contain confidential or privileged information. If you are not the intended recipient, please notify Lars-Fredrik Smedberg immediately at [email protected], and destroy all copies of this message and any attachments.
