MDS-01370: MetadataStore configuration for metadata-store-usage "OWSM_TargetRepos" is invalid.
ORA-04063: package body "DEV_MDS.MDS_INTERNAL_SHREDDED" has errors
ORA-06508: PL/SQL: could not find program unit being called: "DEV_MDS.MDS_INTERNAL_SHREDDED"
When this error happen SOA EM is not started and we can’t deploy any composites in SOA server.
Please follow below steps to resolve the issue.
1) STOP SOA suite 11.1.1.5 server
2) Drop the all SOA database schema using RCU.
once RCU drops the SOA database schemas like DEV_MDS connect to XE database using sqlplus command though command prompt.
- Connect sys as SYSDBA and provide a password for SYS user
alter system set sga_target=350M scope=spfile;
alter system set sga_max_size=350M scope=spfile;
shutdown immediate
startup
once XE database is started. Set RCU_JDBC_TRIM_BLOCKS=TRUE environment variable and run RCU to create SOA schema again.
Also before running rcu.bat file in command prompt . please check RCU_JDBC_TRIM_BLOCKS set properly.
- Set RCU_JDBC_TRIM_BLOCKS=TRUE
- Echo % RCU_JDBC_TRIM_BLOCKS % -- this has to return TRUE
Now run rcu.bat in same command prompt window and create required schemas.
Note : This issue will happen only on XE 10g database.
Now start the SOA suite and deploy composites. Enjoy SCA development.