You are trying to clean up the MDS using below steps:
- Execute
SOA_HOME/common/bin/wlst.sh
- Connect to admin server by running
connect()
- Enter the domain config by running
domainConfig()
- Delete Metadata by running
deleteMetadata('soa-infra', 'soa_server1','/apps/AIAMetaData/**')
You encounter below error:
UserWarning: MDS-91002: MDS Application runtime MBean for "soa-infra" is not available. "deleteMetadata" operation failure
The SOA Managed Server is up and so s the SOAINFRA. What could be the possible reason?
The reason for the above error is the name of the managed server used. In case your admin renamed the default managed server on which SOA is deployed (the default name is soa_server1) you would get the above stated error.
So in case you get the above error, check with your admin the name of the SOA managed server. So in case your SOA managed server name is SOA_MS_1, the MDS purge command would be as follows:
deleteMetadata('soa-infra', 'soa_ms_1','/apps/AIAMetaData/**')
Hope this helps...
Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out facebook
Find us on facebook here
Very thanks for this post! It helped me!
ReplyDelete