java.lang.NoClassDefFoundError: javax/naming/InitialContext

Oracle Community | 920396 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OAM 11G Custom Plugin Cannot Get InitialContext

    Oracle Community | 5 years ago | 920396
    java.lang.NoClassDefFoundError: javax/naming/InitialContext

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/naming/InitialContext

      at extensibility.plugins.BloombaseAuthPlugin.createAuditTrail()
    2. extensibility.plugins
      BloombaseAuthPlugin.process
      1. extensibility.plugins.BloombaseAuthPlugin.createAuditTrail(BloombaseAuthPlugin.java:519)
      2. extensibility.plugins.BloombaseAuthPlugin.process(BloombaseAuthPlugin.java:205)
      2 frames
    3. oracle.security.am
      AMServlet.doPost
      1. oracle.security.am.engine.authn.internal.executor.PlugInExecutor.execute(PlugInExecutor.java:170)
      2. oracle.security.am.engine.authn.internal.executor.AuthenticationSchemeExecutor.execute(AuthenticationSchemeExecutor.java:96)
      3. oracle.security.am.engine.authn.internal.controller.AuthenticationEngineControllerImpl.validateUser(AuthenticationEngineControllerImpl.java:261)
      4. oracle.security.am.engines.enginecontroller.AuthnEngineController.authenticateUser(AuthnEngineController.java:669)
      5. oracle.security.am.engines.enginecontroller.AuthnEngineController.processEvent(AuthnEngineController.java:294)
      6. oracle.security.am.controller.MasterController.processEvent(MasterController.java:354)
      7. oracle.security.am.controller.MasterController.processRequest(MasterController.java:517)
      8. oracle.security.am.controller.MasterController.process(MasterController.java:457)
      9. oracle.security.am.pbl.PBLFlowManager.delegateToMasterController(PBLFlowManager.java:209)
      10. oracle.security.am.pbl.PBLFlowManager.handleBaseEvent(PBLFlowManager.java:147)
      11. oracle.security.am.pbl.PBLFlowManager.processRequest(PBLFlowManager.java:107)
      12. oracle.security.am.pbl.transport.http.AMServlet.handleRequest(AMServlet.java:168)
      13. oracle.security.am.pbl.transport.http.AMServlet.doPost(AMServlet.java:133)
      13 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    6. oracle.security.am
      OAMValidationSystemFilter.doFilter
      1. oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
      2. oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
      2 frames
    7. oracle.security.wls
      OAMAgentWrapperFilter.doFilter
      1. oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
      1 frame
    8. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    9. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    10. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    11. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    12. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      3 frames
    13. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    14. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    15. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      3 frames
    16. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      2 frames