In my previous blog I explained how to add content in MDS repository . Removing content is very simple compared with adding.I don't have any idea about how to remove data in MDS ( GUI mode ).
WSLT ( weblogic scripting tool )
$ oracle/Middleware/oracle_common/common/bin
$ wlst.sh
Make a connection to weblogic server .
wls:/offline> connect('weblogic','********','t3://localhost:7001')
already MDS Contains fault-policies.xml
/apps/com/xsd/fault-policies.xml
wls:/offline> deleteMetadata(application='soa-infra',server='AdminServer',docs='/apps/com/xsd/fault-policies.xml')
application -- > soa-infra
server --> Adminsever is not mandatory . eg : soa_sever1 ( Managed servers )
docs --> /apps by default , then file location.
wls:/offline> deleteMetadata(application='soa-infra',server='AdminServer',docs='/apps/**')
** will delete all the files, so be careful while using this command
Done ............
WSLT ( weblogic scripting tool )
$ oracle/Middleware/oracle_common/common/bin
$ wlst.sh
Make a connection to weblogic server .
wls:/offline> connect('weblogic','********','t3://localhost:7001')
already MDS Contains fault-policies.xml
/apps/com/xsd/fault-policies.xml
wls:/offline> deleteMetadata(application='soa-infra',server='AdminServer',docs='/apps/com/xsd/fault-policies.xml')
application -- > soa-infra
server --> Adminsever is not mandatory . eg : soa_sever1 ( Managed servers )
docs --> /apps by default , then file location.
wls:/offline> deleteMetadata(application='soa-infra',server='AdminServer',docs='/apps/**')
** will delete all the files, so be careful while using this command
Done ............
No comments:
Post a Comment