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

hivmr.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

    db:: 4.44::[J2EE:160048]JNDI lookup of the JMS connection factory mp

    hivmr.com | 9 months ago
    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

    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
  3. 0

    JDBC runtime error using data source (Oracle 9i server & Oracle 8i client)

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

    Automated exception search integrated into your IDE

  5. 0

    JDBC runtime error (Oracle 9i server and oracle 8i client)

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

  1. Andreas Häber 2 times, last 2 weeks 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 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:643)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:283)
    4. javax.naming.InitialContext.lookup(InitialContext.java:350)
    4 frames
  3. Unknown
    SimpleTopicPublisher.main
    1. SimpleTopicPublisher.main(SimpleTopicPublisher.java:60)
    1 frame