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

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

    Regarding Stateless Session Bean

    Oracle Community | 1 decade ago | 807595
    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
  2. 0

    Regarding Stateless Session Bean

    Oracle Community | 1 decade ago | 807595
    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
  3. 0

    Problem with JNDI lookup

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

    JNDI problem with Sun J2EE SavingsAccountBean Tutorial

    Oracle Community | 1 decade ago | 843793
    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
  6. 0

    JMS: simple program (urgent please)

    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

  1. Andreas Häber 2 times, last 1 week ago
  2. marcbouvierdav 6 times, last 2 weeks ago
  3. andyglick 1 times, last 4 months ago
  4. Kawada 18 times, last 11 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 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()
  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. stateless
    DisplayClient.main
    1. stateless.DisplayClient.main(DisplayClient.java:35)
    1 frame