javax.naming.NamingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Sporadic JBO-27200 JNDI failure Exceptions
    via by 439806,
  • Sporadic JBO-27200 JNDI failure Exceptions
    via by 439806,
  • db:: 3.45::java:comp/UserTransaction not bound jm
    via by Unknown author,
  • UserTransaction lookup from servlet
    via by 423018,
  • Issues in getting Real Time data in BAM
    via by 608659,
  • cannot deploy on 10.1.3 - MBeanServer
    via by 391086,
  • urget !  naming Exception
    via by 843793,
    • 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(PreemptiveApplicationContext.java:30) at com.evermind.naming.FilterContext.lookup(FilterContext.java:126) at com.evermind.server.PreemptiveApplicationContext.lookup(PreemptiveApplicationContext.java:42) at javax.naming.InitialContext.lookup(InitialContext.java:351) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1434) at oracle.jbo.server.DBTransactionImpl.getInternalConnection(DBTransactionImpl.java:1398) at oracle.jbo.server.DBTransactionImpl.getPersistManagerConnection(DBTransactionImpl.java:1300) at oracle.jbo.pcoll.PCollManager.ensureConnection(PCollManager.java:489) at oracle.jbo.pcoll.OraclePersistManager.getConnection(OraclePersistManager.java:148) at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1448) at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:566) at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:103) at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:464) at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153) at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286) at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267) at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5303) at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5195) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:308) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1239) at oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1156) at oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:749) at oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1004) at oracle.jbo.pool.ResourcePool.gc(ResourcePool.java:1423) at oracle.jbo.pool.ResourcePool.wakeup(ResourcePool.java:774) at oracle.jbo.pool.ResourcePool.wakeup(ResourcePool.java:779) at oracle.jbo.pool.ResourcePoolMonitor.run(ResourcePoolMonitor.java:98) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
    No Bugmate found.