javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS

Oracle Community | 924141 | 4 years ago
  1. 0

    Using Application Module outside ADF Application context

    Oracle Community | 4 years ago | 924141
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS
  2. 0

    Problem with ADF BC 11G and datasource : javax.naming.NameNotFoundException

    Oracle Community | 6 years ago | 290440
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/datasource
  3. 0
    Make sure you use the same name for your database everywhere in context.xml.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Add localDataSource="true" to the realm when using local database.
  6. 0

    Accessing connection pools

    Oracle Community | 1 decade ago | 3004
    javax.naming.NameNotFoundException: Could not locate resource-ref jdbc/mydbpool in application environment and no resource-description given to m p res-ref-name to global environment.]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      DataSourceContext could not locate a DataSource for the name: jdbc/localDbDS

      at oracle.jbo.server.DataSourceContext.lookup()
    2. oracle.jbo.server
      DataSourceContext.lookup
      1. oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
      1 frame
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    4. oracle.jbo.server
      DBTransactionImpl.lookupDataSource
      1. oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1462)
      1 frame