My Oracle Support Banner

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 MARCH 13, 2019

Applies to:

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


Problem desc:

Unable to migrate 11g project to

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 because 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:
MDS-00013: no metadata found for metadata object "/deployed-composites/default/<PROJECT_NAME>InvoiceProject_rev1.0/<RULES_NAME>.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.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCR



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.