Search Results


Tuesday, November 24, 2015

Refresh MDS in SOA Suite

How to refresh or reload MDS in SOA suite (11g/12c)?

MDS is the best way to store the common artifacts in SOA suite.The soa suite caches these artifacts in the memory when it is accessed for the first, oracle does it to improve performance of the MDS access.

But the problem here is when the MDS artifacts, like DVM and wsdls, are redeployed with changes, the cache won't get cleared automatically leaving stale values in the cache.

The cached mds objects are cleared when the server is restarted and it takes a lot of time to restart SOA servers.

Alternatively SOA suite provides an MBEAN which can be used to clear the cache after deploying the MDS changes. Here are the steps


Steps to clear MDS cache

  • Login in to Oracle Weblogic em console 
    • e.g.; http://localhost:7001/em
  • Expand the Weblogic domain > DefaultDomain from the left hand side navigation tree
  • Right click on the DefaultDomain and select System Mbean Browser
                  
  • In the MBean Browser navigate to Application Define Mbeans -> oracle.mds.lcm > Server: DefaultServer > Application: soa-infra -> MDSAppRuntime > MDSAppRuntime Bean

  • And switch to Operations tab


  • Click on clearCache link and Invoke the method



2 comments :

Venkat Pasagadugula said...

Hi,

Thanks for the post. I tried the way but unfortunately MDS cache didn't clear, still old values are reflecting. Also tried to clear from Admin server and em level in the same section, but no luck.

Thanks,
Venkat

Thirupathi Reddy Shada said...

After clearing the cache try retire/shutdown the composite and start it you would see new values gets reflected.