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.

  • Re: Jetty configuration problem
    via by Vincenzo Laudizio,
  • Re: Jetty configuration problem
    via by Vincenzo Laudizio,
  • MC4J JMX Console / Mailing Lists
    via by Unknown author,
    • javax.naming.NoInitialContextException: Cannot instantiate class: org.eclipse.jetty.jndi.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.eclipse.jetty.jndi.InitialContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)[:1.6.0_37] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)[:1.6.0_37] at javax.naming.InitialContext.init(InitialContext.java:223)[:1.6.0_37] at javax.naming.InitialContext.<init>(InitialContext.java:175)[:1.6.0_37] at org.eclipse.jetty.server.session.JDBCSessionIdManager.initializeDatabase(JDBCSessionIdManager.java:459)[107:org.eclipse.jetty.server:7.4.5.v20110725] at org.eclipse.jetty.server.session.JDBCSessionIdManager.doStart(JDBCSessionIdManager.java:407)[107:org.eclipse.jetty.server:7.4.5.v20110725] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)[119:org.eclipse.jetty.util:7.4.5.v20110725] at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41)[119:org.eclipse.jetty.util:7.4.5.v20110725] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50)[107:org.eclipse.jetty.server:7.4.5.v20110725] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)[107:org.eclipse.jetty.server:7.4.5.v20110725] at org.eclipse.jetty.server.Server.doStart(Server.java:258)[107:org.eclipse.jetty.server:7.4.5.v20110725] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)[119:org.eclipse.jetty.util:7.4.5.v20110725] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:98)[122:org.ops4j.pax.web.pax-web-jetty:1.0.7] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.java:356)[122:org.ops4j.pax.web.pax-web-jetty:1.0.7] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:67)[122:org.ops4j.pax.web.pax-web-jetty:1.0.7] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Unconfigured.configure(ServerControllerImpl.java:510)[122:org.ops4j.pax.web.pax-web-jetty:1.0.7] at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:84)[122:org.ops4j.pax.web.pax-web-jetty:1.0.7] at org.ops4j.pax.web.service.internal.Activator$2.updated(Activator.java:150)[124:org.ops4j.pax.web.pax-web-runtime:1.0.7] at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8] at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8] at java.lang.Thread.run(Thread.java:662)[:1.6.0_37]
    No Bugmate found.