5 Replies Latest reply: Jan 24, 2013 10:32 AM by 899722 RSS

    MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris

    730534
      Hi,

      JDeveloper 11.1.1.3.0, Solaris SPARC, Weblogic 10.3

      I have installed Application Development Framework 11.1.1.2.0 and 11.1.1.3.0 patchset. I have registered the Database Repository.

      My required is to have only saved search across the sessions. Followed the steps metioned in this blog's

      http://biemond.blogspot.com/2009/07/mds-repository-for-adf-11g.html
      http://biemond.blogspot.com/2009/07/customize-and-personalize-your-jsf.html

      When creating the ear file using JDeveloper. I have observed this info message.

      Info: Auto generated MAR archive was empty, not added to EAR.

      After successful deploayment, tried saved saving the search criteria. I have got the below error. Please help me in fixing this.

      Caused By: oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /persdef/com/model/view/CmReportsView.xml failed because source
      metadata store mapped to the namespace / DEFAULT is read only.

      Thanks.
        • 1. Re: MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris
          730534
          Please find my adf-config.xml content.

          Question: While creating the mar file, do I need to select the jspx or jsff files under Directories section under User Metadata?

          <?xml version="1.0" encoding="ISO-8859-1" ?>
          <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">
          <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
          <adf-property name="adfAppUID"
          value="ESPSQuery"/>
          </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="false"
          authenticationRequire="true"/>
          </sec:adf-security-child>
          <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/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="column">
          <attribute name="displayIndex">
          <persist-changes>
          true
          </persist-changes>
          </attribute>
          <attribute name="frozen">
          <persist-changes>
          false
          </persist-changes>
          </attribute>
          <attribute name="noWrap">
          <persist-changes>
          false
          </persist-changes>
          </attribute>
          <attribute name="selected">
          <persist-changes>
          false
          </persist-changes>
          </attribute>
          <attribute name="visible">
          <persist-changes>
          false
          </persist-changes>
          </attribute>
          <attribute name="width">
          <persist-changes>
          true
          </persist-changes>
          </attribute>
          </tag>
          </taglib>
          </taglib-config>
          </adf-faces-config>
          <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
          <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
          <cust-config>
          <match path="/">
          <customization-class name="oracle.adf.share.config.UserCC"/>
          </match>
          </cust-config>
          </mds-config>
          </adf-mds-config>
          </adf-config>

          Thanks.
          • 2. Re: MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris
            Frank Nimphius-Oracle
            Hi,

            did you create the MAR file ?

            1. Choose Application --> Application Properties from the JDeveloper menu.

            2. Then choose "Deployments" and click teh NEW button. Select "MAR File" are the archive type and complete the dialog.

            Frank
            • 3. Re: MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris
              730534
              Hi Frank,

              I have created the MAR file but still I am getting the same message while deploying the code.

              Info: Auto generated MAR archive was empty, not added to EAR

              Please find my updated adf-config.xml and let me know if I need to make any changes to get my created MAR file deployment.

              <?xml version="1.0" encoding="ISO-8859-1" ?>
              <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">
              <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
              <adf-property name="adfAppUID"
              value="ESPSQuery"/>
              </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="false"
              authenticationRequire="true"/>
              </sec:adf-security-child>
              <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/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="column">
              <attribute name="displayIndex">
              <persist-changes>
              true
              </persist-changes>
              </attribute>
              <attribute name="frozen">
              <persist-changes>
              false
              </persist-changes>
              </attribute>
              <attribute name="noWrap">
              <persist-changes>
              false
              </persist-changes>
              </attribute>
              <attribute name="selected">
              <persist-changes>
              false
              </persist-changes>
              </attribute>
              <attribute name="visible">
              <persist-changes>
              false
              </persist-changes>
              </attribute>
              <attribute name="width">
              <persist-changes>
              true
              </persist-changes>
              </attribute>
              </tag>
              </taglib>
              </taglib-config>
              </adf-faces-config>
              <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
              <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
              <cust-config>
              <match path="/">
              <customization-class name="oracle.adf.share.config.UserCC"/>
              </match>
              </cust-config>
              <persistence-config>
              <metadata-namespaces>
              <namespace path="/persdef" metadata-store-usage="MAR_TargetRepos"/>
              </metadata-namespaces>
              <metadata-store-usages>
              <metadata-store-usage id="MAR_TargetRepos" default-cust-store="true">
              <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
              <property name="jndi-datasource" value="jdbc/mds/owsm"/>
              <property name="partition-name" value="App"/>
              </metadata-store>
              </metadata-store-usage>
              </metadata-store-usages>

              </persistence-config>
              </mds-config>
              </adf-mds-config>
              </adf-config>

              Thanks.
              • 4. Re: MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris
                730534
                Its the deployment issue...
                • 5. Re: MDS Database Repository - ADF 11g - Weblogic 10.3 - Solaris
                  899722
                  Please let me know how did you solved that. i am having the same issue.

                  Thanks