You might want to delete unused artifacts from the central MDS.
You can do so by following the below steps:
Make sure the WebLogic server is runinng before proceeding ahead.
Step 1
Open command prompt and go to the following location:
<mw_home>\Oracle_SOA1\common\bin\
mw_home : Folder where all the SOA Components like WebLogic are installed.
Step 2
Run wlst.cmd
Step 3
Connect to weblogic server
Step 4
Use the following command to delete an entire folder:
The above command will delete a folder called 'xsd' within 'apps' folder.
Step 5
Use the following command to delete a single file
The above command will delete a file named Customer.xsd from the location apps/xsd.
Step 6
Use the following command to exit the WLST console
You can do so by following the below steps:
Make sure the WebLogic server is runinng before proceeding ahead.
Step 1
Open command prompt and go to the following location:
<mw_home>\Oracle_SOA1\common\bin\
mw_home : Folder where all the SOA Components like WebLogic are installed.
Step 2
Run wlst.cmd
Step 3
Connect to weblogic server
connect('weblogic','welcome1','t3://localhost:7001')
Step 4
Use the following command to delete an entire folder:
sca_removeSharedData('http://localhost:7001','xsd')
Step 5
Use the following command to delete a single file
deleteMetadata(application='soa-infra',server='AdminServer',docs='/apps/xsd/Customer.xsd')
Step 6
Use the following command to exit the WLST console
exit()
Post a Comment