javax.naming.NoInitialContextException

Cannot instantiate >>>>>>>>>>> class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: >>>>>>>>>>> org.jnp.interfaces.NamingContextFactory] at >>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext.<init>(InitialContext.java:197) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.getSipActionBean(TESTSipServlet.java:238) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doSuccessResponse(TESTSipServlet.java:180) at >>>>>>>>>>> javax.servlet.sip.SipServlet.doResponse(SipServlet.java:268) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doResponse(TESTSipServlet.java:147) at >>>>>>>>>>> javax.servlet.sip.SipServlet.service(SipServlet.java:327) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:281) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.ResponseDispatcher$1.dispatch(ResponseDispatcher.java:297) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:55) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:50) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1225

  • via Google Groups by Roberto, 11 months ago
    >>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext
  • via sourceforge.net by Unknown author, 1 year ago
    Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at
  • Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] null at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674 ) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
  • Stack trace

    • javax.naming.NoInitialContextException: Cannot instantiate >>>>>>>>>>> class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: >>>>>>>>>>> org.jnp.interfaces.NamingContextFactory] at >>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext.<init>(InitialContext.java:197) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.getSipActionBean(TESTSipServlet.java:238) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doSuccessResponse(TESTSipServlet.java:180) at >>>>>>>>>>> javax.servlet.sip.SipServlet.doResponse(SipServlet.java:268) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doResponse(TESTSipServlet.java:147) at >>>>>>>>>>> javax.servlet.sip.SipServlet.service(SipServlet.java:327) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:281) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.ResponseDispatcher$1.dispatch(ResponseDispatcher.java:297) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:55) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:50) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.