Error when migrating from 11g to 12.2.x: RUL-05038: The XML schema "file:/../..task.xsd" cannot be added to the data model beacause JAXB source cannot be generated. (Doc ID 2262764.1)

Last updated on MAY 05, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Problem desc:

Unable to migrate 11g project to 12.2.1.2.0

When the migration happens the following error is seen,

Migration error(s): RUL-05038: The XML schema "file:/../..task.xsd" cannot be added to the data model beacause JAXB source cannot be generated. See the base exception for resolution.



Despite the error, the project successfully builds but is impossible perform a deploy on WLS. The following error is visible from the WLS log:
oracle.mds.core.MetadataNotFoundException:
MDS-00013: no metadata found for metadata object "/deployed-composites/default/InvoiceProject_rev1.0/ProjectRules.decs"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=soa-infra repository-name=mds-soa partition-name=soa-infra

The logs shows the following exception:

java.lang.AssertionError: org.xml.sax.SAXParseException: Failed to read external schema document "jar:file:/omw/12.2.1/fmw_1/products/fmw/oracle_common/modules/com.sun.xml.bind.jaxb-xjc.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/xjc.xsd", because "jar" access is not allowed.
at com.sun.tools.xjc.SchemaCache.newValidator(SchemaCache.java:82)
at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1$1.startElement(AnnotationParserFactoryImpl.java:118)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCR

 

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