My Oracle Support Banner

BeanManager Cannot Be Found When A Class Is Annotated With @WebService And @Stateless (Doc ID 1900995.1)

Last updated on DECEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


In a simple application with an EJB Web Service, the class is annotated with @Stateless and @WebService. This works fine. However, when there is a custom JSF lifecycle factory, it will complain that the BeanManager cannot be found. This will only happen when annotating a class with both @Stateless and @WebService, not with only one of them. Requirement is to have an EJB WebService because the transaction is needed.

The application will be in active state, but the error is thrown.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.