javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads

Oracle Community | 439806 | 9 years ago
  1. 0

    Sporadic JBO-27200 JNDI failure Exceptions

    Oracle Community | 9 years ago | 439806
    javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
  2. 0

    Sporadic JBO-27200 JNDI failure Exceptions

    Oracle Community | 9 years ago | 439806
    javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
  3. 0

    JCA Activation Agent was unable prepare delivery of inbound message to BPEL

    Oracle Community | 9 years ago | 628454
    javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bpel mail authentication missing ns_emails.xml config

    Oracle Community | 8 years ago | 624383
    javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
  6. 0

    Quartz in OC4J: javax.naming.NamingException

    Oracle Community | 1 decade ago | 485040
    javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads

    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.NamingException

      Not in an application scope - start OC4J with the -userThreads switch if using user-created threads

      at com.evermind.server.PreemptiveApplicationContext.getContext()
    2. com.evermind.server
      PreemptiveApplicationContext.getContext
      1. com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java:30)
      1 frame
    3. com.evermind.naming
      FilterContext.lookup
      1. com.evermind.naming.FilterContext.lookup(FilterContext.java:126)
      1 frame
    4. com.evermind.server
      PreemptiveApplicationContext.lookup
      1. com.evermind.server.PreemptiveApplicationContext.lookup(PreemptiveApplicationContext.java:42)
      1 frame
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    6. oracle.jbo.server
      DBTransactionImpl.getPersistManagerConnection
      1. oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1434)
      2. oracle.jbo.server.DBTransactionImpl.getInternalConnection(DBTransactionImpl.java:1398)
      3. oracle.jbo.server.DBTransactionImpl.getPersistManagerConnection(DBTransactionImpl.java:1300)
      3 frames
    7. oracle.jbo.pcoll
      PCollManager.createCollection
      1. oracle.jbo.pcoll.PCollManager.ensureConnection(PCollManager.java:489)
      2. oracle.jbo.pcoll.OraclePersistManager.getConnection(OraclePersistManager.java:148)
      3. oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1448)
      4. oracle.jbo.pcoll.PCollManager.register(PCollManager.java:566)
      5. oracle.jbo.pcoll.PCollection.<init>(PCollection.java:103)
      6. oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:464)
      6 frames
    8. oracle.jbo.server
      ApplicationModuleImpl.doPoolMessage
      1. oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)
      2. oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)
      3. oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
      4. oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5303)
      5. oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5195)
      6. oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:308)
      7. oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)
      7 frames
    9. oracle.jbo.common
      ApplicationPoolImpl.finalizeResource
      1. oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
      2. oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1239)
      3. oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1156)
      3 frames
    10. oracle.jbo.pool
      ResourcePoolMonitor.run
      1. oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:749)
      2. oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1004)
      3. oracle.jbo.pool.ResourcePool.gc(ResourcePool.java:1423)
      4. oracle.jbo.pool.ResourcePool.wakeup(ResourcePool.java:774)
      5. oracle.jbo.pool.ResourcePool.wakeup(ResourcePool.java:779)
      6. oracle.jbo.pool.ResourcePoolMonitor.run(ResourcePoolMonitor.java:98)
      6 frames
    11. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames