I have enabled all options related MDS and same code is working in 11g in server,but 12c it is not working in server but it is working integrated server. getting below error in logs.
oracle.adf.view.rich.change.DocumentUtils> <ADFv: Trouble getting the mutable document from MDS. MDS-01273: The operation on the resource /com/myapp/frontend/ui/pages/mdssys/cust/user/testuser/Dashboard.jsff.xml failed because source metadata store mapped to the namespace / DEFAULT is read only..
in local directly creating the folder under C:\Users\satish\AppData\Roaming\JDeveloper\system12.2.1.4.42.190911.2248\DefaultDomain\store/gmds"/>
but not sure where it is creating folder for filestore and why it is readonly.
i have mentined below in adf-config.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
xmlns:sec="http://xmlns.oracle.com/adf/security/config"
xmlns:config="http://xmlns.oracle.com/bc4j/configuration">
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
<adf-property name="adfAppUID" value="myapps-1458"/>
</adf:adf-properties-child>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
<sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
authorizationEnforce="true" authenticationRequire="true"/>
</sec:adf-security-child>
<adf-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<adf-scope-ha-support>false</adf-scope-ha-support>
<detect-metadata-changes>true</detect-metadata-changes>
</adf-controller-config>
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">
<cache-config>
<max-size-kb>300000</max-size-kb>
</cache-config>
<persistent-change-manager>
<persistent-change-manager-class>oracle.adf.view.rich.change.MDSDocumentChangeManager</persistent-change-manager-class>
</persistent-change-manager>
<taglib-config>
<taglib uri="http://xmlns.oracle.com/adf/faces/rich">
<tag name="table">
<attribute name="filterVisible">
<persist-changes>true</persist-changes>
</attribute>
</tag>
<tag name="column">
<attribute name="displayIndex">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="frozen">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="noWrap">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="selected">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="visible">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="width">
<persist-changes>true</persist-changes>
</attribute>
</tag>
</taglib>
</taglib-config>
<flash-player-usage>disabled</flash-player-usage>
</adf-faces-config>
<adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config" xmlns:ns2="http://xmlns.oracle.com/adf/config"
xmlns:ns1="http://xmlns.oracle.com/adfm/config" xmlns:ns5="http://xmlns.oracle.com/adf/mds/config"
xmlns:ns4="http://xmlns.oracle.com/webcenter/framework/service"
xmlns:ns3="http://xmlns.oracle.com/mds/config">
<defaults deleteDefaultForComposition="CascadeDelete" useBindVarsForViewCriteriaLiterals="true"
joinNewFrameTransaction="true" changeEventPolicy="none"/>
<startup>
<amconfig-overrides>
<config:Database jbo.locking.mode="optimistic"/>
</amconfig-overrides>
</startup>
</adf-adfm-config>
<!-- START: CORRECTED MDS CONFIGURATION -->
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config" xmlns:ns5="http://xmlns.oracle.com/adf/mds/config"
xmlns:ns3="http://xmlns.oracle.com/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<namespace path="/persdef" metadata-store-usage="PersDefFileStore"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="PersDefFileStore" deploy-target="true" default-cust-store="true">
<ns3:metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
<ns3:property name="repository-name" value="mds-owsm"/>
<ns3:property name="partition-name" value="seed"/>
<ns3:property name="metadata-path" value="/tmp"/>
</ns3:metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
<cust-config>
<match path="/">
<customization-class name="oracle.adf.share.config.UserCC"/>
</match>
</cust-config>
</mds-config>
</adf-mds-config>
<!-- END: CORRECTED MDS CONFIGURATION -->
</adf-config>