SOA 11g: "oracle.mds.config.MDSConfigurationException: MDS-01331: unable to load MDS configuration document" Unable to Deploy Human Workflow EAR File (Doc ID 1522354.1)

Last updated on JANUARY 04, 2016

Applies to:

Oracle SOA Platform - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.6.0 version, Workflow Service Engine

while deploying a Human Workflow application ear file, the deployment fails with the following error: 

oracle.mds.config.MDSConfigurationException: MDS-01331: unable to load MDS configuration document "file:/D:/Oracle/Middleware/user_projects/domains/phatest_domain/servers/soa_server1/tmp/_WL_user/SolutionAcceleratorInvoiceProcessing/7km41z/adf/META-INF/adf-config.xml"
at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2683)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstanceWithCustConfig(MDSInstance.java:2523)
at oracle.mds.core.MDSInstance.getOrCreateInstanceInternal(MDSInstance.java:2031)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:740)
at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:139)
Truncated. see log file for complete stacktrace

 

adf-config.xml was modified with the below configuration to add additional namespace required for the project:

       <metadata-namespaces>
         <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
         <namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
       </metadata-namespaces>
       <metadata-store-usages>
         <metadata-store-usage id="mstore-usage_1">
           <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
             <property value="${oracle.home}/integration"
                       name="metadata-path"/>
             <property value="seed" name="partition-name"/>
           </metadata-store>
       </metadata-store-usages>

 

 

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a human workflow app

2. Edit the adf-config.xml as mentioned above and compile that as an EAR
3. Deploy the ear onto SOA Server.


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