The composite which is working fine may fail with the below errors.This issue was observed in SOA Suite 11.1.1.7.0 and it may error out when you try to undeploy composite using the WLST script.Also it may prevent you from deploying any new composite into the SOA domain.
MDS-00054: The File to be Loaded oramds:/deployed-composites/default/Test_rev1.0/SCA-INF/classes/META-INF/adf-config.xml Does Not Exist
ORA-00942: table or view does not exist ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 37 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 664 ORA-06512: at line 1
This error happens due to the MDS corruption when there are multiple schemas with identical objects.In our case we had two installations of the SOA pointing to the same database with different prefix.
Connect to the MDS database as sys user and run the below script.
alter system flush shared_pool;
There is a database patch available to prevent future corruption(Doc ID 9577583.8)