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 javax.naming.spi.NamingManager.getInitialContext(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

ibm.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IBM PM87604: MISSING JNDI FEATURE DIAGNOSTIC IMPROVEMENT - United States

    ibm.com | 9 months ago
    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 javax.naming.spi.NamingManager.getInitialContext(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

    Root Cause Analysis

    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 javax.naming.spi.NamingManager.getInitialContext(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

      at b.main()
    2. Unknown
      b.main
      1. b.main(b.java:3)
      1 frame