2 Replies Latest reply on Oct 13, 2011 11:33 AM by 721127

    (oracle.jbo.ConfigException) JBO-33001: Configuration file /tester.xcfg is

    884619
      Hi,
      While Running AppModule of Model project I am getting in following error in swing window

      (oracle.jbo.ConfigException) JBO-33001: Configuration file /tester.xcfg is not found in the classpath.

      and following are the stacktrace

      Aug 25, 2011 8:24:51 PM oracle.adf.share.ADFContext getCurrent
      WARNING: Automatically initializing a DefaultContext for getCurrent.
      Caller should ensure that a DefaultContext is proper for this use.
      Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
      This message may be avoided by performing initADFContext before using getCurrent().
      To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
      Aug 25, 2011 8:24:54 PM oracle.adf.share.config.ADFMDSConfig createMDSInstanceFromelement
      SEVERE: MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document
      MDS-01329: unable to load element "persistence-config"
      MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
      MDS-01368: Variable "oracle.home" used in configuration document is not defined either as system property or as envrionment variable.

      oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
      MDS-01329: unable to load element "persistence-config"
      MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
      MDS-01368: Variable "oracle.home" used in configuration document is not defined either as system property or as envrionment variable.

           at oracle.mds.config.PConfig.loadFromBean(PConfig.java:690)
           at oracle.mds.config.PConfig.<init>(PConfig.java:499)
           at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:707)
           at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:764)
           at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:420)
           at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2055)
           at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1197)
           at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:580)
           at oracle.adf.share.config.ADFMDSConfig.createMDSInstanceFromelement(ADFMDSConfig.java:243)
           at oracle.adf.share.config.MDSConfigFactory.createApplication(MDSConfigFactory.java:123)
           at oracle.adf.share.config.ADFConfigFactory.findOrCreateADFConfig(ADFConfigFactory.java:143)
           at oracle.adf.share.config.ADFConfigFactory.findOrCreateADFConfig(ADFConfigFactory.java:79)
           at oracle.adf.share.config.ADFConfigFactory.findOrCreateADFConfig(ADFConfigFactory.java:57)
           at oracle.adf.share.ADFContext.getADFConfigEx(ADFContext.java:865)
           at oracle.adf.share.ADFContext.getADFConfig(ADFContext.java:712)
           at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:50)
           at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1541)
           at oracle.adf.share.jndi.MDSBackingStore.getMDSSession(MDSBackingStore.java:359)
           at oracle.adf.share.jndi.MDSBackingStore.isReadOnlyMDSStore(MDSBackingStore.java:181)
           at oracle.adf.share.jndi.MDSBackingStore.<init>(MDSBackingStore.java:141)
           at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:442)
           at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:622)
           at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
           at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
      Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
      MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
      MDS-01368: Variable "oracle.home" used in configuration document is not defined either as system property or as envrionment variable.

           at oracle.mds.config.PConfig.loadFromBean(PConfig.java:684)
           ... 23 more
      Aug 25, 2011 8:24:54 PM oracle.adf.share.config.MDSConfigFactory createApplication
      INFO:
        • 1. Re: (oracle.jbo.ConfigException) JBO-33001: Configuration file /tester.xcfg is
          vinod_t_krishnan
          can u remove this entry form your adf-config.xml - {yourApplication}/.adf/META-INF
          this will be inside - <mds:mds-config>
           <mds:persistence-config>
                  <mds:metadata-namespaces>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/adf/share/prefs"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/lifecycle/importexport"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/lock"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/rc"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/persdef/"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/shared/oracle/wcps"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/search/scopedMD"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/doclib/scopedMD"/>
                    <mds:namespace metadata-store-usage="WebCenterFileMetadataStore"
                                   path="/oracle/webcenter/lifecycle"/>
                  </mds:metadata-namespaces>
                  <mds:metadata-store-usages>
                    <mds:metadata-store-usage default-cust-store="true"
                                              deploy-target="true"
                                              id="WebCenterFileMetadataStore">
                      <mds:metadata-store class-name="oracle.mds.dt.persistence.stores.file.SrcControlFileMetadataStore">
                        <mds:property value="mds-SpacesDS" name="repository-name"/>
                        <mds:property value="nbp" name="partition-name"/>
                        <mds:property value="jdbc/mds/SpacesDS" name="jndi-datasource"/>
                      </mds:metadata-store>
                    </mds:metadata-store-usage>
                  </mds:metadata-store-usages>
                </mds:persistence-config>
          1 person found this helpful
          • 2. Re: (oracle.jbo.ConfigException) JBO-33001: Configuration file /tester.xcfg is
            721127
            Hi,
            Thanks a lot for this answer. I had the same problem and it got fixed. Could you also explain what exactly was the significance of removing this entry ?