My Oracle Support Banner

Unable to Import WebCenter Portal Customizations Using importMetadata Command from WLST: "MDS-90034 with Error: The source directory or archive for importing metadata is invalid" (Doc ID 1928801.1)

Last updated on OCTOBER 05, 2023

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.8.4 [Release 11g]
Information in this document applies to any platform.

Symptoms

When attempting to import WebCenter Portal customizations using importMetadata Command from WLST, the following error occurs.

ERROR:

wls:/wcucmdev_domain/serverConfig> importMetadata(application='webcenter', server='WC_Spaces', fromLocation='/tmp/2014.09.12/metadata.mar', docs='/**')

Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.

For more help, use help(domainRuntime)

Executing operation: importMetadata.

Traceback (innermost last):

 File "<console>", line 1, in ?

 File "/apps/WCRDEV/product/fmw/oracle_common/common/wlst/mdsWLSTCommands.py", line 295, in importMetadata

 File "/apps/WCRDEV/product/fmw/oracle_common/common/wlst/mdsWLSTCommands.py", line 816, in executeAppRuntimeMBeanOperation

 File "/apps/WCRDEV/product/fmw/oracle_common/common/wlst/mdsWLSTCommands.py", line 1097, in saveStackAndRaiseException

WLSTException: MDS-90034: The source directory or archive "/tmp/2014.09.12/metadata.mar" for importing metadata is invalid. MDS-91009: Operation "importMetadata" failure. Use dumpStack() to view the full stacktrace.

wls:/wcucmdev_domain/serverConfig> dumpStack()

This Exception occurred at .

javax.management.MBeanException: MDS-90034: The source directory or archive "/tmp/2014.09.12/metadata.mar" for importing metadata is invalid.

javax.management.MBeanException: MDS-90034: The source directory or archive "/tmp/2014.09.12/metadata.mar" for importing metadata is invalid.

 

 

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.