Static initialization block contains code that accesses the CDI BeanManager throws exception.
Last updated on MAY 14, 2018
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
If a static initialization block contains code that accesses the CDI BeanManager then exceptions "javax.naming.NameNotFoundException: remaining name: comp/BeanManager" occurs because the class is loaded and initialized before CDI is initialized.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms