Thursday 4 July 2013

oracle.mds.exception.MDSException: MDS-00054: when deploying a composite using an oramds reference using ANT script



[scac]     at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:81)
     [scac]     at java.net.URL.openStream(URL.java:1010)
     [scac]     at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
     [scac]     ... 28 more
     [scac] Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/Helloworld/Helloworld.wsdl does not exist.
     [scac]     ... 34 more
     [scac] HelloworldProcess.bpel: error: XML parsing failed because "Error in getting XML input stream:oramds:/apps/Helloworld/Helloworld.wsdl:oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/Helloworld/Helloworld.wsdl does not exist."
     [scac] ../Helloworld/composite.xml:32: error: Cannot find Port Type "{http://xmlns.oracle.com//Helloworld}Helloworld" for "Helloworld" in WSDL Manager
     [scac] ../Helloworld/composite.xml:32: error: Cannot find Port Type "{http://xmlns.oracle.com/Helloworld}Helloworld" for "HelloworldProcess" in WSDL Manager
     [scac] ../Helloworld/composite.xml:32: warning: Cannot find Port Type "{http://xmlns.oracle.com/Helloworld}Helloworld" for "Helloworld" in WSDL Manager
     [scac] ../Helloworld/composite.xml:32: warning: Cannot find Port Type "{http://xmlns.oracle.com/Helloworld}Helloworld" for "HelloworldProcess" in WSDLManager
     [scac]  info: File to validate does not exist fault-policies.xml
     [scac]  info: No test suites available

BUILD FAILED
c:\Dump\DeploymentScripts\build.xml:22: The following error occurred while executing this line:
c:\Dump\DeploymentScripts\build.xml:34: The following error occurred while executing this line:
c:\Dump\DeploymentScripts\build.xml:74: The following error occurred while executing this line:
c:\Dump\DeploymentScripts\build.xml:94: The following error occurred while executing this line:
c:\Dump\DeploymentScripts\ant-sca-package.xml:36: The following error occurred while executing this line:
c:\Dump\DeploymentScripts\ant-sca-compile.xml:264: Java returned: 1 Check log file : logs/Helloworld.err for errors

Total time: 58 seconds



Solution:

1. Add adf-config.xml file in your project folder, in the following location:

    <project folder>/SCA-INF/classes/META-INF

2. Redeploy

1 comment: