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 | 1 decade ago
  1. 0

    Calling a method from a separte application?

    Coderanch | 1 decade 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

    Advice Client problem

    Coderanch | 1 decade ago | Angus Rose
    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

    Following HFEJB example app step by step, and getting a NoInitialContextException?

    Coderanch | 1 decade ago | Marcelo Ortega
    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. andyglick 1 times, last 3 weeks ago
  2. Kawada 18 times, last 7 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