Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EJB injection in CDI bean

user12148667Jun 16 2019 — edited Aug 22 2019

I inject a singleton ejb annotated with @Singleton and @Startup in a named bean (@Named) with @EJB. It is working when It is deployed, but when the application is stopped and is started again a not found ejb exception is raised while initial-context.lookup is working fine. By the way weblogic is 12.2.1.3, cdi is 1.2

Comments
Post Details
Added on Jun 16 2019
1 comment
321 views