Forum Stats

  • 3,734,729 Users
  • 2,247,033 Discussions
  • 7,857,473 Comments

Discussions

MDS error when Running Application Module

User_Q9TKT
User_Q9TKT Member Posts: 48 Red Ribbon
edited Aug 3, 2020 2:57AM in JDeveloper and ADF

I am getting the following error when I attempt to Run Application Module and Business Component Browser does not come up:

Note: The application as well this AM and its VOs work fine, the problem is only when I try to Run the AM to launch Business Component Browser

I am using JDeveloper 12.2.1.3.0

WARNING: MDS-01367: Failed to create PConfig. Invalid MDS configuration specified in: "MAR_TargetRepos"

  • oracle.mds.persistence.MDSIOException: MDS-00929: unable to look up name "jdbc/mds/MY_MDS" in JNDI context  
  1. javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial

                at oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl.inititializeDataSoureForNonMT(JNDIConnectionManagerImpl.java:383)

                at oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl.initializeDataSources(JNDIConnectionManagerImpl.java:347)

                at oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl.init(JNDIConnectionManagerImpl.java:178)

                at oracle.mds.internal.persistence.db.ConnectionManagerFactory.createConnectionManager(ConnectionManagerFactory.java:72)

                at oracle.mds.internal.persistence.db.DBStoreUtils.getConnectionManager(DBStoreUtils.java:645)

                at oracle.mds.persistence.stores.db.DBMetadataStore.checkRepositoryCompatibility(DBMetadataStore.java:1154)

                at oracle.mds.persistence.stores.db.DBMetadataStore.checkCompatibility(DBMetadataStore.java:1539)

                at oracle.mds.persistence.stores.db.DBMetadataStore.<init>(DBMetadataStore.java:430)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at oracle.mds.persistence.MetadataStore.create(MetadataStore.java:350)

                at oracle.mds.persistence.MetadataStore.create(MetadataStore.java:237)

                at oracle.mds.persistence.MetadataStore.create(MetadataStore.java:206)

                at oracle.mds.config.PConfig.getMetadataStore(PConfig.java:2179)

                at oracle.mds.config.PConfig.getStoreForStoreUsage(PConfig.java:2123)

                at oracle.mds.config.PConfig.loadFromBean(PConfig.java:1047)

                at oracle.mds.config.PConfig.<init>(PConfig.java:892)

                at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:1288)

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "MAR_TargetRepos" is invalid.  

MDS-00929: unable to look up name "jdbc/mds/MY_MDS" in JNDI context

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,089 Red Diamond
    edited Aug 2, 2020 7:01AM

    First of all, I only see a warning, not an error.

    Does the application run ok?

    MDS-00929: unable to look up name "jdbc/mds/MY_MDS" in JNDI context

    Tells you that a jdbc connection needed for the mds stuff has not been defined in the server.

    Timo


  • User_Q9TKT
    User_Q9TKT Member Posts: 48 Red Ribbon
    edited Aug 2, 2020 4:54PM

    I am trying to bring up the ADF Model Tester by clicking Run on the context menu of an Application Module.  The model tester does not come up and instead I get the exception I posted in my earlier post on this thread.  I am, however, able to run my application (i.e., run Dashboard.jspx) and successfully navigate to pages that make use of VOs from this same AM.

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,089 Red Diamond
    edited Aug 3, 2020 2:57AM

    Does your app use MDS?

    Do you see this behavior with other apps too?

    Have you tried to create a new app and test it with the new app?

    Timo


Sign In or Register to comment.