Metadata Upload not Working in 12c

(Doc ID 2378274.1)

Last updated on MARCH 30, 2018

Applies to:

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

Symptoms

Metadata upload not working in 12.2.1.3.0. Same metadata works fine in 11g. Error on upload is as below


ERROR
-----------------------

Error while loading metadata. Verify the file contents before saving changes.

From log we can see below error

 

javax.xml.bind.UnmarshalException - with linked exception:

[Exception [EclipseLink-43] (Eclipse Persistence Services - 2.6.5.v20170607-b3d05bd):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value
[fed:ApplicationServiceType] of type [class java.lang.String].
Descriptor: XMLDescriptor(oracle.security.fed.xml.security.saml.v20.metadata.RoleDescriptor --> [DatabaseTable(md:RoleDescriptor)])]
at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:174)
at oracle.security.am.fed.oif.managedbeans.idp.IDProviderBaseMB.setUploadedFileforMetadata_internal(IDProviderBaseMB.java:416)
at oracle.security.am.fed.oif.managedbeans.idp.IDProviderBaseMB.setUploadedFileforMetadata_firsttime(IDProviderBaseMB.java:789)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at javax.el.BeanELResolver.setValue(BeanELResolver.java:441)
at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255)

 

Cause

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