Database Reference
In-Depth Information
6.
Finally invoke the deploy() command to deploy the application. The path
argument has to specify the directory location of the MAR and the appName
argument should determine the name of the deployed archive on the server.
The preceding steps may be executed as follows:
wls:/offline>archive = getMDSArchiveConfig(fromLocation= 'u02/metadata/archives/testArchive.ear' )
wls:/offline>archive.setAppMetadataRepository(repository= 'mds-custom' , partition= 'soacustom' , type= 'DB' , jndi= 'jdbc/mds/custom' )
wls:/offline>archive.save()
wls:offline>connect()
wls:soaDomain/serverConfig>deploy(appName= 'MDS' , path= 'u02/metadata/archives/testArchive.ear' )
Exporting and importing composites from/to a
partition
Moving composite(s) from one environment to another is an activity that will con-
stantly engage your work as the platform administrator. As an example, you may
want to move composites from a development system to a test system and then
to a production system. The most effective and convenient approach is that of
transferring the entire metadata repository and/or the partition. Transferring the
metadata gives you an option to not only move composite applications targeted
to it but also customizations that are made and tested at runtime. In order to
transfer metadata from one partition to another, you will need to first export it
from a partition on the source environment and then import it into a partition
on the target environment. Depending on your preference, you can either use
a graphical interface via Oracle Enterprise Manager Fusion Middleware Control
or a scripting approach via WLST to move composites from one environment to
another by transferring the metadata repository. It is our recommendation to use
scripting as much as possible as it is efficient, saves time, and only requires a
small customization. The following list of steps provides a way to export all com-
posites from a partition displayed in the MDS Configuration dashboard:
1.
Log in to Oracle Enterprise Manager Fusion Middleware Control.
Search WWH ::




Custom Search