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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Calling a method from a separte application?
    via by Timothy Sam,
  • error while running client in EJB
    via by james edwin,
  • Advice Client problem
    via by Angus Rose,
  • Starting EJB..JNDI exception
    via by Chinmay Bajikar,
  • AdviceClient and JNDI
    via by Richard Stigter,
  • j2ee 1.3 and Head First book
    via by Deep Chand,
  • Error running AdviceClient
    via by Sean Hetfield,
    • 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(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at dk.zmag.http.dao.ConnectionPoolManager.getConnectionFromPool(ConnectionPoolManager.java:43) at dk.zmag.http.dao.DAOEssentials.acquireConnection(DAOEssentials.java:19) at dk.zmag.http.dao.mysql.MySQLMagazineDAO.selectAllMagazineFromDB(MySQLMagazineDAO.java:251) at dk.zmag.http.process.DailyUpdate.makeUpdate(DailyUpdate.java:45) at dk.zmag.http.process.DailyUpdate.main(DailyUpdate.java:95)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    52 more bugmates