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 | schnudl | 6 years 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

    lookup of a sateless remote bean using Glassfish 3

    Oracle Community | 6 years ago | schnudl
    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

    lookup of a sateless remote bean using Glassfish 3

    Oracle Community | 6 years ago | schnudl
    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

    howto use JNDI datasource with TopLink JPA in a... | Oracle Community

    oracle.com | 2 years 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NameNotFoundException: DefaultDS not bound - En... | JBoss Developer

    jboss.org | 1 year 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
  6. 0

    java.naming.factory.initial Problem | Oracle Community

    oracle.com | 1 year 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

  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:645)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
    4. javax.naming.InitialContext.lookup(InitialContext.java:392)
    4 frames
  3. ejbtest
    Main.main
    1. ejbtest.Main.main(Main.java:45)
    1 frame