My Oracle Support Banner

OAM Custom Authentication Plugin Fails in Production Mode With "java.lang.LinkageError: loader constraint violation" (Doc ID 2806057.1)

Last updated on SEPTEMBER 09, 2021

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

On OAM 11.1.2.3.0 or later, a custom authentication plugin has been coded in Java, and works fine in an environment where the domain is in development mode.  When implemented in a domain using production mode, the plugin has loaded, distributed, and activated successfully. and some aspects of the plugin function normally however when a specific code path is accessed (in this case, when there is a call to addErrorCode), a java.lang.LinkageError: loader constraint violation is reported:

At this point the plugin execution will fail.

Cause

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
Symptoms
Cause
Solution


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