"ClassCastException: ..MdsSchemaMetaData cannot be cast" Error When Importing A Schedule Job (Doc ID 2249370.1)

Last updated on APRIL 02, 2017

Applies to:

Identity Manager - Version 11.1.2.3.161018 and later
Information in this document applies to any platform.

Symptoms

1. Develop a plugin containing a scheduled task per document
(http://docs.oracle.com/cd/E52734_01/oim/OMDEV/refsched.htm#OMDEV227)

2. Define the scheduled task in a file in the META-INF folder so that it does not have to be uploaded separately to MDS.

3. Export the scheduled job from the first environment using Deployment Manager.

4) Now using Deployment Manager in another environment, import the xml from step 3 above. The import fails with Internal Error dialog with the text "Server error occurred. Look in the application server's log for more info." was displayed.

The log showed:

 

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