This discussion is archived
6 Replies Latest reply: Feb 4, 2013 10:15 PM by adf009 RSS

WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name

adf009 Explorer
Currently Being Moderated
hi am having below error when am doing deployment all my server have been started,am deploying to managed server,but i can deploy in intergratedweblogic server,am not able to deploy in standalone server
my delopy log file is
[09:18:45 AM] ----  Deployment started.  ----
[09:18:45 AM] Target platform is  (Weblogic 10.3).
[09:18:45 AM] Retrieving existing application information
[09:18:45 AM] Running dependency analysis...
[09:18:45 AM] Deploying 2 profiles...
[09:18:45 AM] Wrote MAR file to C:\Jdeveloper\mywork\work\UAMApplication\deploy\AutoGeneratedMar.mar
[09:18:45 AM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
[09:18:45 AM] ####  Deployment incomplete.  ####
[09:18:45 AM] == ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)


this is how i did deployment click application->deploy->deployementapplication->i select delpoy to application server click next->i select my managed server->deploy to selected instance in the domain iselect my managed server and select deploy as standalone application->finish
i am deploying adf application

my adf-config.xml is
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
            xmlns:config="http://xmlns.oracle.com/bc4j/configuration"
            xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
            xmlns:sec="http://xmlns.oracle.com/adf/security/config"
            xmlns:mdsC="http://xmlns.oracle.com/adf/mds/config">
  <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
    <defaults useBindVarsForViewCriteriaLiterals="true"/>
    <startup>
      <amconfig-overrides>
        <config:Database jbo.locking.mode="optimistic"/>
      </amconfig-overrides>
    </startup>
  </adf-adfm-config>
  <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="UAMApplication.uam"/>
  </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:adf-security-child>
  <mdsC:adf-mds-config version="11.1.1.000">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
      <persistence-config>
        <metadata-namespaces>
          <namespace path="/persdef/"
                     metadata-store-usage="WebCenterFileMetadataStore"/>
        </metadata-namespaces>
        <metadata-store-usages>
          <metadata-store-usage id="WebCenterFileMetadataStore"
                                default-cust-store="true" deploy-target="true">
            <metadata-store class-name="oracle.mds.dt.persistence.stores.file.SrcControlFileMetadataStore">
              <property name="metadata-path" value="../../mds"/>
            </metadata-store>
          </metadata-store-usage>
        </metadata-store-usages>
        <retry-connection enabled="true"/>
      </persistence-config>
      <cust-config>
        <match>
          <customization-class name="oracle.adf.share.config.SiteCC"/>
        </match>
      </cust-config>
      <cache-config>
        <max-size-kb>100000</max-size-kb>
      </cache-config>
    </mds-config>
  </mdsC:adf-mds-config>
  <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/customizable">
        <tag name="showDetailFrame">
          <persist-operations>
            all
          </persist-operations>
          <attribute name="expansionMode">
            <persist-changes>
              true
            </persist-changes>
          </attribute>
          <attribute name="contentStyle">
            <persist-changes>
              true
            </persist-changes>
          </attribute>
        </tag>
        <tag name="panelCustomizable">
          <persist-operations>
            all
          </persist-operations>
        </tag>
      </taglib>
      <taglib uri="http://xmlns.oracle.com/adf/pageeditor">
        <tag name="layoutCustomizable">
          <attribute name="type">
            <persist-changes>
              true
            </persist-changes>
          </attribute>
        </tag>
      </taglib>
    </taglib-config>
  </adf-faces-config>
</adf-config>

 must i delete this part
 <metadata-store-usages>
          <metadata-store-usage id="WebCenterFileMetadataStore"
                                default-cust-store="true" deploy-target="true">
            <metadata-store class-name="oracle.mds.dt.persistence.stores.file.SrcControlFileMetadataStore">
              <property name="metadata-path" value="../../mds"/>
            </metadata-store>
          </metadata-store-usage>

when i delete the above part i get this error
[09:16:31 AM] ----  Deployment started.  ----
[09:16:31 AM] Target platform is  (Weblogic 10.3).
[09:16:31 AM] Running dependency analysis...
[09:16:31 AM] Deploying profile...
[09:16:31 AM] ####  Deployment incomplete.  ####
[09:16:31 AM] == ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)
where do i find metadata from the namespace which is included in the MAR.
am in jdeveloper 11.1.1.6.0 and my weblogic is 10.3.6.0


Edited by: adf009 on 2013/02/04 10:17 AM

Edited by: adf009 on 2013/02/04 10:23 AM
  • 1. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    Timo Hahn Oracle ACE
    Currently Being Moderated
    the error
    [09:18:45 AM] == ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)
    tell you that there is no web application found in your profile and that you can't deploy an app which doesn't include any app.

    Check your deployment descriptor assembly options that they have a war file (or deployment descriptor for a war). The it might help if you deploy to an ear instead of directly deploying to the server. This way you can examine the EAR file to find any errors.

    Timo
  • 2. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    adf009 Explorer
    Currently Being Moderated
    ok timo where must Check that my deployment descriptor assembly options they have a war file,this is how i did it click application->application properties->new under deployment->under create deployment profile i select EAR FILE IN ARCHIVE TYPE->OK
    to create weblogic-application must i click new->general->deployment decriptors->weblogic deployment descriptor->and click weblogic-application.xml.
    i did deploy to ear file but still geting the same error

    when i try using ear file in weblogic am geting this error
    i upload my earfile in weblogic when i click next after uploading am geting this error
    Unable to access the selected application.
    Message icon - Error Exception in AppMerge flows' progression
    Message icon - Error Exception in AppMerge flows' progression
    Message icon - Error Bean already exists: "weblogic.j2ee.descriptor.ModuleBeanImpl@6c97a978(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@6da6cece])"
    Message icon - Error Bean already exists: "weblogic.j2ee.descriptor.ModuleBeanImpl@6c97a978(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@6da6cece])
    
    {code}
    
    Edited by: adf009 on 2013/02/04 4:17 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
  • 3. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    Timo Hahn Oracle ACE
    Currently Being Moderated
    adf009, there is a whole chapter in the docs about this http://docs.oracle.com/cd/E23943_01/web.1111/e16272/deploy_java_ee_app.htm and http://lmgtfy.com/?q=deploying+an+adf+application+11.1.1.6.0
    should help you to uderstand what to do.

    Timo
  • 4. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    adf009 Explorer
    Currently Being Moderated
    ok i fix that error,i was able to installed my ear file
    now am geting this error
    An error occurred during activation of changes, please see the log for details.
    Message icon - Error [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].
    Message icon - Success The deployment has been successfully installed.
  • 5. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    Timo Hahn Oracle ACE
    Currently Being Moderated
    The error tells me that the manages server (or admin server) you are deploying to doesn't have the adf runtime installed.

    Timo
  • 6. Re: WebCenterFileMetadataStore' in adf-config.xml but no metadata from the name
    adf009 Explorer
    Currently Being Moderated
    i did installruntime how do i check if i install runtime,i just what to make sure,but i did install in my C:\Oracle\weblogic10.3.6.0

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points