javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: java.naming.factory.initial

Oracle Community | 807581 | 1 decade 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

    Initial Context Error

    Oracle Community | 1 decade ago | 807581
    javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: java.naming.factory.initial
  2. 0

    Client does not run - NoInitialContextException !

    Coderanch | 1 decade ago | Loukas G
    javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: java.naming.factory.initial
  3. 0

    Need Help with JNDI

    Oracle Community | 1 decade ago | 843830
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem in creating a new Standalone client

    Oracle Community | 1 decade ago | 807581
    javax.naming.NoInitialContextException: Need to specify class name in environme t or system property, or as an applet parameter, or in an application resource ile: java.naming.factory.initial
  6. 0

    error while running client in EJB

    Coderanch | 1 decade ago | james edwin
    javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: java.naming.factory.initial

  1. Andreas Häber 2 times, last 6 days ago
  2. marcbouvierdav 6 times, last 2 weeks ago
  3. andyglick 1 times, last 4 months ago
  4. Kawada 18 times, last 10 months ago
29 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.NoInitialContextException

    Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: java.naming.factory.initial

    at javax.naming.spi.NamingManager.getInitialContext()
  2. Java RT
    InitialContext.lookup
    1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
    4. javax.naming.InitialContext.lookup(InitialContext.java:347)
    4 frames
  3. Unknown
    AdviceClient.main
    1. AdviceClient.go(AdviceClient.java:20)
    2. AdviceClient.main(AdviceClient.java:11)
    2 frames