Setting Up Database Based MDS Repository in Weblogic 12c
Setting Up Database Based MDS Repository in Weblogic 12c
Below are the detailed step by step instructions to setup DB Based Metadata
Repository in Weblogic Server and steps to deploy the MDS Artifacts to the server
1. Check your database if it already contains MDS schema (<prefix>_mds). If not create
new MDS schema using RCU.
2. Shutdown soa-infra via weblogic console
Deployments -> Control Tab ->Check soa_infra -> Stop -> Force Stop
2. Create custom folder called “apps” under seed to hold the artifacts that are common
Now that we have successfully referenced the SOA project to refer the file based
MDS it is barely enough only during design time. For deploy time & run time, these
artifacts must be made available in the DB based MDS.
For a simple JDeveloper based SOA deployment follow the steps below
4. Now, right click on the ProcessMDSProj and choose 'Project Properties'. In the
'Project Properties' dialog, choose 'Deployment' and create a new deployment profile
by clicking on 'New...' button
5. In the 'Create Deployment Profile' dialog, leave the default 'Archive Type' to 'JAR
File' and name the deployment profile (eg., soamdsarchive) and click 'OK'
6. This will open up the 'Edit JAR Deployment Profile Properties' dialog. Click on the
'Contributors' section under 'File Groups -> Project Output'.
7. Click on the 'Add..' button and choose the folder where the 'content to be deployed' is
present. Here the '/apps' namespace under the file based MDS can be chosen where
the content is already placed & available
8. Now, click on the 'Filters' section and choose the artifacts under the '/apps' that you
would like to deploy or upload to MDS database repository
9. Click on OK to complete the deployment profile creation process. Now, we have
created a project JAR deployment profile which contains the artifacts to be deployed
on to the SOA MDS. Now, we will have to create a application deployment profile of
'soa bundle' type which will be deployed to the soa-infra.
10. From the 'Application Menu', choose 'Deploy' -> 'New Deployment Profile..' option
11. Under the 'New Gallery' go to 'Deployment Profiles' choose 'SOA Bundle' and click
OK
12. Under the 'Create Deployment Profile', provide a name to the application deployment
profile (eg., soabundle1) and click OK.
13. In the 'SOA Bundle Deployment Profile Properties' go to 'Dependencies' and choose
the JAR archive that we created earlier eg., soamdsarchive and click OK
14. Finally, deploy the application to the soa server.
Goto Application->Deploy-> soabundle1
This will ensure that the artifacts under the '/apps' metadata namespace is deployed
on to the SOA MDS database repository.
In Jdeveloper , create SOA-MDS DB Connection under the 'Resource Palette' using the
MDS Credentials
This should now reflect the 'apps' folder at the same level as 'soa' metadata store.
Adf-config.xml
Make the highlighted entry in your adf-config.xml to point to the localhost mds repository.
Modify jdbc-userid and jdbc-password accordingly…