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

Coderanch | Timothy Sam | 10 years ago
  1. 0

    Calling a method from a separte application?

    Coderanch | 10 years ago | Timothy Sam
    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

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

    Help Reqd with First EJB development using RAD6.0

    Coderanch | 1 decade ago | Deep Chand
    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

    Caused by: javax.naming.NoInitialContextException using jre 1.7.45

    Stack Overflow | 3 years ago | java1977
    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

    jboss ejb-client exmaple: Exception in thread "main" javax.naming.NoInitialContextException:

    Stack Overflow | 3 years ago | vicky
    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. Kawada 18 times, last 6 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(Unknown Source)
    2. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    4. javax.naming.InitialContext.lookup(Unknown Source)
    4 frames
  3. dk.zmag.http
    DailyUpdate.main
    1. dk.zmag.http.dao.ConnectionPoolManager.getConnectionFromPool(ConnectionPoolManager.java:43)
    2. dk.zmag.http.dao.DAOEssentials.acquireConnection(DAOEssentials.java:19)
    3. dk.zmag.http.dao.mysql.MySQLMagazineDAO.selectAllMagazineFromDB(MySQLMagazineDAO.java:251)
    4. dk.zmag.http.process.DailyUpdate.makeUpdate(DailyUpdate.java:45)
    5. dk.zmag.http.process.DailyUpdate.main(DailyUpdate.java:95)
    5 frames