javax.naming.NoInitialContextException

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.

  • Jetty - Java HTTP Servlet Server / Mailing Lists
    via by Unknown author,
  • EJB Woes
    via by kevin wright,
  • Hibernate Mapping issue :"Unknown entity"
    via by Unknown author,
    • 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(NamingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.mortbay.jetty.plus.webapp.EnvConfiguration.createEnvContext(EnvConfiguration.java:54) at org.mortbay.jetty.plus.webapp.EnvConfiguration.configureWebApp(EnvConfiguration.java:107) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1091) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:387) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:437) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:118) at org.mortbay.jetty.Server.doStart(Server.java:213) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mortbay.start.Main.invokeMain(Main.java:184) at org.mortbay.start.Main.start(Main.java:498) at org.mortbay.start.Main.main(Main.java:116)

    Users with the same issue

    ivanszkypeter
    2 times, last one,
    Andreas Häber
    2 times, last one,
    marcbouvierdav
    6 times, last one,
    andyglick
    1 times, last one,
    Unknown visitor2 times, last one,
    52 more bugmates