Migrating User Customizations from JDeveloper to a Managed Server

(Doc ID 1334499.1)

Last updated on MARCH 12, 2013

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.
***Checked for relevance on 12-MAR-2013***

Symptoms

When trying to migrate a custom WebCenter Portal application with extensive runtime customizations (pages, connections, task flows) to a WebLogic managed server, the EAR and MAR deployment was successful, but when running the application the runtime customizations are not seen.

When browsing through the MAR file, the user customizations from the file system MDS are not seen. Is there any configuration or mapping required to migrate the runtime customizations from Filesystem MDS repository to DB?

When trying to run the exportMetadata WLST command on the WLS Integrated server, the following error is shown:

wls:/DefaultDomain/serverConfig> exportMetadata(application='ITPortalNew', server='DefaultServer', toLocation='C:/abc', remote='true')
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Executing operation: exportMetadata.
Exporting metadata from repository .
Metadata tranfer operation failed

Traceback (innermost last):
File "<console>", line 1, in ?
File "C:\JDEVEL~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 233, in exportMetadata
File "C:\JDEVEL~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 808, in executeMetadataTransferManagerOperation
File "C:\JDEVEL~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 982, in saveStackAndRaiseException
WLSTException: MDS-05790: The metadata store definition is either missing or incorrectly specified in the application configuration.MDS-91009: Operation "export
Metadata" failure. Use dumpStack() to view the full stacktrace

Steps to reproduce
==================
1. Deploy a custom WebCenter Portal to a remote managed server.

2. Notice that runtime customizations are not carried over.

3. Try to export the customizations from the file-based MDS of JDeveloper with the following command:

exportMetadata(application='Starter', server='DefaultServer', toLocation='e:/Works', remote='true')

...and notice the following error:

wls:/DefaultDomain/serverConfig> exportMetadata(application='Starter', server='D
efaultServer', toLocation='e://Works', remote='true')

Executing operation: exportMetadata.
Metadata transfer operation started
Exporting metadata from repository .
Metadata tranfer operation failed

Traceback (innermost last):
File "<console>", line 1, in ?
File "D:\Oracle\MIDDLE~2\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 233, i
n exportMetadata
File "D:\Oracle\MIDDLE~2\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 808, i
n executeMetadataTransferManagerOperation
File "D:\Oracle\MIDDLE~2\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 982, i
n saveStackAndRaiseException
WLSTException: MDS-05790: The metadata store definition is either missing or inc
orrectly specified in the application configuration.MDS-91009: Operation "export
Metadata" failure. Use dumpStack() to view the full stacktrace.

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