My Oracle Support Banner

CDI In Embedded EJBContainer Fails with java.lang.UnsupportedOperationException (Doc ID 2064340.1)

Last updated on APRIL 06, 2018

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


Using the WebLogic embedded EJB container for JUnit testing, when running the container, it fails if META-INF/beans.xml (needed for CDI) exists on the classpath.

The following exception occurs:

java.lang.UnsupportedOperationException: authenticatedLookup is unavailable for BasicNamingNode types
at weblogic.rmi.internal.ServerRequest.sendReceive(
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(
at weblogic.jndi.internal.ServerNamingNode_12120_WLStub.authenticatedLookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(
at weblogic.application.ApplicationAccess.getApplicationIdFromJndi(



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.